bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21304: 24.5; follow-switch-to-buffer changes positions


From: martin rudalics
Subject: bug#21304: 24.5; follow-switch-to-buffer changes positions
Date: Tue, 10 Oct 2017 11:15:18 +0200

> `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?

Thanks, martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]