* Kevin Rodgers (2007-02-07) writes:

> Lawrence Mitchell wrote:
>> 
>> reftex-parse-bibtex-entry uses a syntax table in which "-" is not a
>> word constituent.  This has the consequence that if a bibtex field
>> name contains a hyphen, the entry will be incorrectly parsed.  For
>> example, consider the following entry:
>
> Is "-" a symbol constituent in that syntax table?

Yes.  From a debugging session:
e (char-syntax ?-)
95 (#o137, #x5f, ?_)

> Can other symbol
> constituent characters besides hyphen occur in bibtex field names?

I'm not sure and I couldn't find anything explicitely mentioned in
btxdoc or btxhak.

> If so, perhaps it'd be better to use "\\s_" instead of "-" below.

That would be the progressive approach.  Personally I'd prefer adding
"-" as a more conservative way for fixing the bug.

-- 
Ralf



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to