all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'PJ Weisberg'" <pj@irregularexpressions.net>,
	"'Suvayu Ali'" <fatkasuvayu+linux@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: How to specify customized configuration file rather than"~/.emacs" ?
Date: Thu, 13 Sep 2012 09:04:28 -0700	[thread overview]
Message-ID: <E9C04748BBED41D5A0BE8B5884C3B1FF@us.oracle.com> (raw)
In-Reply-To: <CAJsNXTk3ncQJkhi2+Qu31PSvxb73jxiwwDOdESq0u1reXJ4_0A@mail.gmail.com>

> >   $ emacs -Q -l ~/special-config.el
> 
> You'll probably also want to put (setq user-init-file
> "~/special-config.el") in that file, or Emacs will refuse to save
> customizations

That's all well and good, but to me the simplest and long-standard approach is
simply to set option `custom-file' and load it from your ~/.emacs file (early or
late in the file, depending on what you want/need).

Dunno why anyone would let Customize diddle with their ~/.emacs.

The _default_ for Emacs should be for Customize to save customizations to a
reasonable default `custom-file', just like we do for bookmark files and all the
rest.  Whoever let Customize mess with ~/.emacs in the first place should long
ago have been sent back to GnuLand for regrooving. ;-)




  reply	other threads:[~2012-09-13 16:04 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       ` Drew Adams [this message]
2012-09-14 15:29 ` 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=E9C04748BBED41D5A0BE8B5884C3B1FF@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pj@irregularexpressions.net \
    /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.