From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: Customize custom-file is not useful as it works now
Date: Sun, 5 Dec 2004 18:24:25 +0100 [thread overview]
Message-ID: <00be01c4daef$5c11b600$0200a8c0@sedrcw11488> (raw)
In-Reply-To: E1CaxXH-00013j-2X@fencepost.gnu.org
----- Original Message -----
From: "Richard Stallman" <rms@gnu.org>
> What is needed is an entry in .emacs like (setq custom-file
".custom").
>
> That isn't enough, is it? To make the settings take effect, the user
> has to load the file which is specified as custom-file. But I hesitate
> to recommend editing .emacs automatically to do this, since one of the
> reasons people want to use a separate file is to avoid automatic editing
> of .emacs.
I have just learned that custom-file is loaded after .emacs by startup.el if
it was not loaded before.
The editing I proposed shows the old entry if any in .emacs marked and asks
the user whether to change it. It looks mostly like query replace, but with
some more marking. (Though I forgot to add a question when adding.) This
could all be made a bit nicer (it is just not quite finished yet) and I
realize that many would not want automatic editing of .emacs. And it is a
bit scary to do the editing too. However when the user is asked to accept
the change and clearly shown what will be done it might perhaps be accepted
by most users?
- Lennart
next prev parent reply other threads:[~2004-12-05 17:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-04 1:28 Customize custom-file is not useful as it works now Lennart Borgman
2004-12-04 23:32 ` Lennart Borgman
2004-12-05 14:38 ` Richard Stallman
2004-12-05 17:24 ` Lennart Borgman [this message]
2004-12-06 1:40 ` Richard Stallman
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='00be01c4daef$5c11b600$0200a8c0@sedrcw11488' \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@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.