>> As Jury corrected me, the problem is not with supporting the new
>> format, the problem was that menus in the indices were not decorated
>> as normal menus since long ago.
>>
>> I agree that we should consider revising this decision now, that the
>> machines are so much faster.
>
> OK; I turned it on.

Simply turning this on has an undesirable consequence that node names
are now hidden in the index node, but it is very useful to see them!
This is because index entries are not like normal links where nodes name
are not very essential.  I propose the following patch that doesn't hide
node names of the index entries while keeping index entries displayed
as links (blue and underlined).

Index: lisp/info.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/info.el,v
retrieving revision 1.493
diff -c -r1.493 info.el
*** lisp/info.el        22 Dec 2006 19:49:08 -0000      1.493
--- lisp/info.el        7 Jan 2007 00:08:32 -0000
***************
*** 3996,4002 ****
                                    (setq res (car hl) hl nil)
                                  (setq hl (cdr hl))))
                                res))) 'info-xref-visited 'info-xref)))
!             (when (and not-fontified-p (memq Info-hide-note-references '(t 
hide)))
                (put-text-property (match-beginning 2) (1- (match-end 6))
                                   'invisible t)
                ;; Unhide the file name in parens
--- 3996,4004 ----
                                    (setq res (car hl) hl nil)
                                  (setq hl (cdr hl))))
                                res))) 'info-xref-visited 'info-xref)))
!             (when (and not-fontified-p
!                        (memq Info-hide-note-references '(t hide))
!                        (not (Info-index-node)))
                (put-text-property (match-beginning 2) (1- (match-end 6))
                                   'invisible t)
                ;; Unhide the file name in parens

-- 
Juri Linkov
http://www.jurta.org/emacs/


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to