unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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 17:58:07 +0300	[thread overview]
Message-ID: <837exd2nwg.fsf@gnu.org> (raw)
In-Reply-To: <87mv695p9a.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 05 Sep 2017 14:00:33 +0200)

> From: Uwe Brauer <oub@mat.ucm.es>
> Date: Tue, 05 Sep 2017 14:00:33 +0200
> 
> When I start emacs -q and run
> query-replace, say like this
> 
> 
> (query-replace "this" "this" nil nil nil nil nil)
> then everything works like expected:
> 
> Text with  expression «this» which is in the middle of my screen is
> presented in the middle of the screen:
> 
> And I am asked to replace it.
> 
> However when I start emacs with my init file, open a file which covers
> various screen pages
> and do
> (query-replace "this" "this" nil nil nil nil nil)
> 
> The cursor always jumps to the bottom of the screen and asks me to
> replace. This makes it difficult to see the context of the change.
> This misbehavior must be caused by some of my setting. But what could it
> be.

Do you perhaps have scroll-conservatively set to a value larger than
100?  If so, Emacs is behaving like you requested.



  reply	other threads:[~2017-09-05 14:58 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 [this message]
2017-09-05 15:51   ` Uwe Brauer
2017-09-05 16:27     ` 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=837exd2nwg.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.
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).