From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: CC mode bug in branch Date: Fri, 29 Feb 2008 13:19:59 -0500 Message-ID: <87prufr5f4.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204309317 25738 80.91.229.12 (29 Feb 2008 18:21:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 18:21:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 19:22:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JV9sF-0004Gb-4B for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 19:22:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV9ri-00059S-VG for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 13:21:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JV9re-00058y-MZ for emacs-devel@gnu.org; Fri, 29 Feb 2008 13:21:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JV9rb-00058K-7t for emacs-devel@gnu.org; Fri, 29 Feb 2008 13:21:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV9ra-00058H-Qn for emacs-devel@gnu.org; Fri, 29 Feb 2008 13:21:42 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JV9ra-0005UX-9l for emacs-devel@gnu.org; Fri, 29 Feb 2008 13:21:42 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 2D1BE4E3F9; Fri, 29 Feb 2008 13:19:59 -0500 (EST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90901 Archived-At: Alan, 2008-02-25 Alan Mackenzie * progmodes/cc-mode.el (c-neutralize-syntax-in-CPP): Fix a bug on typing "#" at EOB. This introduced a serious bug into CC mode on the branch. To reproduce, 1. emacs -Q emacs/src/xdisp.c 2. /* This triggers an error: "Invalid search bound (wrong side of point)" With debug-on-error on: Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)") search-forward-regexp("^\\s *#\\s *" 3 t) c-neutralize-syntax-in-CPP(2 3 0) c-after-change(2 3 0) self-insert-command(1) c-electric-star(nil) call-interactively(c-electric-star) Please fix this ASAP, thanks.