From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gMarOvYSJ2Qr3QAASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 19:05:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IL4yOvYSJ2TRGAAAauVa8A (envelope-from ) for ; Fri, 31 Mar 2023 19:05:58 +0200 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 E058211BAB for ; Fri, 31 Mar 2023 19:05:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piIB7-0007wu-Hp; Fri, 31 Mar 2023 13:04:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piIB4-0007wQ-UU for Emacs-orgmode@gnu.org; Fri, 31 Mar 2023 13:04:39 -0400 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piIB2-0004F1-Aj for Emacs-orgmode@gnu.org; Fri, 31 Mar 2023 13:04:38 -0400 Received: by mail-qk1-x72b.google.com with SMTP id de37so7135124qkb.7 for ; Fri, 31 Mar 2023 10:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-becker.org; s=google; t=1680282275; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iaL6IftxwzBdDTHtSqXvGHJfKuhZWd6fBNiQOpXV1ss=; b=HfoW7HX4wT9gMeUapxffKkvIp28JlrZXcxAmz54rM74muOidxcBB13J77hp4tU3gGY z0BKcscCZR9rZR3CX8irLpNRy6h8OI8GS+xB6nSPY0cmGII7eZSz9wsHPdikqzZXPKXk yx3ontkFvr8kQnH1yQlskxR9N2CMHyKVVit6O0FK3kai5gmCXAczr58uWuz313Zfm46/ pfzJXmyTkexkdWSdmReet2PWnz21ereIaJEAT+isZAc4JWlDwn1KsfTZ4dzKLluZZT3u G1yTL+kGj/L0dz62fI0Qp4WpQgRJ7ZExj/DEbLW2QG2TVrtxfH+h981qPmgvN5Qs/JGz RotA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680282275; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iaL6IftxwzBdDTHtSqXvGHJfKuhZWd6fBNiQOpXV1ss=; b=T2Yj0I5ypPmYiZtW/9ToG9Io/u241b7YR0AYuMss5p5+HAQIKH04vwpwXgikXNz9qP hyAhN/YehbgJe3RG4C1dZ1Gjnm4HGjdeVW0AkVuFpyc2dKNBjeWJScGaS6fMaag18LqB LKkUoyErznBZqiaP/4eAuv6bTUgCmcHg1Cx9AkmlMFt5952C4OgNriVHjgnfiQjvtJHK psoGOn1N7kcY1gaQWklh7Q8RX0IUMWl5MaPw9cHCsznXUXe2V4ueWW5cBsHFjcc26D0u fIAHmjgWUEEwXA+c+eL/kP/mNTUXa/CmJoegU+wRIWO7w+c2qaarXUi1V1xe4GrIpIrU wDFQ== X-Gm-Message-State: AO0yUKVUMcpPEHjQCCP/kSudck1oiugd5H4KwyynIuxdKKi1hYQ8sqcm 5ZHqX7hXGn0DOXiNumxyvXqD9HeLpAXoS3XC6geFdA== X-Google-Smtp-Source: AK7set8r/sFjo1TN7OEEbDV0X2hHa+YqmKFUOfeN+nQvK6EHHqqw/K4U2vLkWYsjOoynuJdcd2bLgGTAyC8gtozCnXY= X-Received: by 2002:a05:620a:372b:b0:746:7beb:477e with SMTP id de43-20020a05620a372b00b007467beb477emr5590654qkb.10.1680282274774; Fri, 31 Mar 2023 10:04:34 -0700 (PDT) MIME-Version: 1.0 References: <1872a35eeec.dcff8bea422796.5356383202108217532@excalamus.com> <87pm8rx5lb.fsf@localhost> <1872f04dea1.12a910409155047.1986659191838711991@excalamus.com> <87jzyyehwr.fsf@localhost> <87sfdl9igk.fsf@localhost> In-Reply-To: <87sfdl9igk.fsf@localhost> From: Derek Chen-Becker Date: Fri, 31 Mar 2023 11:04:23 -0600 Message-ID: Subject: Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?) To: Ihor Radchenko Cc: Matt , Emacs-orgmode Content-Type: multipart/alternative; boundary="0000000000001c5dd705f835345d" Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=derek@chen-becker.org; helo=mail-qk1-x72b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680282358; a=rsa-sha256; cv=none; b=XGCcGHIfDECKOkM0obNrkeG9StyDHd0NWAA2jXz3JeCnTa14m1FlXfdS5wzxIulUCh37v+ b6GxEpsl9/QThyn0i75m5gSyCC0ReA7Wqb9E6479zeGDsXN+Mopcqyzy0GqcISQTdJ6Yus QdylTFNE4D70uM+1NT521EfeCS8CmgIMjnnN+R8uwZb0oa9APwxuk3vi73M262S5PSRI0t ltllDGD4HzqVOS3Ih86+d0AUWKf55DpwV66dBw6x6VV7Jy4nCGsT1jd1gwITMvE2aESqIi +4co3M1RwtFu6uBUBT4RWa7RtgOIm58RxBbniXGuU496B62X8RzSJZ+Zg7ycjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=chen-becker.org header.s=google header.b=HfoW7HX4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680282358; 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=iaL6IftxwzBdDTHtSqXvGHJfKuhZWd6fBNiQOpXV1ss=; b=fb40goygUAER4Rfq3oZExdzko8DpA7l9GewFbg7YeMZSqrSZ+hjQyvVbpI1Jiqbp8TkAai 2pDrFzZcCb6s1ckis0f/aO6PVfcZA40l7Q4CGbPcsK798PoXRu9yxQschySto2JfW9qj2t wmi3YEKnL9gqUWpWGXw9YbcxQE82FuUIMqB8aPUilxdWlevbndPrSb1k1f12/RJtn82G/Q +f0Wlro82UklvQYA3kAxvA9hgIP5Ukm9jiDN+8ePGNnPZtREPFTgOeBnv0QjwgriyMJAx2 WVY0tp3lSwocDe2AP72pnP0iIIXcHJc82yUw8qRKjje6LDeyuXUwz9xIorszwg== X-Migadu-Spam-Score: -3.72 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=chen-becker.org header.s=google header.b=HfoW7HX4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Spam-Score: -3.72 X-Migadu-Queue-Id: E058211BAB X-TUID: 4CB9JijBgGoT --0000000000001c5dd705f835345d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable When I asked the question I was just thinking of using it as a reference for expanding the current org-src-lang-modes values, but now that you've asked the question, perhaps we could dynamically amend org-src-lang-modes based on the contents of sh-ancestor-alist. Does that make sense? Thanks, Derek On Fri, Mar 31, 2023 at 7:06=E2=80=AFAM Ihor Radchenko wrote: > Derek Chen-Becker writes: > > > Would it be fair to use the sh-ancestor-alist as a basis for all of the > > supported shell variants? > > > > > https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/sh-scrip= t.el#L177 > > How can we use it? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --=20 +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=3Dderek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+ --0000000000001c5dd705f835345d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I asked the question I was just th= inking of using it as a reference for expanding the current org-src-lang-mo= des values, but now that you've asked the question, perhaps we could dy= namically amend org-src-lang-modes based on the contents of sh-ancestor-ali= st. Does that make sense?

Thanks,

Derek
<= /div>

On Fri, Mar 31, 2023 at 7:06=E2=80=AFAM Ihor Radchenko <yantar92@posteo.net> wrote:
Derek Chen-Becker <derek@chen-becker.org<= /a>> writes:

> Would it be fair to use the sh-ancestor-alist as a basis for all of th= e
> supported shell variants?
>
>
https://githu= b.com/emacs-mirror/emacs/blob/master/lisp/progmodes/sh-script.el#L177
How can we use it?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>


--
+-------= --------------------------------------------------------+
= | Derek Chen-Becker=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<= /div>
| GPG Key availab= le at https://keybase.io/dchenbecker= and=C2=A0 =C2=A0 =C2=A0 = =C2=A0|
| Fngrprnt: EB8= A 6480 F0A3 C8EB C1E7=C2=A0 7F42 AFC5 AFEE 96E4 6ACC=C2=A0 |
+-----------------------------------= ----------------------------+

=
--0000000000001c5dd705f835345d--