From: Tim Haynes <usenet@stirfried.vegetable.org.uk>
Subject: Re: multiple/alternate .emacs
Date: Thu, 05 Dec 2002 15:53:00 +0000 [thread overview]
Message-ID: <86adjkh38j.fsf@potato.vegetable.org.uk> (raw)
In-Reply-To: mailman.1039101725.22928.help-gnu-emacs@gnu.org
"Bryan W. Lepore" <lepore@brandeis.edu> writes:
> is there a way to make emacs use alternate .emacs files? e.g. .emacs1,
> .emacs2, or is the .emacs required to be named only ".emacs"?
To what end would you want to do this?
~~~~
If it's one scenario I suspect, then you could consider a simple .emacs
that chooses which other files to load; something like, for example:
(if (string-match "XEmacs" (emacs-version)) ;choose config file to load
(load "~/.xemacsrc")
(load "~/.gnuemacs"))
and make sure that you assert
(setq custom-file "~/.gnuemacs")
as appropriate as well.
Multiple versions for different environments can also be handled very well
by CVS - I have the above, as you might have guessed, and I have multiple
branches in cvs for home, work, colo-server.
</spiel>
~Tim
--
The sun is melting over the hills, |piglet@stirfried.vegetable.org.uk
All our roads are waiting / To be revealed |http://spodzone.org.uk/
next parent reply other threads:[~2002-12-05 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1039101725.22928.help-gnu-emacs@gnu.org>
2002-12-05 15:53 ` Tim Haynes [this message]
2002-12-05 16:19 ` multiple/alternate .emacs Phillip Lord
2002-12-07 2:00 ` ken
2002-12-05 15:25 Bingham, Jay
-- strict thread matches above, loose matches on Subject: below --
2002-12-05 15:21 Bryan W. Lepore
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=86adjkh38j.fsf@potato.vegetable.org.uk \
--to=usenet@stirfried.vegetable.org.uk \
--cc=news_reply@stirfried.vegetable.org.uk \
/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.