GNU bug report logs - #21304
24.5; follow-switch-to-buffer changes positions

Previous Next

Package: emacs;

Reported by: Milan Zamazal <pdm <at> zamazal.org>

Date: Thu, 20 Aug 2015 21:12:01 UTC

Severity: normal

Found in version 24.5

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 21304-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Milan Zamazal <pdm <at> zamazal.org>, 21304-done <at> debbugs.gnu.org
Subject: Re: bug#21304: 24.5; follow-switch-to-buffer changes positions
Date: Mon, 30 Sep 2019 00:29:28 +0200
martin rudalics <rudalics <at> gmx.at> writes:

>> `follow-switch-to-buffer' doesn't retain cursor position nor buffer
>> position within the windows.
>>
>> How to reproduce the bug:
>>
>> - Start Emacs.
>> - Type `C-h n' (NEWS gets displayed)
>> - Type `C-h C-c' (COPYING gets displayed)
>> - Type `C-x 3' (the window gets split)
>> - Type `M-x follow-mode RET' (follow mode gets enabled)
>> - Type `C-v' (the buffer gets scrolled -- note the cursor position)
>> - Type `M-x follow-switch-to-buffer RET RET' (NEWS gets displayed)
>> - Type `M-x follow-switch-to-buffer RET RET' (COPYING gets displayed again)
>>
>> I'd expect the window contents and cursor position would be the same as
>> after typing `C-v'; there is no reason why they should be changed just
>> after switching to another buffer and back.  But they are changed.
>
> I see the behavior you describe with Emacs 25 but do not see it with the
> upcoming release version.  Can you try with Emacs 26?

More information was requested, but none was given within 2 years.  The
last person to write in the thread cannot reproduce this bug.

I'm therefore going to assume that this has been fixed, and close this
bug report.  If this is still an issue in Emacs 26 or later, please
reopen the bug.

Best regards,
Stefan Kangas




This bug report was last modified 5 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.