From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23461: perl-mode: Displaying HERE-docs as strings instead of comments [PATCH] Date: Wed, 23 Dec 2020 14:06:01 -0500 Message-ID: References: <87sg7xxo0s.fsf@hajtower> <87zh24611c.fsf@hajtower> <87r1ng5pj8.fsf@hajtower> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34786"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 23461@debbugs.gnu.org To: haj@posteo.de (Harald =?UTF-8?Q?J=C3=B6rg?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 23 20:07:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ks9Tc-0008ru-25 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 20:07:12 +0100 Original-Received: from localhost ([::1]:47498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks9Tb-0004Tt-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 14:07:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks9TS-0004Tk-9O for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 14:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks9TS-0005gp-19 for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 14:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ks9TR-0006uB-Sr for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 14:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Dec 2020 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23461 X-GNU-PR-Package: emacs Original-Received: via spool by 23461-submit@debbugs.gnu.org id=B23461.160875037126476 (code B ref 23461); Wed, 23 Dec 2020 19:07:01 +0000 Original-Received: (at 23461) by debbugs.gnu.org; 23 Dec 2020 19:06:11 +0000 Original-Received: from localhost ([127.0.0.1]:54188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks9Sc-0006sx-Rp for submit@debbugs.gnu.org; Wed, 23 Dec 2020 14:06:11 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks9Sb-0006si-6C for 23461@debbugs.gnu.org; Wed, 23 Dec 2020 14:06:09 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1969B100486; Wed, 23 Dec 2020 14:06:04 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 94778100410; Wed, 23 Dec 2020 14:06:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1608750362; bh=qvFioYkX38Id6S/S3mgDviknP477KSI5QLJfJfw0EZk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=L40VF9luYEkYvm4CYy/N9804yWyryC/KZ66SkusJ2hcdJcx/oRQMhDEwP1EbprBOl sTBSyeADKafePoXLulqRUJbv5AFG6nfZi4VqZc920CqlyA/VaGaabV60F1Lk/lYMMt Z6JhKjoOWuiBdcHofCi2Tht9TkbDx4+3vjIbAnLPLg97NgfCu3mjS+RGra28YJPIkK T9SQ3Zv4+mCt7ZHeAwdMNuWuEb2BQIkkYh8q57JEQmSxh0O5pk7f5tCbLCE8CJAqXc phnnzc4I8xY6vdbkmjchrfHU1ODry3egae9+mF9mCcIepazdrEwcPua2cEgM2s2fS7 49uV8MzWCQOQA== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 27A9B120340; Wed, 23 Dec 2020 14:06:02 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Wed, 23 Dec 2020 14:04:27 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196634 Archived-At: > I suspect that shifting the "here-doc start" to the next line (in the > "#\n" case only) and placing a `syntax-multiline` property on all three > chars (#, \n, and the first char of the next line) will be our least > bad option. BTW, the `syntax-multiline` property only "works" if/after you add `syntax-propertize-multiline` to `syntax-propertize-extend-region-functions`. Stefan