From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#5851: 24.0.50; first character after opening quote often gets eaten in CC modes Date: Tue, 22 Feb 2011 23:39:31 +0200 Message-ID: <201102222339.31284.pogonyshev@gmx.net> References: <201004062321.07973.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298412425 9462 80.91.229.12 (22 Feb 2011 22:07:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 22:07:05 +0000 (UTC) To: 5851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 22 23:07:01 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ps0Np-00018o-4t for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 23:07:01 +0100 Original-Received: from localhost ([127.0.0.1]:36510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps0No-0001cr-GZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 17:07:00 -0500 Original-Received: from [140.186.70.92] (port=50397 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps0Nf-0001bU-KH for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 17:06:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps0Ne-0000Kc-OQ for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 17:06:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps0Nd-0000K4-EO; Tue, 22 Feb 2011 17:06:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Przze-0006fZ-Ln; Tue, 22 Feb 2011 16:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 22 Feb 2011 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5851 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 5851-submit@debbugs.gnu.org id=B5851.129841088525593 (code B ref 5851); Tue, 22 Feb 2011 21:42:02 +0000 Original-Received: (at 5851) by debbugs.gnu.org; 22 Feb 2011 21:41:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Przz2-0006ek-SI for submit@debbugs.gnu.org; Tue, 22 Feb 2011 16:41:25 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Przyz-0006eV-2u for 5851@debbugs.gnu.org; Tue, 22 Feb 2011 16:41:22 -0500 Original-Received: (qmail invoked by alias); 22 Feb 2011 21:41:14 -0000 Original-Received: from unknown (EHLO gonzo.localnet) [91.149.173.100] by mail.gmx.net (mp053) with SMTP; 22 Feb 2011 22:41:14 +0100 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1/PCOJ9IefPJN3LImrahIcyIbM/r/IfXydHz17Os7 D1zvlGa6hBBVWp User-Agent: KMail/1.13.5 (Linux/2.6.37-1-amd64; KDE/4.4.5; x86_64; ; ) In-Reply-To: <201004062321.07973.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 22 Feb 2011 16:42:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44309 Archived-At: FWIW the bug is still present. I get this backtrace (2011-02-19 build): (error "Invalid search bound (wrong side of point)") signal(error ("Invalid search bound (wrong side of point)")) byte-code("b\210\302 @ A\"\207" [start err signal] 3) c-syntactic-re-search-forward("[;{}]" 8510 end) c-before-change-check-<>-operators(6462 6462) #[(fn) " \n\"\207" [fn beg end] 3](c-before-change-check-<>-operators) mapc(#[(fn) " \n\"\207" [fn beg end] 3] (c-extend-region-for-CPP c-before-change-check-<>-operators)) c-before-change(6462 6462) self-insert-command(1) call-interactively(self-insert-command nil nil) I cannot find a reliable way to reproduce, but it happens often enough. Apparently, buffers not touched in quite a while are more prone. I.e. open a C++ file and leave it alone for 5 minutes. Then switch to the buffer and type outside any string a double quote following by any other character --- the second character will likely get eaten with an error as above. M-x toggle-debug-on-error helps spotting it. Paul