all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: query-replace and the bottom of the screen
Date: Tue, 05 Sep 2017 19:27:00 +0300	[thread overview]
Message-ID: <83y3pt157v.fsf@gnu.org> (raw)
In-Reply-To: <87efrlta74.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 05 Sep 2017 17:51:59 +0200)

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Tue, 05 Sep 2017 17:51:59 +0200
> 
>     > Do you perhaps have scroll-conservatively set to a value larger than
>     > 100?  If so, Emacs is behaving like you requested.
> 
> Indeed this is the case
> I had
> 
> (setq scroll-conservatively  10000)
> 
> Following
> 
> https://www.emacswiki.org/emacs/SmoothScrolling
> 
> 
> Now I set it to zero
> 
> So is this behavior intentional or is it a bug?

It's exactly what that variable with that value is supposed to cause.
People who like that behavior want Emacs to scroll the screen as
little as possible, so point after scrolling is always either at the
first or the last visible line of the window, depending on whether
point moved back or forward from its last position.

IOW, this is intentional behavior when scroll-conservatively is set to
something greater than 100.



      reply	other threads:[~2017-09-05 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-05 12:00 query-replace and the bottom of the screen Uwe Brauer
2017-09-05 14:58 ` Eli Zaretskii
2017-09-05 15:51   ` Uwe Brauer
2017-09-05 16:27     ` Eli Zaretskii [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=83y3pt157v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.