GNU bug report logs - #10941
[24.0.93.3] cc-mode: error in message buffer when "typing fast", characters eaten

Previous Next

Packages: cc-mode, emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmx.net>

Date: Sun, 4 Mar 2012 18:17:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Pogonyshev <pogonyshev <at> gmx.net>
Subject: bug#10941: closed (Re: bug#10941: [24.0.93.3] cc-mode: error in
 message buffer when "typing fast", characters eaten)
Date: Wed, 11 Apr 2012 18:22:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10941: [24.0.93.3] cc-mode: error in message buffer when "typing fast", characters eaten

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10941 <at> debbugs.gnu.org.

-- 
10941: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10941
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 10941-done <at> debbugs.gnu.org
Subject: Re: bug#10941: [24.0.93.3] cc-mode: error in message buffer when
	"typing fast", characters eaten
Date: Wed, 11 Apr 2012 18:19:09 +0000
(At least partially) fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).

[Message part 3 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [24.0.93.3] cc-mode: error in message buffer when "typing fast",
	characters eaten
Date: Sun, 4 Mar 2012 21:14:43 +0300
[Message part 4 (text/plain, inline)]
Sometimes (quite often) when opening a different syntax region --- a
quoted string, or block comment --- in C++ mode, the first character
after it gets eaten with some error message shown in the echo area.  I
managed to create a surefire (at least here) way to reproduce it.

* save the attached file as 'test.cpp' (it is quite large, but when I
  tried to shorten it substantially, error disappeared);

* start Emacs as 'emacs -Q test.cpp';

* issue Elisp command right at the start of the buffer with M-: (this
  emulates fast typing):

      (progn (insert "/*") (insert " "))

  note that two separate inserts are essential, with one "/* " error
  is not triggered;

* observer the following error:

      Debugger entered--Lisp error: (error "Invalid search bound
      (wrong side of point)")

Full Emacs version: GNU Emacs 24.0.93.3 (x86_64-unknown-linux-gnu,
GTK+ Version 2.24.10) of 2012-02-25 on gonzo

Paul
[test.cpp (text/x-c++src, attachment)]

This bug report was last modified 13 years and 126 days ago.

Previous Next


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