From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: multiple Emacs versions on w32
Date: Thu, 16 Mar 2006 09:40:14 -0700 [thread overview]
Message-ID: <dvc4eo$1ta$1@sea.gmane.org> (raw)
In-Reply-To: <6942EE35B530F84EAD432959F5E4DAB501EADD1C@largo.campus.ncl.ac.uk>
Phillip Lord wrote:
> Eli Zaretskii wrote:
>>>From: "Phillip Lord" <Phillip.Lord@newcastle.ac.uk>
>>>Or alternatively you could use the emacs-version variable, and
>>>have your .emacs work appropriately. You'd need check that your
>>>`custom-file' is being set appropriately.
>>
>>But this won't solve the original problem, as I understand it: that
>>Emacs updates .emacs when you save certain settings. Setting
>>`custom-file' is not going to resolve this 100%, as some packages
>>write to .emacs.
>
> I agree. The disabled commands option writes to .emacs.
>
> If I may be so bold, I think that this is a problem with emacs.
> Really, all packages which write to somewhere should be configurable
> through a single variable.
diasable-command and enable-command write to user-init-file, if it
exists. If it doesn't exist, it writes to ~/.emacs.
So put this in ~/.emacs:
(or (file-exists-p (setq user-init-file
(expand-file-name (concat ".emacs-"
emacs-major-version)
"~")))
(setq user-init-file
(expand-file-name ".emacs-" "~")))
;;(setq custom-file user-init-file)
--
Kevin Rodgers
next prev parent reply other threads:[~2006-03-16 16:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-16 12:38 multiple Emacs versions on w32 Phillip Lord
2006-03-16 16:40 ` Kevin Rodgers [this message]
2006-03-17 10:36 ` Eli Zaretskii
[not found] ` <mailman.0.1142871972.6116.help-gnu-emacs@gnu.org>
2006-03-21 15:56 ` Phillip Lord
-- strict thread matches above, loose matches on Subject: below --
2006-03-20 16:44 Phillip Lord
2006-03-15 16:14 Phillip Lord
2006-03-15 16:54 ` Lennart Borgman
2006-03-15 19:31 ` Eli Zaretskii
2006-03-15 15:59 B. T. Raven
2006-03-15 19:27 ` Eli Zaretskii
2006-03-15 20:19 ` Peter Dyballa
[not found] ` <mailman.73.1142450879.9686.help-gnu-emacs@gnu.org>
2006-03-16 17:22 ` B. T. Raven
2006-03-17 11:22 ` Eli Zaretskii
[not found] ` <mailman.7.1142594542.3794.help-gnu-emacs@gnu.org>
2006-03-19 21:37 ` B. T. Raven
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dvc4eo$1ta$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).