bug-texinfo
[Top][All Lists]
Advanced

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

Re: Indices in Info.


From: Luc Teirlinck
Subject: Re: Indices in Info.
Date: Tue, 24 Jun 2003 20:35:09 -0500 (CDT)

Karl Berry wrote:

       "Emacs should be able to handle this correctly" 

   Yes it should.

Meant was leading `(' and `)' in index entries and menu subtopic
names.  There were similar problems with other leading characters,
such as `;'.

I believe that the bug was a badly initialized while loop in
`Info-extract-menu-node-name'.

I would like to commit the following patch, which takes care of these
problems.  Is this OK?

===File ~/infodiff==========================================
cd /usr/local/share/emacs/21.3.50/lisp/
diff -c /usr/local/share/emacs/21.3.50/lisp/info.old.el 
/usr/local/share/emacs/21.3.50/lisp/info.el
*** /usr/local/share/emacs/21.3.50/lisp/info.old.el     Mon Jun 23 16:25:22 2003
--- /usr/local/share/emacs/21.3.50/lisp/info.el Tue Jun 24 20:06:59 2003
***************
*** 1564,1569 ****
--- 1564,1571 ----
    (skip-chars-forward " \t\n")
    (let ((beg (point))
        str)
+     (skip-chars-forward "^:")
+     (forward-char 1)
      (while (not (looking-at ":*[,.;() \t\n]"))
        (skip-chars-forward "^:")
        (forward-char 1))

Diff finished at Tue Jun 24 20:10:55
============================================================




reply via email to

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