From: "Drew Adams" <drew.adams@oracle.com>
To: "'Z C'" <zcnnbb@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: How to specify customized configuration file rather than"~/.emacs" ?
Date: Fri, 14 Sep 2012 09:02:09 -0700 [thread overview]
Message-ID: <35CB8E5F809A4C17A05E8F1ADEA0146D@us.oracle.com> (raw)
In-Reply-To: <CAD=SU=fx9EfRmBfdUmGpUqMBj4uyexjT9eo2ef=bWOadiHgogg@mail.gmail.com>
> What I specifically need is that, let emacs treat another
> file as the "~/.emacs" file.
>
> This file should behaves EXACTLY as "~/.emacs" except that
> they have different file name.
>
> That means, if I click Options -> Save Options, emacs
> would write changes to this specific file.
No, the last two sentences do not say the same thing.
If you want what you say in the second sentence, then use option `custome-file',
as I said before. Then just put (load-file custom-file) in your .emacs.
This way, you still have your .emacs file for any non-Customize customizations
you might want to make. And you can choose at which point in your .emacs you
want to load the customizations provided by Customize, by placing (load-file
custom-file) wherever you want.
Please read the Emacs manual about `custom-file':
C-h r
i custom-file
next prev parent reply other threads:[~2012-09-14 16:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 13:43 How to specify customized configuration file rather than "~/.emacs" ? Z C
2012-09-13 14:03 ` Vineet Naik
2012-09-13 14:12 ` Jambunathan K
2012-09-13 14:38 ` Suvayu Ali
2012-09-13 15:27 ` PJ Weisberg
2012-09-13 16:04 ` How to specify customized configuration file rather than"~/.emacs" ? Drew Adams
2012-09-14 15:29 ` How to specify customized configuration file rather than "~/.emacs" ? Z C
2012-09-14 16:02 ` Drew Adams [this message]
2012-09-15 14:05 ` How to specify customized configuration file rather than"~/.emacs" ? Suvayu Ali
2012-09-14 20:01 ` How to specify customized configuration file rather than "~/.emacs" ? Peter Dyballa
[not found] <mailman.8775.1347543860.855.help-gnu-emacs@gnu.org>
2012-09-13 14:42 ` Pascal J. Bourguignon
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=35CB8E5F809A4C17A05E8F1ADEA0146D@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=zcnnbb@gmail.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.
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.