unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 12799@debbugs.gnu.org
Subject: bug#12799: 24.3.50; `scroll-conservatively', I-search and `C-g'
Date: Sat, 30 Jan 2016 20:49:02 +0100	[thread overview]
Message-ID: <8760yaj1ap.fsf@mbork.pl> (raw)
In-Reply-To: <CAH8Pv0j3G2Hcr-V4LEc8boeigS-jt2cYMWKu-P3SLD193rdzCA@mail.gmail.com> (Dani Moncayo's message of "Sun, 4 Nov 2012 19:07:08 +0100")

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	other threads:[~2016-01-30 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-04 18:07 bug#12799: 24.3.50; `scroll-conservatively', I-search and `C-g' Dani Moncayo
2016-01-30 19:49 ` Marcin Borkowski [this message]
2016-01-30 20:13   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760yaj1ap.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=12799@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).