From: "Drew Adams" <drew.adams@oracle.com>
Cc: Per Abrahamsen <abraham@dina.kvl.dk>, rms@gnu.org, emacs-devel@gnu.org
Subject: RE: Eliminating "changed in Emacs outside of Customize"
Date: Tue, 1 Feb 2005 13:05:09 -0800 [thread overview]
Message-ID: <FDELKNEBLPKKDCEBEJCBCEJACLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <x54qgwrovv.fsf@lola.goethe.zz>
> Of course the above problem will only happen if the (setq-default
> fill-column 42) happens to be executed after Helen's
> custom-set-variables (e.g. in a mode-hook or in one of the many
> poorly written major modes that happily mess up global variables).
Wrong. Customize does not touch variables that have been set outside
of it. Whether the set-default is executed before or after customize
initializes its variables does not matter. The only difference is
that if it is customized before, custom-set-variables will call the
:set function (after the fact), something which does not happen
otherwise.
Huh? What's the deal - do I have a different Emacs from everyone else? I'm
using vanilla Emacs from CVS of last July, so I probably do, but I wouldn't
expect this to be different. Did you actually prove the pudding by ta/esting
it?
I see exactly the behavior described by Per, Stefan, and myself - and I see
no pb with it (unlike Stefan and Per).
Following Stefan's directions, an initially empty .emacs ends up being this:
(setq-default fill-column 42)
(custom-set-variables
'(fill-column 75))
(custom-set-faces)
Upon restarting, fill-column is 75 and flagged "set and saved" in Customize.
If, as Stefan suggested, I place the (setq-default fill-column 42) after the
custom-set* stuff:
(custom-set-variables
'(fill-column 75))
(custom-set-faces)
(setq-default fill-column 42)
Then, upon restarting, fill-column is 42 and flagged "changed outside
Customize". So, I don't see why you say "Wrong...before or after...does not
matter."
And, if we erased the distinction between "set" and "changed outside", the
only difference (that I can see) would be that, in this last scenario,
fill-column is 42 and flagged "set".
- Drew
next prev parent reply other threads:[~2005-02-01 21:05 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 0:03 Eliminating "changed in Emacs outside of Customize" Richard Stallman
2005-01-31 10:33 ` Per Abrahamsen
2005-02-01 13:30 ` Richard Stallman
2005-02-01 14:32 ` Per Abrahamsen
2005-02-01 18:58 ` Drew Adams
2005-02-01 20:04 ` Stefan Monnier
2005-02-01 20:38 ` Drew Adams
2005-02-01 20:44 ` David Kastrup
2005-02-01 21:05 ` Drew Adams [this message]
2005-02-01 23:52 ` Robert J. Chassell
2005-02-01 21:19 ` Lennart Borgman
2005-02-01 21:35 ` David Kastrup
2005-02-01 22:11 ` Luc Teirlinck
2005-02-01 22:26 ` Lennart Borgman
2005-02-02 1:03 ` Luc Teirlinck
2005-02-02 1:34 ` Drew Adams
2005-02-02 2:11 ` Luc Teirlinck
2005-02-02 2:51 ` Luc Teirlinck
2005-02-03 6:40 ` Richard Stallman
2005-02-01 22:28 ` David Kastrup
2005-02-01 22:40 ` Drew Adams
2005-02-03 6:39 ` Richard Stallman
2005-02-03 7:29 ` Lennart Borgman
2005-02-05 5:27 ` Richard Stallman
2005-02-03 16:54 ` Drew Adams
2005-02-01 22:40 ` Drew Adams
2005-02-01 21:25 ` Lennart Borgman
2005-02-03 6:39 ` Richard Stallman
2005-02-02 7:57 ` Per Abrahamsen
2005-02-02 18:33 ` Drew Adams
2005-02-02 21:04 ` Lennart Borgman
2005-02-02 22:11 ` Drew Adams
2005-02-02 22:55 ` Stefan Monnier
2005-02-02 22:45 ` Luc Teirlinck
2005-02-03 15:49 ` Lennart Borgman
2005-02-03 16:12 ` Luc Teirlinck
2005-02-03 15:51 ` Lennart Borgman
2005-02-03 16:01 ` Lennart Borgman
2005-02-03 19:14 ` Richard Stallman
2005-02-04 7:27 ` Lennart Borgman
2005-02-03 19:12 ` Richard Stallman
2005-02-03 19:45 ` Stefan Monnier
2005-02-03 19:59 ` Lennart Borgman
2005-02-03 20:34 ` Stefan Monnier
2005-02-05 5:31 ` Richard Stallman
2005-02-03 20:53 ` Drew Adams
2005-02-03 22:08 ` Luc Teirlinck
2005-02-03 22:13 ` Luc Teirlinck
2005-02-04 1:04 ` Luc Teirlinck
2005-02-04 1:31 ` Luc Teirlinck
2005-02-04 3:16 ` Luc Teirlinck
2005-02-03 21:10 ` Robert J. Chassell
2005-02-03 6:39 ` Richard Stallman
2005-02-03 6:41 ` Richard Stallman
2005-02-03 14:42 ` Stefan Monnier
2005-02-03 15:23 ` Luc Teirlinck
2005-02-03 15:48 ` Luc Teirlinck
2005-02-01 15:41 ` Lennart Borgman
2005-02-02 7:40 ` Per Abrahamsen
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=FDELKNEBLPKKDCEBEJCBCEJACLAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=abraham@dina.kvl.dk \
--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.