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#27697: #27254 patch Date: Sat, 22 Jul 2017 12:09:27 +0300 Message-ID: <831sp8aldk.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1500714614 29795 195.159.176.226 (22 Jul 2017 09:10:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 09:10:14 +0000 (UTC) Cc: 27697-done@debbugs.gnu.org To: vividsnow Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 22 11:10:10 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 1dYqQI-0007O6-AI for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jul 2017 11:10:06 +0200 Original-Received: from localhost ([::1]:46210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYqQO-0002ih-0n for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jul 2017 05:10:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYqQH-0002fh-QW for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 05:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYqQE-0004zi-Jo for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 05:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYqQE-0004zc-GE for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 05:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYqQE-0007To-C5 for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2017 05:10:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jul 2017 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27697@debbugs.gnu.org, eliz@gnu.org, vividsnow@gmail.com Original-Received: via spool by 27697-done@debbugs.gnu.org id=D27697.150071458428719 (code D ref 27697); Sat, 22 Jul 2017 09:10:02 +0000 Original-Received: (at 27697-done) by debbugs.gnu.org; 22 Jul 2017 09:09:44 +0000 Original-Received: from localhost ([127.0.0.1]:51880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYqPw-0007T9-AW for submit@debbugs.gnu.org; Sat, 22 Jul 2017 05:09:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYqPu-0007Sw-1H for 27697-done@debbugs.gnu.org; Sat, 22 Jul 2017 05:09:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYqPl-0004cJ-Ji for 27697-done@debbugs.gnu.org; Sat, 22 Jul 2017 05:09:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYqPl-0004cC-Gi; Sat, 22 Jul 2017 05:09:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3395 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dYqPk-0003rS-Um; Sat, 22 Jul 2017 05:09:33 -0400 In-reply-to: (message from vividsnow on Sat, 15 Jul 2017 02:13:52 +0300) 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:134851 Archived-At: > From: vividsnow > Date: Sat, 15 Jul 2017 02:13:52 +0300 > > diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el > index c0f1aaf39d..c69eca2241 100644 > --- a/lisp/progmodes/cperl-mode.el > +++ b/lisp/progmodes/cperl-mode.el > @@ -3734,7 +3734,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', > "\\(\\`\n?\\|^\n\\)=" ; POD > "\\|" > ;; One extra () before this: > - "<<" ; HERE-DOC > + "<<~?" ; HERE-DOC > "\\(" ; 1 + 1 > ;; First variant "BLAH" or just ``. > "[ \t]*" ; Yes, whitespace is allowed! > @@ -4000,7 +4000,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', > (setq b (point)) > ;; We do not search to max, since we may be called from > ;; some hook of fontification, and max is random > - (or (and (re-search-forward (concat "^" qtag "$") > + (or (and (re-search-forward (concat "^[ \t]*" qtag "$") > stop-point 'toend) > ;;;(eq (following-char) ?\n) ; XXXX WHY??? > ) Thanks, pushed.