[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: custom-set-variables overwritten bysafe-local-variab
Re: address@hidden: custom-set-variables overwritten bysafe-local-variables]
Tue, 02 May 2006 22:10:11 +0200
* Stuart D. Herring (2006-04-29) writes:
> Well, here's the problem -- the (todo-show) invokes the local-variables
> warning, before the `custom-set-variables' has taken place. This means
> that A) the safe-locals setting hasn't taken place yet, so the warning
> will always occur, and B) if the .emacs is modified by Custom (via the
> local-variables warning), the fill-column hasn't been set yet and will be
Oh, that's ugly.
> Simple workaround is to put (todo-show) after the `custom-set-variables'.
> Better yet, replace with (add-hook 'after-init-hook 'todo-show); .emacs
> isn't really supposed to be doing anything user-visible (like opening
> buffers), but it can arrange for it to happen later.
Thanks for the info. I informed the original reporter about it.
> I don't know that there's any way to "fix" this, except maybe to have
> Custom put its forms at the top of the .emacs. But that might cause other
Possibly. For example the first line in my .emacs file is
(setq debug-on-error t)
and should stay like this. (c:
- Re: address@hidden: custom-set-variables overwritten bysafe-local-variables],
Ralf Angeli <=