emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode


From: Stefan Monnier
Subject: Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode
Date: Sun, 07 May 2006 23:14:36 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> If I have a bib file containing:
> @Comment blah blah blah
> @Comment blah blah blah

> Doing:
> M-: (goto-char 1) RET M-: (forward-comment 2) RET M-: (point) RET

> prints: 
> 1

> If @ is replaced with % (the other comment character), then
> forward-comment works as expected.

Last I looked at this, I decided not to change anything because I simply
couldn't figure out what is the syntax of comments in BibTeX.
I've found various textual descriptions, but they're all vague, and from my
tests against the actual implementation, they didn't seem to correspond to
any actual truth.

So please explain clearly what's the syntax of comments in BibTeX:
for both % and @comment, the two questions are
- where can they appear?
- where does the comment end?


        Stefan




reply via email to

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