From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: vividsnow Newsgroups: gmane.emacs.bugs Subject: bug#27697: #27254 patch Date: Sat, 15 Jul 2017 02:13:52 +0300 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------6700B9627BA3BDA2EAD36014" X-Trace: blaine.gmane.org 1500075144 27990 195.159.176.226 (14 Jul 2017 23:32:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2017 23:32:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: 27697@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 15 01:32:19 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 1dWA4H-0006ll-P6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jul 2017 01:32:18 +0200 Original-Received: from localhost ([::1]:40167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWA4L-0006lF-FC for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jul 2017 19:32:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWA45-0006fm-86 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:32:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWA42-0001dL-1T for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:32:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWA41-0001dH-UQ for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWA41-0003fC-Nv for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: vividsnow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jul 2017 23:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150007507814029 (code B ref -1); Fri, 14 Jul 2017 23:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 23:31:18 +0000 Original-Received: from localhost ([127.0.0.1]:39375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWA3K-0003eD-0O for submit@debbugs.gnu.org; Fri, 14 Jul 2017 19:31:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW9mi-0003ED-SV for submit@debbugs.gnu.org; Fri, 14 Jul 2017 19:14:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW9mc-0002JD-PE for submit@debbugs.gnu.org; Fri, 14 Jul 2017 19:14:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dW9mc-0002J7-Lc for submit@debbugs.gnu.org; Fri, 14 Jul 2017 19:14:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW9mb-0001Pu-L5 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:14:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW9mY-0002IT-Gu for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:14:01 -0400 Original-Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:35528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dW9mY-0002IK-8y for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 19:13:58 -0400 Original-Received: by mail-lf0-x22e.google.com with SMTP id b207so60922662lfg.2 for ; Fri, 14 Jul 2017 16:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=jI+hxviLNi0RnjClzTiqqfoKGgx9oT4aYAjOPuoSQek=; b=JgwlSNgtjXGBSe0nhH1J510/fkVajsyTOf7Cfo8WMQyGeNFj7SnEPohEsvMFWdeCva Oyi0B8ZC6rJ5LtkH6MURwUqr8wmPr034xCwxOvk+U1N6REZ41bon6IEoX3u/jwEUEDg2 BfFlhTt2iKaUD+qYIQdkzTzjF5MUjQgrxW+LrLTKyxloaadsOysVOE8RNGo7zLppmuWV mVhCPqXF0DZU5IiYVGs/lmC79fBZJBz5VE0XS8zM9/JZGtaQxbkNWYFJQQgdF1OVYhap 5EoNZKxnFiMq3JrhNJa7OFNvbDjs5uD+SFebfyn2FYn9XUVIlQ0IKF/4Z+Yqqs8zq2sD s6vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=jI+hxviLNi0RnjClzTiqqfoKGgx9oT4aYAjOPuoSQek=; b=pcSPiaxUnhfsAdifAAR0LxzycGZNjML5YITiI46JHa2U8DCIUAphC8H2eILB7Lr+Pb nmtgiDxSO+0IjZ9HWZG8RW4RPBwj9s5cLBIHZXz3ZcD5kIOWG36qWbdY+cAyvDvcmE5f qIYhUimmGtG5XN9/egz7daglwzeCtQWVzcQmgiksz9bBbkIPi3d1HqcPU938o/PuPOxY 8VJTt9rghjR8ALPP0nkQ8NeyMwob8PYryfPhwyvI12jPwtrkuD57BlE5tI5FM/7dR6Tp 24Hf9wWxeDwfojcSKfCHjiyWVNiVdXqpA41JdUkJgCy1Pk1Xddfz0k1MTb1GSPus1o2N ZGiA== X-Gm-Message-State: AIVw110ypobzQFzmHCz38rNky4AU/K3TCy7sZ+Hd6TolBIyyRkTunole 8EIJ+Wu05DshyzvEOvc= X-Received: by 10.25.15.74 with SMTP id e71mr3300213lfi.7.1500074035153; Fri, 14 Jul 2017 16:13:55 -0700 (PDT) Original-Received: from [0.0.0.0] ([91.218.231.35]) by smtp.gmail.com with ESMTPSA id b123sm2261757lfb.22.2017.07.14.16.13.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2017 16:13:53 -0700 (PDT) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 14 Jul 2017 19:31:17 -0400 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:134571 Archived-At: This is a multi-part message in MIME format. --------------6700B9627BA3BDA2EAD36014 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------6700B9627BA3BDA2EAD36014 Content-Type: text/x-patch; name="cperl-indented-heredocs.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cperl-indented-heredocs.diff" 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??? ) --------------6700B9627BA3BDA2EAD36014--