[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: |
Mon, 22 May 2006 11:48:32 -0700 |
Stefan Monnier <address@hidden> writes:
> >> >> >> Oh, and I forgot another problem: doing C-c C-c inside a comment
> >> >> >> throws a Wrong type argument: number-or-marker-p error.
> >>
> >> Hmmm... wrong type argument, you say?
> >>
> >> >> Given the context, you hopefully understand that "inside a comment" is
> >> >> a meaningless description of the circumstance.
> >> >> Please give a concrete example.
> >>
> >> > Create a new .bib file
> >> > Then type in it:
> >> > M-; blah blah C-c C-c
> >> > This is the original situation that I encountered.
> >> > But also the same thing happens if you type in a new file:
> >> > % blah blah C-c C-c
> >> > If you type in a new file:
> >> > @Comment {blah blah} C-c C-c
> >>
> >> > the error is "Search failed [snip a humongous regexp]"
> >>
> >> That's not a wrong type argument error any more. It's just complaining
that
> >> it can't find the BibTeX entry you're asking to format.
> >> The same happens without the "%" or the "@Comment".
>
> > Do you have some local changes?
>
> I was partly commenting on your bug-report, not just on the behavior I saw.
>
> > I still get the same errors with a freshly updated and bootstrapped
Emacs...
>
> Which error? The wrong type argument or the search failed?
Note "errors", so both of them.
> Does the patch below "help"?
It does, the wrong type argument error is replaced with a much nicer
"Not inside a bibtex entry" (but you probably knew that).
The "search failed" error is still present.
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, (continued)
- 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, 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 <=
- Re: forward-comment, C-M-a and C-M-e problems in bibtex-mode, Stefan Monnier, 2006/05/23