From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19873: Ill-formed regular expression is constructed in forward-paragraph. Date: Tue, 07 Mar 2017 18:47:47 +0200 Message-ID: <83mvcxghjg.fsf@gnu.org> References: <20150215103122.GA3282@acm.fritz.box> <87o9xodhq4.fsf@jane> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488905356 31061 195.159.176.226 (7 Mar 2017 16:49:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2017 16:49:16 +0000 (UTC) Cc: acm@muc.de, 19873@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 07 17:49:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clIIO-00074K-NK for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Mar 2017 17:49:08 +0100 Original-Received: from localhost ([::1]:51642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clIIV-0008Ri-0B for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Mar 2017 11:49:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clIIL-0008RZ-G1 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2017 11:49:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clIII-00086P-A7 for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2017 11:49:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clIII-000869-7D for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2017 11:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1clIII-0005ld-1I for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2017 11:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2017 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19873-submit@debbugs.gnu.org id=B19873.148890530522124 (code B ref 19873); Tue, 07 Mar 2017 16:49:01 +0000 Original-Received: (at 19873) by debbugs.gnu.org; 7 Mar 2017 16:48:25 +0000 Original-Received: from localhost ([127.0.0.1]:44819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clIHh-0005km-EW for submit@debbugs.gnu.org; Tue, 07 Mar 2017 11:48:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clIHf-0005kZ-MK for 19873@debbugs.gnu.org; Tue, 07 Mar 2017 11:48:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clIHX-0007Ak-Cr for 19873@debbugs.gnu.org; Tue, 07 Mar 2017 11:48:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clIHX-0007AW-96; Tue, 07 Mar 2017 11:48:15 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4080 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1clIHW-0000LY-Ct; Tue, 07 Mar 2017 11:48:14 -0500 In-reply-to: <87o9xodhq4.fsf@jane> (message from Marcin Borkowski on Sun, 26 Feb 2017 17:44:51 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:130315 Archived-At: > From: Marcin Borkowski > Date: Sun, 26 Feb 2017 17:44:51 +0100 > Cc: 19873@debbugs.gnu.org > > My first thought is to add a check whether paragraph-start and > paragraph-sep match something like > > "^\\^?\\[[[:space:]]+\\][+*]?" > > and if yes, make parstart/parsep equal to them, but without the matching > part. > > WDYT? Can you suggest a patch along these lines? Alan, any comments? Thanks.