From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qOXvEySyjmC++gAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 16:07:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SBiaDySyjmCDLgAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 14:07:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9EA7225A3B for ; Sun, 2 May 2021 16:07:31 +0200 (CEST) Received: from localhost ([::1]:56542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldCks-0000BS-7t for larch@yhetil.org; Sun, 02 May 2021 10:07:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldCjN-0000B1-JW for emacs-orgmode@gnu.org; Sun, 02 May 2021 10:05:57 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:39868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldCjJ-0006mN-KI for emacs-orgmode@gnu.org; Sun, 02 May 2021 10:05:57 -0400 Received: by mail-wm1-x329.google.com with SMTP id i21-20020a05600c3555b029012eae2af5d4so4276043wmq.4 for ; Sun, 02 May 2021 07:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4PAaX5Oip2o2OEjI6ljbHzXs9fqOukoan58Ql9vmYI0=; b=rQ+NbRqUdXM4bOkyD90R3GC58v2903du7I4SOKZwL8UH1suSwyLkAoXa1WAFw+yJBF mxsJbyYEMBHRwJ9ASZhyKjIJl7Rq7bOITwXyN/iQaVWuz26uEiOGzdiSWbMIF5oZcJYH fgQCmRfWF/Hj57FRmOCaNdZbijptdMzRXMSidXsxiAhkub/nzERCMBaFrvt7DNAAHhyu etPzahZHwv/gtyC8kqaYvHyHwT/8gKu6sHgMWz2ujIOJgK2eNnkrNajXRU9QHq5VqRah uc82NmJ5mh+Y46OHtGFKJ1ZaLlbhCOSsv8bOyeebY0HPq4zFUnG8b26I26Fx30vKgFHo 2jpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4PAaX5Oip2o2OEjI6ljbHzXs9fqOukoan58Ql9vmYI0=; b=dAF5K07hHtcfGZbHNReJ5pBU8hBSfr8YXMtPLSurvvQ9n7nhv/IjDeGBOdZCqH6hjC Y9O+7YR5lyGywkteqFQaowm5GFG0kVssE0A+qzWNajEtWaN6RxXH/YZe3tC6KhHIKkcw O67PMvNAJnF2CwhDTurb2L5OPLWOAd6LAt7u+6MoLgYsKg6u1ikrGH0r5jvfBaBbkYw7 gtodHkgK4sRQMFeLOEm4jjaBBtzkqVg8/TK6Zwbvd1gAq5rM6MSuiibtvfHuRrkoDSH4 bqPEJmZQLF7hrxW9h32AemdfUljEkl4L3Ml8g5AHxmXUJn1T243vRNc+X3UCxg6huwZR ObBw== X-Gm-Message-State: AOAM531fhamf6rPiriewsuSeKX9Qc3Q+DlinydRZuIlliSlzXJOHwtWf cCL3nmqbLtS49mHH2j/xPiKH35FMcsCjl1ch1MkRNw== X-Google-Smtp-Source: ABdhPJx2Y00F2xg3omquc65S9iib+nek6LlrBA567BwS3gSQqAlGJt1q5vs9SVHJdPXQgxXa9Cd9Ea2T8pk8pjY03zk= X-Received: by 2002:a1c:2c85:: with SMTP id s127mr16499639wms.83.1619964352122; Sun, 02 May 2021 07:05:52 -0700 (PDT) MIME-Version: 1.0 References: <1390851.1619958525@apollo2.minshall.org> In-Reply-To: <1390851.1619958525@apollo2.minshall.org> From: Diego Zamboni Date: Sun, 2 May 2021 16:05:41 +0200 Message-ID: Subject: Re: <> and ?font-lock? fly-check, ... To: Greg Minshall Content-Type: multipart/alternative; boundary="000000000000c1df3705c1595737" Received-SPF: none client-ip=2a00:1450:4864:20::329; envelope-from=diego@zzamboni.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619964452; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4PAaX5Oip2o2OEjI6ljbHzXs9fqOukoan58Ql9vmYI0=; b=SBvIFDwysVEtBTNkqU/xMj/kBhXpNY9qv7OCoRKQ9T9fgRNd3AZ+6dcNisqCPetiE9he/k kG9ZWBF/Gwi/VjQOxw1mE/SQZ1SP62CEakGNc4tISamWzZph9xkonK5AZyjpVN+Y4+8O9r itaOYTxr3jWe08IyIdDZiY/2egqEEbfyGoJFA1YUFzmmZTzZZkZ7rVHLpYFcVcKDjX5uiJ VCIFbMTl2lf1tKlm8kXPOTZZWAVAbtAiOKaPBZ+i+XaJdXI49nXjGVUpuXNYO/ifNVhH2m HPnwBq3FVKmZ1v6Q2a5btMXGuO6dD44BSjyrymaNo5hzwGd8kQz78dUT03FQBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619964452; a=rsa-sha256; cv=none; b=Rzs/X/+uvxupiZdDPFhjDVMv3gbZeYx4qcMfTT6qb5BAHfepd7d+M6WwaC2r1D9UvHlWxX uRsZL/48YZ/z306jCtxhQI76YZtX3YRD0T6TlztwsVC9y+2hoy+i0bFJbrihmLTeIJe2No 1o0qOUR8T/q6dnEsgFDmFaAKWkb68TfDw1T9SQMLyrmHthxAQqtRM0y2fGL9g4KS3J2LW/ Jr8cyaj2Zilyv0PF3iGn1QgteMGytMJefTlYfKt8kEhkk7oAwsnn+baIJDFS0oDXskk9Rs Tr3Y5FgCjeJ5E+aeK1kE6KDIz4JOtqYrV6oTrTln8nxU5Xl3Bm+diGwYvx5sQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=rQ+NbRqU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=rQ+NbRqU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9EA7225A3B X-Spam-Score: -1.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: grwq+/4VHEmD --000000000000c1df3705c1595737 Content-Type: text/plain; charset="UTF-8" I don't think there's an easy way to fix this - since src blocks are fontified using the mode for the corresponding language. Particularly in shell script, since << has a meaning in the language ("here" input), I assume this is why the rest of the block gets fontified differently. Best, --Diego On Sun, May 2, 2021 at 2:29 PM Greg Minshall wrote: > hi, all. > > using a <> reference in a bash source block, the buffer's font > lock colors go south on lines folowing the <> reference. (in my > case, all remaining lines in the buffer are colored bright yellow). the > major and minor modes are as listed below. > > is there an obvious thing to do to either get whatever syntax checker is > running to ignore the <> reference, or some such? > > thanks in advance, Greg > > major mode: Shell-script[bash] > > Enabled minor modes: Async-Bytecomp-Package Auto-Composition > Auto-Compression Auto-Encryption Blink-Cursor Electric-Indent > File-Name-Shadow Flycheck Font-Lock Global-Eldoc Global-Flycheck > Global-Font-Lock Line-Number Marginalia Menu-Bar Mouse-Wheel > My-Global-Subword Org-Src Override-Global Selectrum > Sh-Electric-Here-Document Shell-Dirtrack Straight-Package-Neutering > Straight-Use-Package Subword Tooltip Transient-Mark Yas Yas-Global > > --000000000000c1df3705c1595737 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't think there's an easy way to fix this - si= nce src blocks are fontified using the mode for the corresponding language.= Particularly in shell script, since << has a meaning in the language= ("here" input), I assume this is why the rest of the block gets = fontified differently.

Best,
--Diego


On Sun, May 2, 2021 at 2:29 PM Greg Minshall <minshall@umich.edu> wrote:
hi, all.

using a <<noweb>> reference in a bash source block, the buffer&= #39;s font
lock colors go south on lines folowing the <<noweb>> reference.= =C2=A0 (in my
case, all remaining lines in the buffer are colored bright yellow).=C2=A0 t= he
major and minor modes are as listed below.

is there an obvious thing to do to either get whatever syntax checker is running to ignore the <<noweb>> reference, or some such?

thanks in advance, Greg

major mode: Shell-script[bash]

Enabled minor modes: Async-Bytecomp-Package Auto-Composition
Auto-Compression Auto-Encryption Blink-Cursor Electric-Indent
File-Name-Shadow Flycheck Font-Lock Global-Eldoc Global-Flycheck
Global-Font-Lock Line-Number Marginalia Menu-Bar Mouse-Wheel
My-Global-Subword Org-Src Override-Global Selectrum
Sh-Electric-Here-Document Shell-Dirtrack Straight-Package-Neutering
Straight-Use-Package Subword Tooltip Transient-Mark Yas Yas-Global

--000000000000c1df3705c1595737--