[Top][All Lists]

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

Re: ~/.emacs vs ~/.emacs.d/init.el

From: Eli Zaretskii
Subject: Re: ~/.emacs vs ~/.emacs.d/init.el
Date: Wed, 13 Jun 2007 20:53:19 +0300

> Date: Wed, 13 Jun 2007 19:34:00 +0200
> From: "Juanma Barranquero" <address@hidden>
> Cc: address@hidden
> On 6/13/07, Eli Zaretskii <address@hidden> wrote:
> > No, we don't support ~USER on Windows yet (although it can be done on
> > the Windows versions since W2K).  Volunteers welcome.
> I wouldn't dismiss the idea of implementing it myself, once the task
> is clear enough.

The task is to map ~USER to

  C:/Documents and Settings/USER/Application Data

For this, we need to extend w32.c:getpwnam to support not just the
current user, but also the other users on the local machine (ask me
about the relevant Windows APIs if you need help finding them), and
then it should Just Work (the actuall expansion happens in
expand-file-name and other similar primitives defined on fileio.c).

> What about my other questions? Should --user=myuser influence whether
> init.el is found (I mean, ~myuser/.emacs.d/init.el), or is ~/.emacs.d/
> always valid only for the current user?

I don't have anything intelligent to say on that, I'm confused myself.

reply via email to

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