From: Eli Zaretskii <eliz@gnu.org>
Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org
Subject: Re: rogue option init-file-user
Date: Sat, 07 Jan 2006 17:12:33 +0200 [thread overview]
Message-ID: <ur77kf4wu.fsf@gnu.org> (raw)
In-Reply-To: <43BFC9D2.4090101@student.lu.se> (message from Lennart Borgman on Sat, 07 Jan 2006 15:01:54 +0100)
> Date: Sat, 07 Jan 2006 15:01:54 +0100
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> Cc: emacs-devel@gnu.org
>
> Beside the above problem the value on w32 seems strange. I get the value
> "" with CVS Emacs from 2006-01-06 after .emacs have been read.
This isn't strange, this is exactly what should happen. The doc
string of init-file-user says, among other things:
Otherwise, the value may be the null string, meaning use the init file
for the user that originally logged in, or it may be a
string containing a user's name meaning use that person's init file.
In either of the latter cases, `(concat "~" init-file-user "/")'
evaluates to the name of the directory where the `.emacs' file was
looked for.
With the possible exception of the term ``null string'' (which really
means an empty string), this describes what you see: since the .emacs
file used was from the user ``that originally logged in'', you get the
value of "", and (concat "~" init-file-user "/") will yield "~/", your
home directory.
I fixed the doc string to say "empty string", for more clarity.
next prev parent reply other threads:[~2006-01-07 15:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-07 3:48 rogue option init-file-user Luc Teirlinck
2006-01-07 14:01 ` Lennart Borgman
2006-01-07 15:12 ` Eli Zaretskii [this message]
2006-01-07 15:39 ` Lennart Borgman
2006-01-08 14:47 ` Richard M. Stallman
2006-01-07 18:57 ` Richard M. Stallman
2006-01-07 21:27 ` David Kastrup
2006-01-07 22:29 ` Luc Teirlinck
2006-01-07 22:32 ` Luc Teirlinck
2006-01-07 23:29 ` David Kastrup
2006-01-07 22:49 ` Luc Teirlinck
2006-01-07 23:29 ` Giorgos Keramidas
2006-01-09 0:51 ` Richard M. Stallman
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=ur77kf4wu.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=teirllm@dms.auburn.edu \
/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.