From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ~/.emacs vs ~/.emacs.d/init.el Date: Wed, 13 Jun 2007 20:53:19 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1181757211 5382 80.91.229.12 (13 Jun 2007 17:53:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 17:53:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 19:53:30 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyX27-0007lO-NN for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 19:53:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyX27-0003uf-9J for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 13:53:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyX24-0003uQ-DW for emacs-devel@gnu.org; Wed, 13 Jun 2007 13:53:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyX22-0003tH-4n for emacs-devel@gnu.org; Wed, 13 Jun 2007 13:53:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyX21-0003tE-Tz for emacs-devel@gnu.org; Wed, 13 Jun 2007 13:53:21 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyX21-0001EE-Dg for emacs-devel@gnu.org; Wed, 13 Jun 2007 13:53:21 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-162-236.inter.net.il [84.228.162.236]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CUZ80044 (AUTH halo1); Wed, 13 Jun 2007 20:53:19 +0300 (IDT) In-reply-to: (lekktu@gmail.com) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72792 Archived-At: > Date: Wed, 13 Jun 2007 19:34:00 +0200 > From: "Juanma Barranquero" > Cc: emacs-devel@gnu.org > > On 6/13/07, Eli Zaretskii 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.