On Thu, Feb 24, 2011 at 9:14 AM, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
Rodney Sparapani writes:
> Let me jump in. So, RHEL "helpfully" creates an .emacs for you
> automagically?!?
Hang on a sec. Are you sure there was a .emacs *before* you started
XEmacs? It's possible that there's a bug and XEmacs decides that a
non-existent file needs to be migrated or something silly like that.
It's also possible that RHEL's .emacs is a dummy file filled with
sample code that is commented out or something like that.
(Don't worry about it if you're not sure, Jerry probably knows.)
Yup. When a new user home dir is created, it is populated with the
dot files in /etc/skel. The .emacs in there has these contents:
;; .emacs
;;; uncomment this line to disable loading of "default.el" at startup
;; (setq inhibit-default-init t)
;; enable visual feedback on selections
;(setq transient-mark-mode t)
;; default to better frame titles
(setq frame-title-format
(concat "%b - emacs@" (system-name)))
;; default to unified diffs
(setq diff-switches "-u")
;; always end a file with a newline
;(setq require-final-newline 'query)
I didn't realize that there is also an /etc/skel/.xemacs/init.el,
probably because I immediately overwrote it with my own init.el. It
has these contents:
;;; ~/.xemacs/init.el
;;; uncomment this line to disable loading of "default.el" at startup
;(setq inhibit-default-init t)
I wondered whether there is something in my .xemacs/{custom,init}.el
that makes the font saving and loading work. So I moved my .xemacs
directory out of the way, started XEmacs, chose a lucidatypewriter
14-point font, saved settings, restarted XEmacs, and got the
lucidatypewriter 14-point font.
Since it works for me both with no .xemacs directory at all and with
my own customizations, but doesn't work for you either way, the
difference must be in our systems. What have you got in
/usr/share/xemacs/site-packages/lisp/site-start.d?
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta