auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Manage auto insertion of labels


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Manage auto insertion of labels
Date: Thu, 14 Aug 2014 14:54:34 +0200

2014-08-14 14:17 GMT+02:00 Tassilo Horn <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>> Actually, I believe the best way would be to add amsmath and longtable
>> environments to default `LaTeX-label-alist' in latex.el.
>
> No, I think it's reasonable that the styles do that on their own.  Else,
> we'd need to add each and every environment that may be labeled in
> latex.el which kind of defeats the purpose of styles.  I.e., when
> someone wrote a style for the foobar package, he would need to know that
> he can add to all auctex variables except for `LaTeX-label-alist' which
> he should modify directly in latex.el.  That doesn't make sense.

No, no, the idea was to add only the labels in latex.el as they are
listed in a user option, not the environments as well.  But you're
right that it isn't feasible for casual style writers without editing
their own latex.el!

I'm going to install the patch.

Bye,
Mosè



reply via email to

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