From: Adam Funk <a24061@yahoo.com>
Subject: Re: Location of .emacs file under `su` and `su -`?
Date: Wed, 23 Aug 2006 11:15:16 +0100 [thread overview]
Message-ID: <kemtr3-a4d.ln1@news.ducksburg.com> (raw)
In-Reply-To: mailman.5450.1156262916.9609.help-gnu-emacs@gnu.org
On 2006-08-22, Peter Dyballa <Peter_Dyballa@web.DE> wrote:
>
> Am 22.08.2006 um 13:26 schrieb Adam Funk:
>
>> When emacs starts up, does it actually look up "~${LOGNAME}/.emacs"
>> instead of (what I would expect) "${HOME}/.emacs"?
>
> You might be able to avoid asking this question by invoking GNU Emacs
> with the option --user or -u and then passing that user's login name.
> Could be $USER is sufficient ...
I've changed the line in /root/.bashrc from
export EDITOR='/usr/bin/emacs -nw'
to
export EDITOR='/usr/bin/emacs -nw -u root'
and that's fixed it.
prev parent reply other threads:[~2006-08-23 10:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 11:26 Location of .emacs file under `su` and `su -`? Adam Funk
2006-08-22 16:08 ` Peter Dyballa
[not found] ` <mailman.5450.1156262916.9609.help-gnu-emacs@gnu.org>
2006-08-23 10:15 ` Adam Funk [this message]
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=kemtr3-a4d.ln1@news.ducksburg.com \
--to=a24061@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.