>>>>> Ralf Angeli writes:

> Putting

> (when (and (boundp 'TeX-modes)
>          (memq 'texinfo-mode TeX-modes))
>   (TeX-modes-set 'TeX-modes TeX-modes t))

> right after the `(require 'texinfo)' call into tex-info.el fixes the
> problem for me.  

This works for me, too.

> However, I am not sure if this is the right fix or if
> e.g. a simple `(defalias 'texinfo-mode 'TeX-texinfo-mode)' would
> suffice.

This works as well, while I'm also unsure about the correctness of these
methods.

By the way, I noticed a small typo in tex-info.el during the byte
compilation.  Here is the patch:
======================================================================
--- tex-info.el-11.84   Fri Dec 29 22:40:00 2006
+++ tex-info.el Tue Mar 13 00:27:06 2007
@@ -1,7 +1,7 @@
 ;;; tex-info.el --- Support for editing Texinfo source.
 
 ;; Copyright (C) 1993, 1994, 1997, 2000, 2001,
-;;               2004, 2005, 2006 Free Software Foundation, Inc.
+;;               2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 ;; Maintainer: [email protected]
 ;; Keywords: tex
@@ -156,7 +156,7 @@
 for @node."
   (interactive)
   (let ((active-mark (and (TeX-active-mark) (not (eq (mark) (point)))))
-       nodes node-name next-node preview-node up-node)
+       nodes node-name next-node previous-node up-node)
     ;; Build list of nodes in current buffer.
     ;; (What about using `imenu--index-alist'?)
     ;; FIXME: Support multi-file documents.

======================================================================

Regards,
----
Ikumi Keita


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to