From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: saveplace prevent me from quitting if ~/.emacs-places is write-protected Date: 05 Mar 2003 20:48:40 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <873cm1w6pj.fsf@floss.red-bean.com> References: Reply-To: kfogel@red-bean.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1046934234 15074 80.91.224.249 (6 Mar 2003 07:03:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 07:03:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 06 08:03:52 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qpQ0-0003uy-00 for ; Thu, 06 Mar 2003 08:03:52 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18qpkD-0007hB-00 for ; Thu, 06 Mar 2003 08:24:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qpQG-0003Re-09 for emacs-devel@quimby.gnus.org; Thu, 06 Mar 2003 02:04:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18qpPx-0003NA-00 for emacs-devel@gnu.org; Thu, 06 Mar 2003 02:03:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18qpPr-0002ya-00 for emacs-devel@gnu.org; Thu, 06 Mar 2003 02:03:46 -0500 Original-Received: from mail1-0.chcgil.ameritech.net ([206.141.192.68]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qpPo-0002sK-00; Thu, 06 Mar 2003 02:03:40 -0500 Original-Received: from floss.red-bean.com ([65.42.81.165]) by mail1-0.chcgil.ameritech.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP <20030306070339.HMTC21870.mail1-0.chcgil.ameritech.net@floss.red-bean.com>; Thu, 6 Mar 2003 01:03:39 -0600 Original-Received: from kfogel by floss.red-bean.com with local (Exim 3.34 #1 (Debian)) id 18qlR2-0008Aq-00; Wed, 05 Mar 2003 20:48:40 -0600 Original-To: rms@gnu.org X-Windows: flaky and built to stay that way. In-Reply-To: Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: matthieu.moy@imag.fr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12122 Richard Stallman quotes someone else saying: > I have saveplace enabled, and I launched Emacs from another account > than mine, so, no permission on ~/.emacs-place.=20 Can you say exactly what you did, starting from login? If you are logged in as user foo, then ~/.emacs-place should expand to that file in foo's home directory, and you should have permissions on ~foo/.emacs-place (assuming the file was created in some reasonable manner). Whether the foo account is "your" account or someone else's shouldn't make a difference to the permission system... There may be some crucial bit of your recipe I'm misunderstanding. (Of course, we could just reproduce this by setting .emacs-place unwriteable manually, but it sounds like that's not what you did.) > C-x C-c to quit, it asks me if I want to save ~/.emacs-place anyway, > because it's write protected. I say no, and get this error message > > =AB=A0basic-save-buffer-2: Attempt to save to a file which you are= n't > allowed to write=A0=BB Richard, et al, Assuming we can reproduce this, what is the right solution? Is there already a policy for how Emacs should behave when there's an error saving a file at exit time, and that file is managed by Emacs (i.e., is not just a regular file visited for editing by the user)? Thanks, -Karl