Hello Tassilo, There *is* an alternative patch, in the second email the following lines
+ ;; dirty temporary hook to remove when reftex has a Texinfo builtin + ;; TODO remove the dirty trick once reftex has been corrected for long enough a time + (unless (assq 'Texinfo reftex-label-alist-builtin) + (setq reftex-label-alist-builtin (append reftex-label-alist-builtin + '((Texinfo "Texinfo default environments" nil))))) are *after* the test (when (string= TeX-base-mode-name "Texinfo") so that assq processing won't happen when you open a LaTeX file. This is why I wrote that the second flavour is better. Anyway, once this patch is accepted in principle, I will provide the ChangeLog and make a submission to emacs-devel, so that reftex-label-alist-builtin has the Texinfo entry. Maybe the `;;TODO' comment should have some date within it so that people have an idea of how long it is pending. Vincent. PS: Happy new year 2014 ---------------------------------------- > To: [email protected] > From: [email protected] > Date: Mon, 6 Jan 2014 09:39:18 +0100 > Subject: Re: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo > file are visited. > > Vincent Belaïche <[email protected]> writes: > > Hi Vincent, > >> Sorry, it is a mistake if I had set importance high. I have attached >> an alternative patch which should be a little more efficient >> processing power wise --- ie less impact on LaTeX files, only Texinfo >> is affected. > > There's no alternative patch attached, only the original patch in your > forwarded mail. > > Bye, > Tassilo > > > _______________________________________________ > auctex mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/auctex > _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
