From: ibeas@gmx.com (Álvar Ibeas)
To: 19477@debbugs.gnu.org
Subject: bug#19477: 24.4; Init script from su terminal
Date: Wed, 31 Dec 2014 17:36:58 +0100 [thread overview]
Message-ID: <87iogrixn9.fsf@gmx.com> (raw)
Hello,
Working under Debian, when I switch to root using `su', Emacs doesn't
load the init script located in my user's home folder, as the manual
says:
``if you run Emacs from a shell started by `su', Emacs tries to find
your own `.emacs', not that of the user you are currently pretending
to be [...] It gets your user name from the environment variables
`LOGNAME' and `USER'.''
The variables LOGNAME and USER have both the value `root'. The command
`logname' returns instead my own user name.
Is this an Emacs bug?
next reply other threads:[~2014-12-31 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-31 16:36 Álvar Ibeas [this message]
2014-12-31 18:36 ` bug#19477: 24.4; Init script from su terminal Glenn Morris
[not found] ` <mailman.17015.1420051024.1147.bug-gnu-emacs@gnu.org>
2014-12-31 19:34 ` Álvar Ibeas
2015-01-02 19:01 ` Glenn Morris
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=87iogrixn9.fsf@gmx.com \
--to=ibeas@gmx.com \
--cc=19477@debbugs.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.
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).