[Bug: 21.5-b29] Xemacs ignores custom.el

Jeff Sparkes jsparkes at gmail.com
Fri Mar 4 09:31:51 EST 2011


"Stephen J. Turnbull" <stephen at xemacs.org> writes:

> Jeff Sparkes writes:
>
>  > Odd, from my xemacs -q *scratch-buffer* on Ubuntu, with a build no
>  > more than two weeks old:
>  > 
>  >  emacs-version
>  > "21.5  (beta29) \"garbanzo\" 70b15ac66ee5+ XEmacs Lucid"
>  > custom-file
>  > nil
>
> You can't test it with -q.  custom-file is computed dynamically using
> `make-custom-file-name' (in lisp/cus-file.el) in `load-user-init-file'
> (in lisp/startup.el).  If you do -q, all that code is bypassed until
> you load the init files.

Damn that smart software!

>  > I've had it set to "~/.xemacs/custom.el" for years.  I think that should be
>  > the default
>
> It *is* the default.  See lisp/cus-file.el.

There must have been a time in the past 20 years when it wasn't true
for XEmacs. Guess I can remove that line of my init.el.
The other Emacs still doesn't have a default custom-file.

>
>  > so that customize doesn't mess with my ~/.xemacs/init.el
>
> It shouldn't.  If custom-file is nil, attempts to save customizations
> fail with "Wrong type argument: stringp, nil".  (Quick reading of the
> code, lightly tested, too.)

I remember when I first used customize it did that.  That must have been
in the 90's.

For the purposes of this thread, I was wondering the if the custom file
was being loaded at all.  Turns out that it was being loaded for Rodney.




More information about the XEmacs-Beta mailing list