unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 10105@debbugs.gnu.org
Subject: bug#10105: 24.0.91; Possible bug in `scroll-conservatively'
Date: Mon, 28 Nov 2011 12:37:47 -0500	[thread overview]
Message-ID: <jwv62i4cfqm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1RV0wQ-00060G-Qx@fencepost.gnu.org> (Eli Zaretskii's message of "Mon, 28 Nov 2011 08:08:14 -0500")

>> > Why did you expect it to be at the bottom?
>> Because, after the "failing" C-s, the Isearch begins again from the
>> top of the buffer, so that the search direction is always (at least
>> conceptually) from top to bottom, i.e. _fordward_.
> The _search_ direction is forward, that's true.
> But scroll-conservatively is not about the search direction, it is
> about the direction in which point moves in the buffer from its last
> displayed location.  And that is _backward_, not forward.

Indeed: it would make sense to put point at the bottom, but that
requires information to which the redisplay does not have access.
If you really insist, you could make isearch force a redisplay with
point at (point-min) when doing the wrap around and before moving to the
actual destination, but I don't think we want to go that far.


        Stefan





  reply	other threads:[~2011-11-28 17:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22  9:51 bug#10105: 24.0.91; Possible bug in `scroll-conservatively' Dani Moncayo
2011-11-25 11:33 ` Eli Zaretskii
2011-11-25 15:43   ` Eli Zaretskii
2011-11-25 16:38     ` Dani Moncayo
2011-11-28 10:38     ` Dani Moncayo
2011-11-28 12:01       ` Eli Zaretskii
2011-11-28 12:12         ` Dani Moncayo
2011-11-28 13:08           ` Eli Zaretskii
2011-11-28 17:37             ` Stefan Monnier [this message]
2011-11-28 18:11               ` Eli Zaretskii
2011-11-29  7:05       ` Juri Linkov
2011-11-29 16:55         ` 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=jwv62i4cfqm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10105@debbugs.gnu.org \
    --cc=eliz@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 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).