GNU bug report logs - #21006
25.0.50; xref-quit doesn't restore changes in window scrolling position

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Wed, 8 Jul 2015 00:47:02 UTC

Severity: normal

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21006: closed (25.0.50; xref-quit doesn't restore changes in
 window scrolling position)
Date: Thu, 03 Dec 2020 13:39:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 3 Dec 2020 15:38:46 +0200
with message-id <05f5c9c8-2c23-4d71-fee2-fb54dd44087e <at> yandex.ru>
and subject line Re: bug#21006: 25.0.50; xref-quit doesn't restore changes in window scrolling position
has caused the debbugs.gnu.org bug report #21006,
regarding 25.0.50; xref-quit doesn't restore changes in window scrolling position
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
21006: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21006
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 xref-quit doesn't restore changes in window scrolling position
Date: Wed, 08 Jul 2015 03:46:21 +0300
1. Open lisp/progmodes/elisp-mode.el.

2. M-x xref-find-regexp, type 'defun elisp-[a-z]' (without quotes) when
prompted, press RET.

3. In the xref buffer, press `n' a couple of times, see the window
displaying elisp-mode.el scroll to show the definitions.

4. Press `q', see the previous window configuration restored, but the
scrolling position of the elisp-mode.el window remains changed.

I wonder if we can do anything about that.

While there's nothing surprising in this behavior given the
implementation, the user did lose their position in the buffer, train of
thought, etc.


[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 21006-done <at> debbugs.gnu.org
Subject: Re: bug#21006: 25.0.50; xref-quit doesn't restore changes in window
 scrolling position
Date: Thu, 3 Dec 2020 15:38:46 +0200
On 03.12.2020 13:30, Lars Ingebrigtsen wrote:
> This function no longer exists, so the recipe no longer works.
> 
> Is this problem still present in the current Emacs version?

Yes, sure. You can repeat the scenario with 'M-x project-find-regexp'.

The crux is doesn't restore the previous window scroll positions.

This especially cut against the mental model of the older version of the 
UI which presented locations in a more "transient" fashion. But the 
model has changed, and there haven't been any complaints like this 
recently, so let's close it.

Thanks.


This bug report was last modified 4 years and 166 days ago.

Previous Next


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