From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18022: 24.3; Emacs hard locks when attempting to do a replacement with ^M in it. Date: Sat, 04 Oct 2014 18:31:20 -0400 Message-ID: References: <83ha2i901p.fsf@gnu.org> <8338e28t9r.fsf@gnu.org> <20140716214144.GA4052@acm.acm> <20140719203310.GA12706@acm.acm> <20140723184146.GA2969@acm.acm> <20141004183822.GA3144@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412461958 6269 80.91.229.3 (4 Oct 2014 22:32:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 22:32:38 +0000 (UTC) Cc: Marty Rosenberg , 18022@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 00:32:28 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XaXsK-0008No-Of for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2014 00:32:28 +0200 Original-Received: from localhost ([::1]:45531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaXsK-0001pi-AT for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2014 18:32:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaXsA-0001pI-6u for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 18:32:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaXs2-0007Qf-HU for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 18:32:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaXru-0007Ps-Fz; Sat, 04 Oct 2014 18:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XaXru-0005hd-6b; Sat, 04 Oct 2014 18:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 04 Oct 2014 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18022 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 18022-submit@debbugs.gnu.org id=B18022.141246188921879 (code B ref 18022); Sat, 04 Oct 2014 22:32:02 +0000 Original-Received: (at 18022) by debbugs.gnu.org; 4 Oct 2014 22:31:29 +0000 Original-Received: from localhost ([127.0.0.1]:33297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaXrM-0005gm-Nd for submit@debbugs.gnu.org; Sat, 04 Oct 2014 18:31:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:57749) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaXrI-0005gd-KQ for 18022@debbugs.gnu.org; Sat, 04 Oct 2014 18:31:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giYBAQRWIxALDiYSFBgNJIgM0hkXjnoHhDgEqRmBaoFxgVsh X-IPAS-Result: ArYGAIDvNVNFxKjo/2dsb2JhbABZgwaDSr0vgw6BFxd0giYBAQRWIxALDiYSFBgNJIgM0hkXjnoHhDgEqRmBaoFxgVsh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="91685738" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO ceviche.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Oct 2014 18:31:23 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C426C66094; Sat, 4 Oct 2014 18:31:20 -0400 (EDT) In-Reply-To: <20141004183822.GA3144@acm.acm> (Alan Mackenzie's message of "Sat, 4 Oct 2014 18:38:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94139 Archived-At: >> === modified file 'src/syntax.c' >> *** src/syntax.c 2014-07-09 23:39:58 +0000 >> --- src/syntax.c 2014-07-23 18:26:45 +0000 >> *************** >> *** 825,831 **** >> { >> from = comment_end; >> from_byte = comment_end_byte; >> ! UPDATE_SYNTAX_TABLE_FORWARD (comment_end - 1); >> } >> /* If comstart_pos is set and we get here (ie. didn't jump to `lossage' >> or `done'), then we've found the beginning of the non-nested comment. */ >> --- 825,831 ---- >> { >> from = comment_end; >> from_byte = comment_end_byte; >> ! UPDATE_SYNTAX_TABLE_FORWARD (comment_end); >> } >> /* If comstart_pos is set and we get here (ie. didn't jump to `lossage' >> or `done'), then we've found the beginning of the non-nested comment. */ This looks right, sorry for the delay, Stefan