all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Z C <zcnnbb@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to specify customized configuration file rather than "~/.emacs" ?
Date: Thu, 13 Sep 2012 19:42:59 +0530	[thread overview]
Message-ID: <87oblaxb84.fsf@gmail.com> (raw)
In-Reply-To: <CAD=SU=eEnjpQQ9rSQMzbrrhcqWNYYsPha5MVTsXreoC1MJqutw@mail.gmail.com> (Z. C.'s message of "Thu, 13 Sep 2012 21:43:45 +0800")

Z C <zcnnbb@gmail.com> writes:

> I just want emacs to load another file as the configuration file, and
> ignore the default file ("~/.emacs").
>
> Note that I don't want to change the original "~/.emacs" file.
>
> I've tried to change "$HOME" env variable, but it doesn't work.
>

Load emacs with custom options.

,----
| $ emacs --help | grep load
| 
| --no-desktop                do not load a saved desktop
| --no-init-file, -q          load neither ~/.emacs nor default.el
| --no-site-file              do not load site-start.el
| --user, -u USER             load ~USER/.emacs instead of your own
| --directory, -L DIR     add DIR to variable load-path
| --load, -l FILE         load Emacs Lisp FILE using the load function
`----

-- 



  parent reply	other threads:[~2012-09-13 14:12 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 [this message]
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   ` How to specify customized configuration file rather than"~/.emacs" ? Drew Adams
2012-09-15 14:05     ` 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=87oblaxb84.fsf@gmail.com \
    --to=kjambunathan@gmail.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.