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


_______________________________________________
Bug-texinfo mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to