all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: martin rudalics <rudalics@gmx.at>
Cc: Milan Zamazal <pdm@zamazal.org>, 21304-done@debbugs.gnu.org
Subject: bug#21304: 24.5; follow-switch-to-buffer changes positions
Date: Mon, 30 Sep 2019 00:29:28 +0200	[thread overview]
Message-ID: <CADwFkmnXWLMH6AS64b6eOYdY6zoEj8=Mj6b=iYMyEAiicdfexw@mail.gmail.com> (raw)
In-Reply-To: <87egix96hu.fsf@blackbird.zamazal.org>

martin rudalics <rudalics@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





      parent reply	other threads:[~2019-09-29 22:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 18:09 bug#21304: 24.5; follow-switch-to-buffer changes positions Milan Zamazal
2017-10-10  9:15 ` martin rudalics
2019-09-29 22:29 ` Stefan Kangas [this message]

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='CADwFkmnXWLMH6AS64b6eOYdY6zoEj8=Mj6b=iYMyEAiicdfexw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=21304-done@debbugs.gnu.org \
    --cc=pdm@zamazal.org \
    --cc=rudalics@gmx.at \
    /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.