all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@floss.red-bean.com>
Cc: emacs-devel@gnu.org
Subject: Re: saveplace prevent me from quitting if ~/.emacs-places is write-protected
Date: 05 Mar 2003 20:48:40 -0600	[thread overview]
Message-ID: <873cm1w6pj.fsf@floss.red-bean.com> (raw)
In-Reply-To: <E18qfnZ-00087U-00@fencepost.gnu.org>

Richard Stallman <rms@gnu.org> quotes someone else saying:
>     I have  saveplace enabled, and  I launched Emacs from  another account
>     than mine, so, no permission on ~/.emacs-place. 

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
>
>   « basic-save-buffer-2:  Attempt to  save to  a file  which  you aren't
>   allowed to write »

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

  reply	other threads:[~2003-03-06  2:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 17:30 saveplace prevent me from quitting if ~/.emacs-places is write-protected matthieu.moy
2003-03-05 20:47 ` Richard Stallman
2003-03-06  2:48   ` Karl Fogel [this message]
2003-03-06  7:14     ` Matthieu Moy
2003-03-07 19:40     ` Richard Stallman
2003-03-08 12:19       ` Matthieu Moy
     [not found] <mailman.2738.1046800682.21513.bug-gnu-emacs@gnu.org>
2003-03-05 19:04 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873cm1w6pj.fsf@floss.red-bean.com \
    --to=kfogel@floss.red-bean.com \
    --cc=emacs-devel@gnu.org \
    --cc=kfogel@red-bean.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.