* David Kastrup (2008-02-02) writes: > Ralf Angeli <[EMAIL PROTECTED]> writes: > >> Full quote for maximum of information since this is a rather old >> message. >> >> * David Kastrup (2007-03-17) writes: >> >>> Ralf Angeli <[EMAIL PROTECTED]> writes: >>> >>>> * Ikumi Keita (2007-03-13) writes: >>>> >>>>>>>>>> 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. > > What is the actual problem cured by this?
>From Ikumi's original report: ,----[ <mid:[EMAIL PROTECTED]> ] | Analysis: | 1. At first, tex-site.el declares the following defalias and autoload: | (defalias 'texinfo-mode 'TeX-texinfo-mode) | (autoload 'TeX-texinfo-mode "tex-info") | 2. So typing M-x texinfo-mode leads to loading tex-info.el, which | contains a form | (require 'texinfo) | 3. Then texinfo.el, bundled with emacs, is loaded, resulting in that the | above defalias for texinfo-mode is overwritten by | (define-derived-mode texinfo-mode text-mode "Texinfo" | in texinfo.el. | 4. Therefore, the overwritten function definition is used for M-x | texinfo-mode, ignoring the TeX-texinfo-mode defined in tex-info.el. `---- -- Ralf _______________________________________________ bug-auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-auctex
