From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ed Avis <eda@waniasset.com>
Cc: "'19161@debbugs.gnu.org'" <19161@debbugs.gnu.org>
Subject: bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffer
Date: Thu, 11 Dec 2014 16:09:56 -0500 [thread overview]
Message-ID: <jwvtx11q4ia.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <7E039918541B4C4183BFDB8F015C74302E4244AB@WCL-EXCH02.wcl.local> (Ed Avis's message of "Thu, 27 Nov 2014 11:28:24 +0000")
Version:25.1
> Surely the simplest fix is to save the current point (as a line number
> and column number), revert the file, and then put point back to where
> it was?
I installed a similar change in "master". It doesn't preserve
line-number nor column number, but it keeps the point in the same place
in proportion to the changed text.
> In the particular case of reverting after a version control checkin
> this would give more useful behaviour. I wouldn't advocate it for
> ordinary revert-buffer operations.
I actually did it for all revert-buffer operations.
Stefan
next prev parent reply other threads:[~2014-12-11 21:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 11:32 bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffer Ed Avis
2014-11-24 15:00 ` Stefan Monnier
2014-11-24 17:30 ` Ed Avis
2014-11-25 1:54 ` Stefan Monnier
2014-11-25 15:09 ` Ed Avis
2014-11-27 3:28 ` Stefan Monnier
2014-11-27 11:28 ` Ed Avis
2014-12-11 21:09 ` Stefan Monnier [this message]
2014-12-12 8:12 ` Ed Avis
2014-11-24 16:59 ` Glenn Morris
2014-11-24 17:06 ` Ed Avis
2014-12-15 8:07 ` Paul Eggert
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=jwvtx11q4ia.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=19161@debbugs.gnu.org \
--cc=eda@waniasset.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.