all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Angeli <angeli@caeruleus.net>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [angeli@caeruleus.net: custom-set-variables overwritten bysafe-local-variables]
Date: Tue, 02 May 2006 22:10:11 +0200	[thread overview]
Message-ID: <87r73c428s.fsf@neutrino.caeruleus.net> (raw)
In-Reply-To: 25664.128.165.0.81.1146287440.squirrel@webmail.lanl.gov

* 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
> forgotten.

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
> problems...

Possibly.  For example the first line in my .emacs file is
(setq debug-on-error t)
and should stay like this. (c:

-- 
Ralf

  reply	other threads:[~2006-05-02 20:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28 15:45 [angeli@caeruleus.net: custom-set-variables overwritten by safe-local-variables] Richard Stallman
2006-04-29  5:10 ` [angeli@caeruleus.net: custom-set-variables overwritten bysafe-local-variables] Stuart D. Herring
2006-05-02 20:10   ` Ralf Angeli [this message]
2006-05-02 20:43   ` Chong Yidong
2006-05-02 20:58     ` Stuart D. Herring
2006-05-02 23:21       ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r73c428s.fsf@neutrino.caeruleus.net \
    --to=angeli@caeruleus.net \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.