emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] for review - Allow expansion of "~" (as opposed to "~user")


From: Pete Williamson
Subject: Re: [PATCH] for review - Allow expansion of "~" (as opposed to "~user")
Date: Tue, 3 Mar 2015 10:22:39 -0800

So to solve my porting problem for NaCl, would it be best if I just did a system check for NaCl, and if it is the current system, then clear the "init-file-user" string?

In my case, init-file-user is set to "user", but "~user" is not expanding properly

On Tue, Mar 3, 2015 at 10:20 AM, Eli Zaretskii <address@hidden> wrote:
> Date: Tue, 03 Mar 2015 20:09:56 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
>
> > Based on all that, I think the most consistent option is to:
> >
> > 1) always check if ~USER/ directory exists for the ‘User foo has no home
> >    directory’ warning;
> >
> > 2) user ~USER/.emacs and ~USER/_emacs on MS-Windows; and
> >
> > 3) use `expand-file-name' when setting `user-init-file' if init file has
> >    not been loaded.
>
> Sorry, I cannot follow the logic that led to these 3 conclusions.
> Please explain.  (And don't we already do all that?)

Btw, I'd like to reiterate something I already suggested near the
beginning: just error out if "-u USER" is used on DOS/Windows.  I
think this should put all this issue to rest, and avoid unneeded
complexity, FAQs, etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]