GNU bug report logs - #5395
cc-mode raises on typing '>' in #include

Previous Next

Packages: emacs, cc-mode;

Reported by: Daniel Colascione <daniel <at> censorshipresearch.org>

Date: Sat, 16 Jan 2010 00:24:02 UTC

Severity: normal

Merged with 5426

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 5395 <at> debbugs.gnu.org, Daniel Colascione <daniel <at> censorshipresearch.org>
Subject: bug#5395: cc-mode raises on typing '>' in #include
Date: Mon, 18 Jan 2010 20:03:47 +0000
Hello, Yidong and Daniel,

On Mon, Jan 18, 2010 at 12:00:17PM -0500, Chong Yidong wrote:
> > Check out latest Emacs BZR.
> > Start with -Q
> > Visit an [empty] .cpp file
> > Type #include <foo>

> > After typing the closing '>', an error is raised. Here is the traceback

> Actually, I get an error as soon as I type #.

> Alan, I think this is due to your 2009-12-03 changes to the
> c-parse-state mechanism.  Could you take a look?

I feel the error is caused by the bug in

    Subject: (insert ?\n) spuriously calls before-change-functions twice.

which I reported on 2010-01-05 and have since fixed.  I haven't yet been
able to commit the fix due to not yet understanding bzr well enough.
Soon!

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 15 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.