From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Use .emacs.d in savehist.el Date: Mon, 31 Oct 2005 21:14:21 -0500 Message-ID: References: <87u0f69ae6.fsf-monnier+emacs@gnu.org> <87oe5e977f.fsf@mahaena.lrde> <87oe5dapcz.fsf@mahaena.lrde> <87wtjxt1z8.fsf@stupidchicken.com> <87hdazbqnm.fsf@stupidchicken.com> <87pspn9kc0.fsf@stupidchicken.com> <87wtjuh114.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1130811413 32525 80.91.229.2 (1 Nov 2005 02:16:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2005 02:16:53 +0000 (UTC) Cc: emacs-devel@gnu.org, snogglethorpe@gmail.com, michael.cadilhac@lrde.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 03:16:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWlh7-0005Ja-2P for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 03:16:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWlh6-0002eF-Bk for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2005 21:16:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWlfL-0001y6-2O for emacs-devel@gnu.org; Mon, 31 Oct 2005 21:14:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWlfK-0001xd-7j for emacs-devel@gnu.org; Mon, 31 Oct 2005 21:14:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWlfK-0001xZ-2r for emacs-devel@gnu.org; Mon, 31 Oct 2005 21:14:22 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWlfJ-0002yg-V5 for emacs-devel@gnu.org; Mon, 31 Oct 2005 21:14:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EWlfJ-0000Z4-2s; Mon, 31 Oct 2005 21:14:21 -0500 Original-To: Chong Yidong In-reply-to: <87wtjuh114.fsf@stupidchicken.com> (message from Chong Yidong on Sun, 30 Oct 2005 21:29:27 -0500) 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:45214 Archived-At: If normal libraries follow init-file-user, you could have a situation where a user tries to write customization files into the home directory of another user. This doesn't make much sense, but I don't understand when it makes sense to set init-file-user in the first place. If the customized values that Emacs read _came from_ another user's init file, the only place to store them back is into that user's init file. Ordinarily you won't be able to write that file. Instead you will get a clear error message saying so. That seems correct to me. Meanwhile, in at least one case you WILL be able to write that file. Namely, when you are root and you told Emacs to use your own personal init file. (In particular, this is what happens when you run emacs under su.) So we ought to make this work.