Mosè Giordano <giordano.m...@libero.it> writes:

Hi Mosè,

> does someone know why there is `TeX-token-char' in
> `BibTeX-auto-regexp-list' (line 1544 of latex.el)?

Hm, Masayuki Ataka (in Cc) added that in commit
49d296cbe2522e9aeb7a6a67efc0a4d19e8de211 together with
`LaTeX-auto-regexp-list' where it clearly makes sense.

,----
| commit 49d296cbe2522e9aeb7a6a67efc0a4d19e8de211
| Author: Masayuki Ataka <masayuki.ataka+...@gmail.com>
| Date:   Thu Oct 6 20:36:17 2005 +0000
| 
|     (LaTeX-auto-regexp-list, BibTeX-auto-regexp-list): Use TeX-token-char.
`----

> Cite keys aren't TeX macros and can start with a digit.  For example,
> NASA ADS usually creates BibTeX entries whose keys start with the year
> of publication of the paper, but that `BibTeX-auto-regexp-list'
> doesn't match such keys.

I agree.

> If there isn't a good reason for keeping `TeX-token-char', I'd apply
> the following change:

If Masayuki-san has no strict reason, just go ahead.

Bye,
Tassilo


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

Reply via email to