unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Herbert Euler <herberteuler@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: CC Mode Signals an Error
Date: Mon, 25 Feb 2008 21:36:09 +0000	[thread overview]
Message-ID: <20080225213609.GA4485@muc.de> (raw)
In-Reply-To: <BAY143-W1954728CF3EA72510D7E5BDA180@phx.gbl>

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	other threads:[~2008-02-25 21:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25  8:17 (no subject) Herbert Euler
2008-02-25  8:21 ` CC Mode Signals an Error Herbert Euler
2008-02-25 21:36   ` Alan Mackenzie [this message]
2008-02-26  1:02     ` Herbert Euler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080225213609.GA4485@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=herberteuler@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).