[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffe
bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffer
Thu, 11 Dec 2014 16:09:56 -0500
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
> 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.
- bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffer,
Stefan Monnier <=