all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Multiple .emacs files
Date: Tue, 12 Sep 2006 12:06:21 -0600	[thread overview]
Message-ID: <ee6t05$tro$1@sea.gmane.org> (raw)
In-Reply-To: <87irjton8r.fsf@lion.rapttech.com.au>

Tim X wrote:
> Mathias Dahl <brakjoller@gmail.com> writes:
> 
>> floyd@apaflo.com (Floyd L. Davidson) writes:
>>
>>>> I have played a bit with the -u option, but have yet to get it to work
>>>> with a config file named .emacsT
>>>    emacs -q -l ~/.emacsT
>> A bit of a warning: I think I saw someone mentioning that doing the
>> above was not exactly like switching your init file. What you do with
>> the above is turn init file loading off and at the same time telling
>> emacs to load another file. I am not sure but maybe things like
>> Customize might not work as you expect (not saving to the .emacsT
>> file).
>>
>> Someone who knows more can probably fill in here, or you can search
>> the archives.
>>
> 
> I have seen others report exactly this problem, so I think it is a
> real concern. In particular, you may find that when you go to save
> customize settings, it will fail or save it where you did not expect.
> There is a variable that customize uses which may get around this
> problem if you set it explicitly, but I seem to remember someone
> reporting problems getting this to work as desired/expected.

Two variables, actually: user-init-file and custom-file.  Even if there
are some lingering bugs, it would be a good idea to put something like
this as the the first form in Floyd's ~/.emacsT file:

(setq user-init-file load-file-name)

-- 
Kevin

  reply	other threads:[~2006-09-12 18:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6688.1157814085.9609.help-gnu-emacs@gnu.org>
2006-09-09 15:25 ` Multiple .emacs files Floyd L. Davidson
2006-09-11  6:29   ` Mathias Dahl
2006-09-11  7:55     ` Floyd L. Davidson
2006-09-12  2:03     ` Tim X
2006-09-12 18:06       ` Kevin Rodgers [this message]
     [not found]       ` <mailman.6827.1158084485.9609.help-gnu-emacs@gnu.org>
2006-09-12 18:29         ` Floyd L. Davidson
2006-09-09 15:01 Bill

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='ee6t05$tro$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.
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.