unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kj <socyl@987jk.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: Inexplicable flaw: non-overridable .emacs
Date: Sat, 17 Mar 2007 13:43:58 +0000 (UTC)	[thread overview]
Message-ID: <etgrau$33h$1@reader2.panix.com> (raw)
In-Reply-To: mailman.972.1173989687.7795.help-gnu-emacs@gnu.org



In <mailman.972.1173989687.7795.help-gnu-emacs@gnu.org> Eli Zaretskii <eliz@gnu.org> writes:

>> From: kj <socyl@987jk.com.invalid>
>> Date: Thu, 15 Mar 2007 18:15:15 +0000 (UTC)
>> 
>> Please correct me if I'm wrong, it is my understanding that one
>> cannot use a command-line switch to tell emacs to read a config
>> file *other* than the standard ~/.emacs.

>You are only partly wrong: Emacs has a --load command-line switch that
>would load any file you name.  But such loading is not 100% equivalent
>to how Emacs loads a .emacs file, because .emacs is read at a certain
>point during the Emacs session startup, while files given via --load
>are read at a different point.  So the effects could be subtly
>different, especially with respect to display setup.

That's good to know, thanks, but, again, I'm puzzled: why would
Emacs treat ~/.emacs differently from a user-specified alternative?
It seems perversely unaccommodating on Emacs' part (even if only
in a passive-agressive sort of way :)  )

>Could you please tell why you don't want to have a .emacs file?

Nothing against an .emacs file, but occasionally I want to run
Emacs with a drastically different set of customizations from what's
in my .emacs file.  Since a lot of these customizations pertain
display, I need to do some experimentation to determine whether
the --load option will do what I need. 

kj
-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.

  parent reply	other threads:[~2007-03-17 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 18:15 Inexplicable flaw: non-overridable .emacs kj
2007-03-15 18:24 ` David Kastrup
2007-03-15 19:08 ` Maarten Bergvelt
2007-03-15 20:14 ` Eli Zaretskii
     [not found] ` <mailman.972.1173989687.7795.help-gnu-emacs@gnu.org>
2007-03-17 13:43   ` kj [this message]
2007-03-17 13:54     ` Joost Kremers
2007-03-17 15:11     ` Kevin Rodgers
2007-03-17 15:43     ` David Hansen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='etgrau$33h$1@reader2.panix.com' \
    --to=socyl@987jk.com.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).