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.