From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#10105: 24.0.91; Possible bug in `scroll-conservatively' Date: Mon, 28 Nov 2011 13:12:48 +0100 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; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322482406 16128 80.91.229.12 (28 Nov 2011 12:13:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 12:13:26 +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 13:13:22 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 1RV05F-00018A-Vp for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 13:13:18 +0100 Original-Received: from localhost ([::1]:51279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV05F-0006tV-6f for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 07:13:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV05C-0006sv-LD for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 07:13:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV056-0003wT-DW for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 07:13:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV056-0003wP-5K for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 07:13:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RV06v-0008Ny-Mk for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 07:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2011 12:15:01 +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.132248248532201 (code B ref 10105); Mon, 28 Nov 2011 12:15:01 +0000 Original-Received: (at 10105) by debbugs.gnu.org; 28 Nov 2011 12:14:45 +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 1RV06f-0008NJ-20 for submit@debbugs.gnu.org; Mon, 28 Nov 2011 07:14:45 -0500 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RV06c-0008NB-Oa for 10105@debbugs.gnu.org; Mon, 28 Nov 2011 07:14:43 -0500 Original-Received: by ywm13 with SMTP id 13so2956863ywm.3 for <10105@debbugs.gnu.org>; Mon, 28 Nov 2011 04:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=rqZmVyH4hHeRJnWCqBkjxzX42h7SUSpBvrw3UglKnms=; b=imq0pmTcKPfNwQgA1SrdNBcgiZ50CoqzdTnWjoyUsB6ue6ZMDXvFosihNErnIRIEWo hiRGbbnplmUeDGXiIbDx0zlvSXIN26AeveKSSxnXHJEfRWbiQuKlFs/PaHTCmlcLhe6V bVRYGFrg/94Byw8k1qmn+Sn3sEkQdN/woqqK4= Original-Received: by 10.236.79.38 with SMTP id h26mr61413251yhe.39.1322482368400; Mon, 28 Nov 2011 04:12:48 -0800 (PST) Original-Received: by 10.236.161.201 with HTTP; Mon, 28 Nov 2011 04:12:48 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Nov 2011 07:15:01 -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:54355 Archived-At: >> 1. Eval: "(setq scroll-conservatively 101)". >> 2. Eval: "(custom-set-faces '(mode-line ((t (:box (:line-width 1))))))". >> 3. Visit the attached file. >> 4. Type "C-s p C-s C-s C-s". >> --> At this point, the Isearch has moved point to line "p1", but it's >> positioned at the top of the window. =A0It should be at the bottom. > > I'm quite sure this is by design: the last C-s scrolls _up_, which > under scroll-conservatively means Emacs should put point at the > topmost line. =A0If you'd get to that line by C-p, that would be where > point should be displayed, right? > > 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_. See info node "(emacs)Repeat Isearch". > And does the custom-set-faces even make a difference (I cannot test > that where I'm typing this)? Oh no, you're right. Thus step #2 in the above recipe is unnecessary (sorr= y). --=20 Dani Moncayo