The regex in Info-find-command-nodes shouldn't be tied to the end of
line.
Most lines in Command Index look like:
* calendar:                              Calendar/Diary.      (line   6)
The regex only works for lines that are split across two lines, like
* calendar-backward-day:                 Calendar Unit Motion.
                                                              (line  34)
Here is a test-case:
(let ((where
       (Info-find-emacs-command-nodes 'calendar)))
  (Info-find-node (car (car where)) (car (cdr (car where)))))
21.4 requires a similar patch.
2006-10-14  Jeff Miller  <jmiller(a)xemacs.org>
        * info.el (Info-find-emacs-command-nodes): fix regex for find
          command node.  
--- lisp/info.el.orig   2006-10-13 20:03:38.000000000 -0400
+++ lisp/info.el        2006-10-14 17:03:17.000000000 -0400
@@ -3117,7 +3117,7 @@
 \(FILENAME NODENAME BUFFERPOS\)."
   (let ((where '())
        (cmd-desc (concat "^\\* " (regexp-quote (symbol-name command))
-                         ":\\s *\\(.*\\)\\.$")))
+                         ":\\s *\\(.*\\)\\.")))
     (save-excursion
       (Info-find-node "XEmacs" "Command Index")
       ;; Take the index node off the Info history.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches