[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Cite keys starting with a digit and BibTeX-auto-regex
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] Cite keys starting with a digit and BibTeX-auto-regexp-list |
Date: |
Wed, 24 Jul 2013 09:04:51 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Mosè Giordano <address@hidden> 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 <address@hidden>
| 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