Subject: Re: bug#5998: 23.1.96; Breadcrumbs defeat C-u 1 C-v in Info

From: Juri Linkov <[email-masked]>
Date: Thu, 22 Apr 2010 12:03:30 +0300

>>  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/