From: Leo <sdl.web@gmail.com>
To: Karl Fogel <kfogel@red-bean.com>
Cc: 4061@emacsbugs.donarmstrong.com
Subject: bug#4061: 23.1.50; C-x C-v and saveplace
Date: Sat, 05 Sep 2009 01:16:58 +0100 [thread overview]
Message-ID: <xbai8wgu8cud.fsf@cam.ac.uk> (raw)
In-Reply-To: <87k50e8k5l.fsf@red-bean.com> (Karl Fogel's message of "Fri, 04 Sep 2009 17:39:02 -0400")
On 2009-09-04 22:39 +0100, Karl Fogel wrote:
> I know what causes this now. saveplace.el works like this:
> Now, `save-place-to-alist' checks `buffer-file-name' and (properly) does
> nothing if there is no associated file. Since `find-alternate-file'
> unsets `buffer-file-name' after renaming the old buffer but before
> killing it, that effectively makes `save-place-to-alist' a no-op in the
> old buffer.
Thank you for looking into it.
>
> It's not even clear what the most desirable behavior is. For example,
> in `find-alternate-file' (without my patch), if the old buffer is
> modified, should we still save place before killing it? I think so; or
> rather, I think we should do whatever saveplace.el does if one kills a
> modified buffer the normal way.
I agree with this.
--
Leo's Emacs uptime: 2 days, 13 hours, 17 minutes, 9 seconds
next prev parent reply other threads:[~2009-09-05 0:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-16 0:40 bug#4061: 23.1.50; C-x C-v and saveplace Chong Yidong
2009-08-16 16:11 ` Karl Fogel
2009-08-17 14:01 ` Leo
2009-09-04 21:39 ` Karl Fogel
2009-09-05 0:16 ` Leo [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-08-06 3:29 Leo
2009-08-15 20:18 ` Leo
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=xbai8wgu8cud.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=4061@emacsbugs.donarmstrong.com \
--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.