GNU bug report logs - #22156
CC Mode 5.33 (C++/l); Strange end-of-buffer error

Previous Next

Package: cc-mode;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Sun, 13 Dec 2015 05:16:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 22156-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Michael Welsh Duggan <mwd <at> md5i.com>
Cc: 22156-done <at> debbugs.gnu.org
Subject: Re: bug#22156: CC Mode 5.33 (C++/l); Strange end-of-buffer error
Date: Tue, 22 Dec 2015 16:39:56 +0000
Hello, Michael.

On Tue, Dec 22, 2015 at 01:13:38AM -0500, Michael Welsh Duggan wrote:
> Alan Mackenzie <acm <at> muc.de> writes:

[ .... ]

> >> Emacs  : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit)
> >>  of 2015-11-26
> >> Package: CC Mode 5.33 (C++/l)
> >> Buffer Style: SiLK
> >> c-emacs-features: (pps-extended-state col-0-paren posix-char-classes
> >> gen-string-delim gen-comment-delim syntax-properties 1-bit)

> > [ Dump of CC Mode's state snipped, but appreciated. ]

> > The cause was a simple coding error: after searching forward (for a
> > closing >), c-forward-<>-arglist-recur failed to set point back to the
> > starting place before trying the next possibility.

> > Here is a patch which I hope fixes things.  Please let me know whether
> > or not it works satisfactorily.

> I can confirm that this seems to fix the problem.

Thanks.  I've committed the fix (both to SourceForge and savannah
emacs-25 branch) and am marking this bug as closed.

> -- 
> Michael Welsh Duggan
> (md5i <at> md5i.com)

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 9 years and 151 days ago.

Previous Next


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