in emacs 23 on Windows, if i choose menu Options, Set Default Fonts, then choose say Lucida Sans Unicode, then i choose Options, Save Options, then emacs will show
Saving file c:/Users/xah/.emacs...
However, the .emacs file shows nothing about setting a font. Upon restart, emacs revert to whatever font it was using.
Is this a bug? How to set it permanently?
This is GNU Emacs 188.8.131.52 (i386-mingw-nt6.0.6002) of 2009-06-30 on LENNART-69DE564 (patched)
Same behavior with emacs -Q on FSF distributed emacs for Windows binary.
Same happens with emacs 23 compiled on the Mac.
haven't looked into detail, but it appears if you run customize-group
on something, and click Save For Future Sessions, then the font do get
saved. (i happened to be using customize-group on whitespace-mode, and
noticed afterwards that i had font in my .emacs's custom-set-faces.