From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ALxWJCKdJGTGUAEASxT56A (envelope-from ) for ; Wed, 29 Mar 2023 22:18:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WEsaJCKdJGRWgAAAauVa8A (envelope-from ) for ; Wed, 29 Mar 2023 22:18:42 +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 411BC2D497 for ; Wed, 29 Mar 2023 22:18:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phcF1-0006LQ-BT; Wed, 29 Mar 2023 16:17:55 -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 1phcEy-0006LE-9Y for Emacs-orgmode@gnu.org; Wed, 29 Mar 2023 16:17:53 -0400 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phcEw-00010C-Qe for Emacs-orgmode@gnu.org; Wed, 29 Mar 2023 16:17:52 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1680121062; cv=none; d=zohomail.com; s=zohoarc; b=dakmuSOfdCEUgE8G4Ywkhau4XFBFI7yhms1hHpON52C/kig/6lgiVbJaaGul2AseRyYU5eaC1LwcqCW8UyXGOi0Do+GY24hoqUy63BOO7CfmyqSjyokvGbPjS2vrxWD6E6K+wpnDuCDBitAoMFyP5ST1rWI0ju2tfaTXT3rit7c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680121062; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=dPCLK5bnyDT10E8o9GaTejszfjfgL6n6WgNI1JLh2mA=; b=OQy16wl6nkR87npmQGbFHJtFFMXSbcTAM69Qcx+OkFEGXvRfSvMgeZy3ZOsdN3MMN0fMWIZ+AvSFhEdZilJX9JWEK/anKIlmcs+G1L9P3RDG8NpdQXRXs766KRjOvASF9iVcCcVjkcTw8b9+aW0Y0yg1snZxliOOg6iAOH2vKeI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1680121062; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=dPCLK5bnyDT10E8o9GaTejszfjfgL6n6WgNI1JLh2mA=; b=VCPUvOdgLOmsobvWEGNZRQXsbnzGrhsjLPi3oA2A8+gzX41lIqXveekY9id2J/VW NJCkXhV1QZr3jGEDJ8m4VxqWBF9+fPEEwHoxd/12dg+qSlrFYs4Q1qLnCzMkqJMMi/f 8T1H0Nr4zThtGynuvogPFD2xirJY5ivMGmTgMOgw= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1680121061042655.2163163173848; Wed, 29 Mar 2023 13:17:41 -0700 (PDT) Date: Wed, 29 Mar 2023 16:17:41 -0400 From: Matt To: "Derek Chen-Becker" Cc: "Ihor Radchenko" , "Emacs-orgmode" Message-ID: <1872f04dea1.12a910409155047.1986659191838711991@excalamus.com> In-Reply-To: References: <1872a35eeec.dcff8bea422796.5356383202108217532@excalamus.com> <87pm8rx5lb.fsf@localhost> 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?) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.15; envelope-from=matt@excalamus.com; helo=sender4-op-o15.zoho.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, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=VCPUvOdg; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680121122; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dPCLK5bnyDT10E8o9GaTejszfjfgL6n6WgNI1JLh2mA=; b=cbYUkdaR15YwnVV/FAd7OOla0wIZ5Yz0iqoY3Fg7R5WsuL5/QPOwlFcKG5WhUYHqAFkf/i nahtYTHd0B3eZDBhtaa9qky8VtirR8kB0KfMlQF1lxcgEtGqiV8ndy39AybEq9Y26fh+I7 nfCZOfUgxr9bXwbbOAJz16D5rdHJh/SDPVM5GKUYUM1hp9gIZEUgVFAqv3/PYIh0EEj8UI SnD7ZTGupi4yaSfR6ybpgkSF+lFkkEWvHDHFFicc4XWY7y8DUm3UhcGG100oHjwS22SPzb 4DrGfE8Y+u7S71SA775kRXNmYoDu2Z0eQBbgnnrIHkxal+BCCXt4fBJjfqqPOg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1680121122; a=rsa-sha256; cv=pass; b=OrV8ccplwF6f8mEwQg6Khbm/jY3lGy92tI6dNZHMw6wo5VCFj7RJr7A+LOptgH/gYwM+nM S4hukISB3ACeJ5Sm2tTSTtZ/vM7WuUOBQsAXioefuW0Ujj5m2iNwOPZwzayjsp2VbQ0NGO 8eC6VpjtK6QdxF78JYE96AKuD50d/RDuSTuFRLKYyhUCfM0Ge/O1cc1A2zgYt77/xYfGQi rQnIyRh0yj9BS7h8QiqMfH5neF94yUVSTMw0lo3hwWsQcdE1QX3SrgAWic46ftlIjMz5rb S8WG5o3F5B3QwOb1AQwou89QUr6/5eSdpy8Q+BcMYRGNQVgzqNjZydKUV+F4cg== X-Migadu-Spam-Score: -5.43 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Queue-Id: 411BC2D497 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=VCPUvOdg; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") X-Spam-Score: -5.43 X-TUID: QquweBAFCc6r ---- On Wed, 29 Mar 2023 13:04:31 -0400 Derek Chen-Becker wrote ---=20 > Cool, I would be happy to submit a patch! Sure, if that's something you'd enjoy. I'm happy to assist, if needed. =20 > On Wed, Mar 29, 2023 at 3:33=E2=80=AFAM Ihor Radchenko yantar92@posteo.n= et> wrote: > > Org provides some defaults for bash in `org-src-lang-modes' but not for > other shell flavours. I guess we can add more defaults to > `org-src-lang-modes', if we know for sure that e.g. zsh can be fontified > sh-mode. I think this approach will work fine. I tried examples for each shell typ= e and keywords like if/then/else and function names are highlighted.