2014-08-14 14:17 GMT+02:00 Tassilo Horn <t...@gnu.org>:
> Mosè Giordano <m...@gnu.org> 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è

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to