Stefan Monnier <[EMAIL PROTECTED]> 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.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug