GNU bug report logs - #5998
23.1.96; Breadcrumbs defeat C-u 1 C-v in Info

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 21 Apr 2010 17:20:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 5998 <at> debbugs.gnu.org
Subject: bug#5998: 23.1.96; Breadcrumbs defeat C-u 1 C-v in Info
Date: Fri, 23 Apr 2010 11:39:29 +0300
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/




This bug report was last modified 4 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.