unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pete Williamson <petewil@google.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michal Nazarewicz <mina86@mina86.com>, emacs-devel@gnu.org
Subject: Re: [PATCH] for review - Allow expansion of "~" (as opposed to "~user")
Date: Tue, 3 Mar 2015 10:22:39 -0800	[thread overview]
Message-ID: <CAHsSLHAHmGbcwZq9mLQs3WtrmJUwz+BmwUfm3TVjAt3DZm+FAw@mail.gmail.com> (raw)
In-Reply-To: <83vbiiosdd.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

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 <eliz@gnu.org> wrote:

> > Date: Tue, 03 Mar 2015 20:09:56 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: petewil@google.com, emacs-devel@gnu.org
> >
> > > 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.
>

[-- Attachment #2: Type: text/html, Size: 1839 bytes --]

  reply	other threads:[~2015-03-03 18:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28  0:06 [PATCH] for review - Allow expansion of "~" (as opposed to "~user") Pete Williamson
2015-02-28  8:08 ` Eli Zaretskii
2015-03-02  9:44   ` Michal Nazarewicz
2015-03-02 13:50     ` Eli Zaretskii
2015-03-02 20:37       ` Michal Nazarewicz
2015-03-03 15:37         ` Eli Zaretskii
2015-03-03 17:48           ` Michal Nazarewicz
2015-03-03 18:09             ` Eli Zaretskii
2015-03-03 18:20               ` Eli Zaretskii
2015-03-03 18:22                 ` Pete Williamson [this message]
2015-03-03 18:36                   ` Eli Zaretskii
2015-03-03 18:38                     ` Pete Williamson
2015-03-03 21:01                       ` Michal Nazarewicz
2015-03-03 21:03               ` Michal Nazarewicz
2015-03-04 18:06                 ` Eli Zaretskii

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=CAHsSLHAHmGbcwZq9mLQs3WtrmJUwz+BmwUfm3TVjAt3DZm+FAw@mail.gmail.com \
    --to=petewil@google.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mina86@mina86.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 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).