emacs-devel
[Top][All Lists]
Advanced

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

Re: CC Mode Signals an Error


From: Alan Mackenzie
Subject: Re: CC Mode Signals an Error
Date: Mon, 25 Feb 2008 21:36:09 +0000
User-agent: Mutt/1.5.9i

Hi, Guanpeng!

On Mon, Feb 25, 2008 at 04:21:02PM +0800, Herbert Euler wrote:

> Hi Alan,

> I found cc mode signals an error.  To reproduce:

> 1. $ emacs -Q
> 2. C-x C-f x.c  (an empty file should be able to reproduce)
> 3. Type `#'

> Emacs signals an error: "End of buffer".  I have located the position
> that the error is signaled, it is in c-neutralize-syntax-in-CPP.  In
> the above use case, this function is invoked as follows:

> (c-neutralize-syntax-in-CPP 1 2 0)
> error--> End of buffer

> Oops, I forgot to fill the subject field.

No problems!

I've fixed the bug and commited the fix to savannah (in cc-mode.el).
Thanks for the report.

> Regards,
> Guanpeng Xu

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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