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#5998: 23.1.96; Breadcrumbs defeat C-u 1 C-v in Info Date: Fri, 23 Apr 2010 10:38:03 -0400 Message-ID: References: <83iq7k4tcl.fsf@gnu.org> <87633jopet.fsf@mail.jurta.org> <87633jn7p9.fsf@mail.jurta.org> <87fx2ma7eq.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272034538 769 80.91.229.12 (23 Apr 2010 14:55:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 14:55:38 +0000 (UTC) Cc: 5998@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 23 16:55:36 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5KI3-0006lK-Sh for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 16:55:36 +0200 Original-Received: from localhost ([127.0.0.1]:50168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5KI2-0004v5-Jp for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 10:55:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5KHx-0004uy-Gl for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:29 -0400 Original-Received: from [140.186.70.92] (port=58132 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5KHw-0004uG-Dz for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5KHu-0005xC-F0 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55566) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5KHu-0005x4-CP for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5K21-0003UZ-Su; Fri, 23 Apr 2010 10:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2010 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5998 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5998-submit@debbugs.gnu.org id=B5998.127203349913408 (code B ref 5998); Fri, 23 Apr 2010 14:39:01 +0000 Original-Received: (at 5998) by debbugs.gnu.org; 23 Apr 2010 14:38:19 +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 1O5K1L-0003UD-59 for submit@debbugs.gnu.org; Fri, 23 Apr 2010 10:38:19 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5K1I-0003U3-Tr for 5998@debbugs.gnu.org; Fri, 23 Apr 2010 10:38:17 -0400 Original-Received: from alfajor.home (x-132-204-252-65.xtpr.umontreal.ca [132.204.252.65]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with SMTP id o3NEc7lp018664; Fri, 23 Apr 2010 10:38:07 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id B84004A0CA; Fri, 23 Apr 2010 10:38:03 -0400 (EDT) In-Reply-To: <87fx2ma7eq.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 23 Apr 2010 11:39:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3519=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Apr 2010 10:39:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36440 Archived-At: > If there are no objections, I'll install this patch to the > emacs-23 branch. Fine by me, it's a good change anyway. But we should still try and fix the underlying redisplay bug, of course. Stefan >>>> C-u 1 C-v >>>> >>>> Note that the display does not scroll by one line. "C-u 2 C-v" does >>>> scroll by 2 lines, as well as "C-u 1 C-v" if the breadcrumbs are not >>>> visible. >> >> This patch removes the scrolling problem: >> >> === modified file 'lisp/info.el' >> --- lisp/info.el 2010-04-20 00:49:46 +0000 >> +++ lisp/info.el 2010-04-22 09:01:46 +0000 >> @@ -4365,8 +4365,7 @@ (defun Info-fontify-node () >> (cond >> ((> Info-breadcrumbs-depth 0) >> (let ((ov (make-overlay (point-min) (1+ header-end)))) >> - (overlay-put ov 'invisible t) >> - (overlay-put ov 'after-string (Info-breadcrumbs)) >> + (overlay-put ov 'display (Info-breadcrumbs)) >> (overlay-put ov 'evaporate t))) >> ((not (bobp)) >> ;; Hide the punctuation at the end, too. > -- > Juri Linkov > http://www.jurta.org/emacs/