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

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

bug#12799: 24.3.50; `scroll-conservatively', I-search and `C-g'


From: Marcin Borkowski
Subject: bug#12799: 24.3.50; `scroll-conservatively', I-search and `C-g'
Date: Sat, 30 Jan 2016 20:49:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On 2012-11-04, at 19:07, Dani Moncayo <dmoncayo@gmail.com> wrote:

> Recipe from "emacs -nw -Q" (the "-nw" part is not strictly needed, but
> it is cleaner for showing the problem):
>
> 1. Visit the attached file.
> 2. Adjust the vertical space (empty lines) between "first line" and
> "last visible line" until the latter becomes indeed the last visible
> line in the window.
> 3. Go to the start of the buffer: M-<
> 4. Advance one line: C-n
> 5. C-s 1
> 6. C-g
>
> I observe that after step #5 the window is scrolled (OK), and that
> scrolling is cancelled after step #6 (OK - like it should be).
>
> But if I set `scroll-conservatively' to 1 and repeat the experiment
> (from step #3), I observe that the vertical scrolling made in step #5
> is not cancelled in step #6.  IMO it should be cancelled, because
> "C-g" should leave the view (not just the point) where it was before
> the Isearch.

Hi everyone,

I can confirm that this behavior is still present in GNU Emacs
25.1.50.1.  I am not 100% sure, however, whether this is really
a bug.

Best,

-- 
Marcin Borkowski
http://mbork.pl/en





reply via email to

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