auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo file ar


From: Tassilo Horn
Subject: Re: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo file are visited.
Date: Mon, 06 Jan 2014 12:18:55 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Vincent Belaïche <address@hidden> writes:

Hi Vincent,

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

Indeed, I've missed that.

> Anyway, once this patch is accepted in principle, I will provide the
> ChangeLog

Looks ok to me, so please do.

> and make a submission to emacs-devel, so that
> reftex-label-alist-builtin has the Texinfo entry.

I've been that free to add this entry just now, so Emacs 24.4 should
already be ok with respect to this.

> Maybe the `;;TODO' comment should have some date within it so that
> people have an idea of how long it is pending.

Yes, please.

> PS: Happy new year 2014

I wish the same to you, Vincent!

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]