[Top][All Lists]

[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: Tue, 12 Aug 2014 11:19:49 +0200

2014-08-12 8:49 GMT+02:00 Tassilo Horn <address@hidden>:
>   1. `LaTeX-label' is also called when doing C-c C-s to create a new
>      section, so the black/whitelists can also contain the names of
>      sectioning commands ("part", "chapter", "section",...)
>      The docs should mention that.

You're right, I'll add that.

>   2. Wrt. 1, what if I want labels in a paragraph environment but not
>      for a \paragraph{} section?

I believe you can't define an environment with the same name of an
existing macro and vice versa, so there should never be a naming clash

>   3. I think the name `LaTeX-auto-insert-label' isn't that good.  All
>      other LaTeX-auto-* variables and functions are concerned with the
>      auto parser, so I tend to reserve that prefix for them.  Just
>      stripping the "auto" would be as fine as it is now.

Ok, thank you!


reply via email to

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