From: Andreas Schwab <schwab@suse.de>
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>,
Emacs Devel <emacs-devel@gnu.org>
Subject: Re: [Fwd: Location of .emacs file under `su` and `su -`?]
Date: Tue, 22 Aug 2006 17:42:27 +0200 [thread overview]
Message-ID: <jeejv8ydy4.fsf@sykes.suse.de> (raw)
In-Reply-To: <874pw4u7dj.fsf@furball.mit.edu> (Chong Yidong's message of "Tue, 22 Aug 2006 11:18:00 -0400")
Chong Yidong <cyd@stupidchicken.com> writes:
> Yes. I'm not sure why. This contradicts the information in the Emacs
> manual, which says to use HOME. Anyway, this is trivial to fix. I'll
> check the following patch in over the next few days if no one objects.
>
> *** emacs/lisp/startup.el.~1.410.~ 2006-07-24 00:18:47.000000000 -0400
> --- emacs/lisp/startup.el 2006-08-22 11:14:56.000000000 -0400
> ***************
> *** 865,871 ****
> ((eq system-type 'vax-vms)
> "sys$login:.emacs")
> (t
> ! (concat "~" init-file-user "/.emacs")))))
> ;; This tells `load' to store the file name found
> ;; into user-init-file.
> (setq user-init-file t)
> --- 865,871 ----
> ((eq system-type 'vax-vms)
> "sys$login:.emacs")
> (t
> ! "~/.emacs"))))
> ;; This tells `load' to store the file name found
> ;; into user-init-file.
How does this preserve the functionality of `emacs --user foo'?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2006-08-22 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 12:12 [Fwd: Location of .emacs file under `su` and `su -`?] Lennart Borgman
2006-08-22 15:18 ` Chong Yidong
2006-08-22 15:42 ` Andreas Schwab [this message]
2006-08-22 18:17 ` Richard Stallman
2006-08-22 18:44 ` Chong Yidong
2006-08-23 4:06 ` Richard Stallman
2006-08-23 16:38 ` Chong Yidong
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=jeejv8ydy4.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman.073@student.lu.se \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).