[Top][All Lists]
[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: |
Dan Nicolaescu |
Subject: |
Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode |
Date: |
Sun, 07 May 2006 15:26:07 -0700 |
martin rudalics <address@hidden> writes:
> > 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
> >
> > `forward-comment' should move the cursor if a comment follows the point.
>
> FWIW, this works for me correctly when I use curly braces as in
>
> @Comment{blah blah blah}
> @Comment{blah blah blah}
>
> But if I have a comment like
>
> @Comment{blah blah blah
> blah blah blah}
>
> the second line does not get highlighted with font-lock-comment-face.
Well, unfortunately the "@Comment blah blah blah" is what
`comment-dwim' inserts when commenting out a region, so it should be
supported...
> > The same is true for C-M-e.
>
> The doc-string of `bibtex-end-of-entry' contains the sentence "If inside
> an entry, move to the end of it, otherwise move to the end of the
> previous entry." which inherently contradicts the idea of moving to the
> end of the _following_ entry.
I would guess that is just a copy-and-paste error, it should say
"next" instead of "previous".
- forward-comment, C-M-a and C-M-e problems in bibtex-mode, Dan Nicolaescu, 2006/05/07
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, martin rudalics, 2006/05/07
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode,
Dan Nicolaescu <=
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/07
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Dan Nicolaescu, 2006/05/08
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/08
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/08
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Dan Nicolaescu, 2006/05/08
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/22
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Dan Nicolaescu, 2006/05/22
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/22
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Dan Nicolaescu, 2006/05/22
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/23