bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juri Linkov
Subject: bug#5998: 23.1.96; Breadcrumbs defeat C-u 1 C-v in Info
Date: Fri, 23 Apr 2010 11:39:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

If there are no objections, I'll install this patch to the
emacs-23 branch.

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]