From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10105: 24.0.91; Possible bug in `scroll-conservatively' Date: Mon, 28 Nov 2011 12:37:47 -0500 Message-ID: References: <83mxbk8mhn.fsf@gnu.org> <83d3cg8aww.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322501903 9412 80.91.229.12 (28 Nov 2011 17:38:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 17:38:23 +0000 (UTC) Cc: 10105@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 18:38:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RV59l-00066P-MH for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 18:38:17 +0100 Original-Received: from localhost ([::1]:51813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV59l-0003GW-5t for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 12:38:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV59i-0003G3-09 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 12:38:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV59h-0001kk-1R for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 12:38:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV59g-0001kg-WE for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 12:38:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RV5BS-0008Pi-Gi for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 12:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2011 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10105 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10105-submit@debbugs.gnu.org id=B10105.132250198732317 (code B ref 10105); Mon, 28 Nov 2011 17:40:02 +0000 Original-Received: (at 10105) by debbugs.gnu.org; 28 Nov 2011 17:39:47 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV5BC-0008PB-Md for submit@debbugs.gnu.org; Mon, 28 Nov 2011 12:39:47 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV5B9-0008P3-NA for 10105@debbugs.gnu.org; Mon, 28 Nov 2011 12:39:44 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pASHbloa002619; Mon, 28 Nov 2011 12:37:47 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0860E58D75; Mon, 28 Nov 2011 12:37:47 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Mon, 28 Nov 2011 08:08:14 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4055=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4055> : streams <705999> : uri <1017662> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Nov 2011 12:40:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54373 Archived-At: >> > 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