From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: rogue option init-file-user Date: Sun, 8 Jan 2006 01:29:47 +0200 Message-ID: <20060107232947.GA2856@flame.pc> References: <200601070348.k073mcR00400@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136676725 10645 80.91.229.2 (7 Jan 2006 23:32:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 23:32:05 +0000 (UTC) Cc: Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 08 00:32:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvNXS-0004Ie-1M for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 00:31:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvNZI-0000h8-Qx for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2006 18:33:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvNZ8-0000h1-EH for emacs-devel@gnu.org; Sat, 07 Jan 2006 18:33:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvNZ6-0000gi-IA for emacs-devel@gnu.org; Sat, 07 Jan 2006 18:33:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvNZ6-0000gf-E0 for emacs-devel@gnu.org; Sat, 07 Jan 2006 18:33:40 -0500 Original-Received: from [195.170.0.95] (helo=kane.otenet.gr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvNb5-0002ly-1V; Sat, 07 Jan 2006 18:35:43 -0500 Original-Received: from flame.pc (patr530-a221.otenet.gr [212.205.215.221]) by kane.otenet.gr (8.13.4/8.13.4/Debian-8) with ESMTP id k07NVIPY018138; Sun, 8 Jan 2006 01:31:26 +0200 Original-Received: by flame.pc (Postfix, from userid 1001) id 5AFB111856; Sun, 8 Jan 2006 01:29:47 +0200 (EET) Original-To: "Richard M. Stallman" Content-Disposition: inline In-Reply-To: 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:48835 Archived-At: On 2006-01-07 13:57, "Richard M. Stallman" wrote: > It seems to me that to change this variable in a way that actually > works, the user should use a command line option such as -q or -u. > Setting or saving it through Custom appears to make little sense. > > What do others think? I agree it makes little sense. In several systems I use 'task based' accounts, i.e.: keramida@flame:/home/keramida$ ls -l /home total 18 drwxrwxr-x 6 build build - 512 Jan 3 07:51 build drwxrwxr-x 7 root cvs - 512 Oct 23 05:34 cvs drwxr-xr-x 46 keramida keramida - 2560 Jan 8 01:19 keramida drwx------ 8 root wheel - 2048 Nov 3 03:35 lost+found drwxr-xr-x 15 ncvs ncvs - 1024 Jan 6 22:04 ncvs drwxrwxr-x 2 root svn - 512 Oct 23 05:09 svn keramida@flame:/home/keramida$ Even in setups like this one, where I may find myself typing: keramida$ sudo -i -u ncvs ncvs$ emacs -u keramida to share a common startup file, it makes little sense to customize the init-file-user. Let's say that I'm logged in as `ncvs' and I customize `init-file-user' to "keramida". Where will it be saved? Saving it in ~keramida/.emacs may not be possible, because I don't have write permissions when I'm logged in as `ncvs'. Saving it to ~ncvs/.emacs will probably fail to load the next time I start Emacs with -u keramida. I don't see how making this customizable can work, so Luc is right IMHO.