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

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

Re: Info mode - inconsistent display of cross-references


From: Stephen Berman
Subject: Re: Info mode - inconsistent display of cross-references
Date: Sat, 25 Aug 2007 21:51:57 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

On Sat, 25 Aug 2007 08:23:50 +0000 Alan Mackenzie <acm@muc.de> wrote:

> Whatever's going on here is surely a bug.  Both of these should be
> displayed the same, _without_ the obtrusive "see ".  If this can't be
> done because of limitiations in the Info format, it would surely be less
> bad to display the raw "*Note Commands", since this is being honest about
> Info and doesn't make the writer of the manual look incompetent.

The following patch to Info-fontify-node should fix this particularly
case (but I haven't tested it).  But it's not unlikely that other
cases will have to be dealt with along the same lines, or else a
different approach is needed.

Steve Berman

*** info.el.~1.504.~    2007-08-21 11:43:23.000000000 +0200
--- info.el     2007-08-25 21:45:56.000000000 +0200
***************
*** 3844,3849 ****
--- 3844,3853 ----
                               "")
                              ((save-match-data (looking-back "\\<in"))
                               "")
+                             ((save-match-data (looking-back "\\<chapter"))
+                              "")
+                             ((save-match-data (looking-back "\\<section"))
+                              "")
                              ((memq (char-before) '(nil ?\. ?! ??))
                                 "See ")
                              ((save-match-data





reply via email to

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