unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 4061@emacsbugs.donarmstrong.com
Subject: bug#4061: 23.1.50; C-x C-v and saveplace
Date: Sat, 15 Aug 2009 21:18:10 +0100	[thread overview]
Message-ID: <xbai7hx44yrh.fsf@cam.ac.uk> (raw)
In-Reply-To: <m0zlady60e.fsf@cam.ac.uk> (Leo's message of "Thu, 06 Aug 2009 04:29:21 +0100")

On 2009-08-06 04:29 +0100, Leo wrote:
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> With saveplace enabled, it will be nice if place (point) can survive C-x
> C-v. At the moment, C-x C-v will move the point to a 'random' place.
>
> Leo

In `find-alternate-file', the old buffer is renamed, the new buffer is
created and then the renamed old buffer is killed. so the place is not
saved before re-opening the file. It seems at the moment for a user the
clean way to implement this feature is by using defadvice.

But I think this is a very useful feature to have.

-- 
Leo's Emacs uptime: 11 days, 19 hours, 50 minutes, 33 seconds





  reply	other threads:[~2009-08-15 20:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <873a7173dl.fsf@red-bean.com>
2009-08-06  3:29 ` bug#4061: 23.1.50; C-x C-v and saveplace Leo
2009-08-15 20:18   ` Leo [this message]
2009-09-05 16:45   ` bug#4061: marked as done (23.1.50; C-x C-v and saveplace) Emacs bug Tracking System
2009-09-05 16:54     ` Leo
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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=xbai7hx44yrh.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=4061@emacsbugs.donarmstrong.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).