From unknown Fri Jun 13 10:26:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38658 <38658@debbugs.gnu.org> To: bug#38658 <38658@debbugs.gnu.org> Subject: Status: perl-mode: EOF in same color as here doc text Reply-To: bug#38658 <38658@debbugs.gnu.org> Date: Fri, 13 Jun 2025 17:26:47 +0000 retitle 38658 perl-mode: EOF in same color as here doc text reassign 38658 emacs submitter 38658 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson severity 38658 minor tag 38658 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 08:42:23 2019 Received: (at submit) by debbugs.gnu.org; 18 Dec 2019 13:42:23 +0000 Received: from localhost ([127.0.0.1]:42771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihZap-0001Xo-03 for submit@debbugs.gnu.org; Wed, 18 Dec 2019 08:42:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:38918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihZam-0001Xh-7q for submit@debbugs.gnu.org; Wed, 18 Dec 2019 08:42:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60723) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihZak-00066c-VY for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 08:42:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihZaj-0001j6-NV for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 08:42:18 -0500 Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:57480) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ihZaj-0001Vr-9T for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2019 08:42:17 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 157DF34150B for ; Wed, 18 Dec 2019 13:42:15 +0000 (UTC) Received: from pdx1-sub0-mail-a98.g.dreamhost.com (100-96-15-224.trex.outbound.svc.cluster.local [100.96.15.224]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 99C273416F6 for ; Wed, 18 Dec 2019 13:42:14 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a98.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 18 Dec 2019 13:42:15 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Fumbling-Army: 630905b32e4a07d7_1576676534866_990541311 X-MC-Loop-Signature: 1576676534866:3658345823 X-MC-Ingress-Time: 1576676534866 Received: from pdx1-sub0-mail-a98.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a98.g.dreamhost.com (Postfix) with ESMTP id 346307F5C0 for ; Wed, 18 Dec 2019 05:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=CfFawVF3oe4vStIx9oFE7NJDS8k=; b=bgfEwWi5fp4FMQYq iPf2ouZD3Lf5UZ3Buqx2qXRYkgicdyLXwzNaxRq1Ze5IuklejrrLIkwJiU+jj7Sh ESrTzQPgq/Pt8tLM69gyi983ak7wGnn4WXaMOaGlK5d7oEI7PkcB2hnu3yrL1R33 muvX/yL4xtX7ucaRFnHQb8Yc9tU= Received: from jidanni.org (1-170-85-72.dynamic-ip.hinet.net [1.170.85.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a98.g.dreamhost.com (Postfix) with ESMTPSA id 120507F247 for ; Wed, 18 Dec 2019 05:42:07 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a98 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: perl-mode: EOF in same color as here doc text Date: Wed, 18 Dec 2019 21:39:13 +0800 Message-ID: <871rt1oiri.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvddtledgheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddrudejtddrkeehrdejvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedurddujedtrdekhedrjedvpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.35 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) $ nl e.pl 1 print <) id 1k3dBx-0001rp-8E for submit@debbugs.gnu.org; Thu, 06 Aug 2020 06:32:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3dBv-0001ka-5R for 38658@debbugs.gnu.org; Thu, 06 Aug 2020 06:32:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Vu4MsAiMz0Bo6s5a7wun3xRG1Pl/tdACcemoOpWXA/8=; b=I/ezVW9tNV4W1e8cZq5PaQGUBm FNfT476+acKWxaJEmV/ikFoHMg31n+wMCHNRloV/UhS41PwfixkKnUIeMxUB4O0adHkzUMdZVaImT i5rG4WWV4do91lhpNt54wGS5imdBw8uycPRSvLmyRBaxmFMCqTf0YjTguvwSlxWFzQP8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3dBl-0000HT-F7; Thu, 06 Aug 2020 12:32:00 +0200 From: Lars Ingebrigtsen To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#38658: perl-mode: EOF in same color as here doc text References: <871rt1oiri.5.fsf@jidanni.org> Date: Thu, 06 Aug 2020 12:31:55 +0200 In-Reply-To: <871rt1oiri.5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Wed, 18 Dec 2019 21:39:13 +0800") Message-ID: <87lfisdq04.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 積丹尼 Dan Jacobson writes: > $ nl e.pl > 1 print < 2 bla > 3 EOF > $ emacs e.pl > > Why is line 1 in color A, and lines 2 and 3 in color B? > How about instead lines 1 and 3 in color A, and line 2 in color B? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38658 Cc: 38658@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > $ nl e.pl > 1 print < 2 bla > 3 EOF > $ emacs e.pl > > Why is line 1 in color A, and lines 2 and 3 in color B? > How about instead lines 1 and 3 in color A, and line 2 in color B? This is apparently due to the following code: (defun perl-syntax-propertize-special-constructs (limit) [...] ;; A Here document. (let ((names (cdr (get-text-property (nth 8 state) 'syntax-table)))) (when (cdr names) (setq names (reverse names)) ;; Multiple heredocs on a single line, we have to search from the ;; beginning, since we don't know which names might be ;; before point. (goto-char (nth 8 state))) (while (and names (re-search-forward (pcase-let ((`(,name . ,indented) (pop names))) (concat "^" (if indented "[ \t]*") (regexp-quote name) "\n")) limit 'move)) (unless names (put-text-property (1- (point)) (point) 'syntax-table (string-to-syntax "> c")))))) We apparently want to put that syntax on at the end of the heredoc, but stop fontifying at the start of the final EOF. I poked around a bit in the code to see whether I could make it do that, and... I can't. So I'm Cc-ing Stefan, who wrote this. :-) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 06:32:16 2020 Received: (at control) by debbugs.gnu.org; 6 Aug 2020 10:32:16 +0000 Received: from localhost ([127.0.0.1]:53251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3dC4-0001xO-Gz for submit@debbugs.gnu.org; Thu, 06 Aug 2020 06:32:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3dC2-0001ri-B7 for control@debbugs.gnu.org; Thu, 06 Aug 2020 06:32:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kIpAXhBL1oNF/33L4F5VvlOrtzbK2fZlik1bNY5/ui4=; b=JaAsEGs1asLX7UeySAtCHmBdGI heqDGGeZk6POnLdzt1pGX/9aHlHM4iQBC0walYgXfKSmO5xppt8lUthrjVJ/Q3Rsz9nwi0O7d/Jie v2PTNMaDBXsqE5FrJ5lu8NTwJGZ0vqXR2d9r4IOy1Wi5UaeVmaOFuUOiIK9KWLeC0p/Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3dBu-0000He-In for control@debbugs.gnu.org; Thu, 06 Aug 2020 12:32:08 +0200 Date: Thu, 06 Aug 2020 12:32:05 +0200 Message-Id: <87k0ycdpzu.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38658 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 38658 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 38658 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 06 10:39:17 2020 Received: (at 38658) by debbugs.gnu.org; 6 Aug 2020 14:39:18 +0000 Received: from localhost ([127.0.0.1]:54699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3h37-0002gO-Nh for submit@debbugs.gnu.org; Thu, 06 Aug 2020 10:39:17 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3h35-0002g9-DO for 38658@debbugs.gnu.org; Thu, 06 Aug 2020 10:39:15 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A1C98440FFB; Thu, 6 Aug 2020 10:39:09 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 22568440FE5; Thu, 6 Aug 2020 10:39:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1596724748; bh=2X72gzqnRhdqxODHnm9jZPdznLWMBxFNkz9ClRU7IFE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KnMGNmN1kiPFKIZgL5qbq8c6rHg8Fx3TEo6lDxGiuV/CBz68ZNmp9qJOYjbjlPgB0 nX13Q1oeu6IzPHhgM0cqacAunJvG5Y4qAJX8RY5emTuY/9/vl06yl/RCG4CRHWJHyf wB5LIrT31cNm5KgIQgZFPywJ/bnu7EXYnNl5b6wNix7DGGLWO9xsdKdvfkIRVHaTYX biKqV2XVucqf+5TnRkmANtwRX/eAk5rOfCsLMEU2FwdmrTJVN1PuImoFEKkFv6KUYZ SAplrxFJSk/6fl3C7j4wcujYAJGbKQ98+cKFLtAG1YJ3cVR40IQYeD5jPX0FfR4aEV RYKGgo/LNRE2w== Received: from milanesa (unknown [45.72.246.108]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D8BE51207B8; Thu, 6 Aug 2020 10:39:07 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#38658: perl-mode: EOF in same color as here doc text Message-ID: References: <871rt1oiri.5.fsf@jidanni.org> <87lfisdq04.fsf@gnus.org> Date: Thu, 06 Aug 2020 10:39:00 -0400 In-Reply-To: <87lfisdq04.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 06 Aug 2020 12:31:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.001 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38658 Cc: 38658@debbugs.gnu.org, =?utf-8?B?56mN5Li55bC8?= Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) First, I'll note that all the rest of font-lock highlights the comment and string delimiters the same as the comment and string contents, except for the `font-lock-comment-delimiter-face`, so you might like to check how `font-lock-comment-delimiter-face` is done. > We apparently want to put that syntax on at the end of the heredoc, but > stop fontifying at the start of the final EOF. Rather than "not fontify" the delimiter, I think it'll be much easier to add extra fontification to it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 02:49:51 2020 Received: (at 38658) by debbugs.gnu.org; 7 Aug 2020 06:49:51 +0000 Received: from localhost ([127.0.0.1]:55529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wCN-0003O1-9L for submit@debbugs.gnu.org; Fri, 07 Aug 2020 02:49:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3wCK-0003No-8w for 38658@debbugs.gnu.org; Fri, 07 Aug 2020 02:49:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OiOP5bhTaRXkiXe804imcVXmN30A/Gm6kyBoW9Pq5do=; b=smcVxC5SckKYc1Ne6nsXBsMVKd rDjcE9yIBPfeALVvrQt/YB5SbEqW5PxoAUVjnMpAu/tjMG6lJDXZ+meZcFUUd1swE3tatUCuHuooS bPSKyH69+lotu56J5d4YFQkcODVVHaXVW+zdUbTyaKYhw7Q3WSMVD2SyGIzs8k4nr4WI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3wC6-0003qV-BT; Fri, 07 Aug 2020 08:49:40 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#38658: perl-mode: EOF in same color as here doc text References: <871rt1oiri.5.fsf@jidanni.org> <87lfisdq04.fsf@gnus.org> Date: Fri, 07 Aug 2020 08:49:32 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 06 Aug 2020 10:39:00 -0400") Message-ID: <87r1sj7xxf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > First, I'll note that all the rest of font-lock highlights the comment > and string delimiters the same as the comment and string contents, > except for the `font-lock-comment-delimiter-face`, so yo [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38658 Cc: 38658@debbugs.gnu.org, =?utf-8?B?56mN5Li55bC8?= Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: > First, I'll note that all the rest of font-lock highlights the comment > and string delimiters the same as the comment and string contents, > except for the `font-lock-comment-delimiter-face`, so you might like to > check how `font-lock-comment-delimiter-face` is done. Hm, right... I just noticed that heredocs in .sh files are fontified identically to in Perl-mode, by the way. >> We apparently want to put that syntax on at the end of the heredoc, but >> stop fontifying at the start of the final EOF. > > Rather than "not fontify" the delimiter, I think it'll be much easier to > add extra fontification to it. Right. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 06:12:13 2020 Received: (at control) by debbugs.gnu.org; 7 Aug 2020 10:12:13 +0000 Received: from localhost ([127.0.0.1]:55784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3zMC-0000P8-RI for submit@debbugs.gnu.org; Fri, 07 Aug 2020 06:12:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3zMB-0000Os-CU for control@debbugs.gnu.org; Fri, 07 Aug 2020 06:12:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TfErHEm7IYi6xFAux6O2cZzies0VgNEgIb8wCjU19Ug=; b=Ub31Tx1H+WGTtZjkODf4ZjyyDH 6seWl67AqcrWeH25UH7+FRhmaxoGSSY0+Ytj9Sz2q04kWB5sCAhOdwW8WoQAvWcgMYTUHRRkGE01u BdeA3bwgOCz6DtM6Oo+7qgOEl4T/9BqTJbESv45uBVOxpso3/AsIjA0FMmLonJ1PWw8o=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3zM3-0005mO-L5 for control@debbugs.gnu.org; Fri, 07 Aug 2020 12:12:05 +0200 Date: Fri, 07 Aug 2020 12:12:02 +0200 Message-Id: <87364y69zh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38658 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 38658 17980 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 38658 17980 quit