From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iP8wKY9OJWRw5wAASxT56A (envelope-from ) for ; Thu, 30 Mar 2023 10:55:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eNI3KI9OJWSp7gAAG6o9tA (envelope-from ) for ; Thu, 30 Mar 2023 10:55:43 +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 2B91BC3C6 for ; Thu, 30 Mar 2023 10:55:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pho3f-0003iJ-FL; Thu, 30 Mar 2023 04:54:59 -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 1pho3d-0003hk-TM for Emacs-orgmode@gnu.org; Thu, 30 Mar 2023 04:54:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pho3b-0002o9-MO for Emacs-orgmode@gnu.org; Thu, 30 Mar 2023 04:54:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CEA3F2401E3 for ; Thu, 30 Mar 2023 10:54:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680166493; bh=n2gGtEv/60DRiPH+92SUaYq2joOjlFwJ2DfoUWLEyFU=; h=From:To:Cc:Subject:Date:From; b=ElB8JoKAbRPik73tonqkJT6DBeDjVmvFWGsuhwHl2t9EczxmE2g1ouNehD+aT2sKC l19G2kftJ+mVk1Yl5nKS07a78IOtkoAD01qt5nrc1n51ToiHjYl11H/aIg/x5IWOgE Jsj+1jkQUTlPrT68x55FwOZPIwdWcEWX6Hd2nozxqspiwZ0n6o7h2kGsexxSiSmqsq 8ensDoKlWemBGuhzq9rsydqG7d8QT3BvofD0PyOQ/OFBKLVy5J1YId/TMGG+5iJNJl 47CRT9sIZTT12BTlpBWV+o7EirW91uTw+LeWH5ma9f5hpWiea+CDGWsYRSjcz2O9/a 4p023cCSc68Yg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PnHL50bNsz6tvk; Thu, 30 Mar 2023 10:54:52 +0200 (CEST) From: Ihor Radchenko To: Matt Cc: Derek Chen-Becker , Emacs-orgmode 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?) In-Reply-To: <1872f04dea1.12a910409155047.1986659191838711991@excalamus.com> References: <1872a35eeec.dcff8bea422796.5356383202108217532@excalamus.com> <87pm8rx5lb.fsf@localhost> <1872f04dea1.12a910409155047.1986659191838711991@excalamus.com> Date: Thu, 30 Mar 2023 08:56:52 +0000 Message-ID: <87jzyyehwr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ElB8JoKA; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680166543; 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=vsK2XJIi6VvrFp9SQD4kxuJdkMxcB2NPoKm/h2SywWs=; b=MZBda44GErA+cRsHPHDV7qWzXwLaaAMBvA3N3ruG8yYCP7f0DXGXwDMckg/v8WnSuwCvGA Dnu7IfQQFq0b5YkHfm0Du8+UQ/zKS2jj8x2daTV3bW1o+BHK94WcD8X1RvEz8Vz53obvdS G66dc54mD1GoSy5JPEqDbcwOSSl3mIdAbsVedMq9WP8GjVe5BgbImy2A7CIxTn4xTsuo3Z WUIrsLLpY9c7afyHCIvLT6NBqTp0d2ABryW2bnO/o4/QeNdiQlcRagO3gj0IIFMNzqsq5p idLny9B83ti9k6hQ5jEYf6/d8vsgTzHIW/n7KCmy0lSrf6+99209fhZi8orbzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680166543; a=rsa-sha256; cv=none; b=VyKx1hIv5+1M4OXdh6BnwpaJfKkKs41162qx/X/m/vBoaYY7pXZVTLBcWlOoUMuWSp27Y/ ioFdiA9ZSoXCkpGReT6rCu0vDlWYXmH2XG8szH9ldkROaCRnGDHxAnOXthj1icKzgP3S7A w8v2hqtEvh/E0yv0Hk4tdTJD3zZ4lvzCQYuoEJXHkhymgGP5WvrDHbkixR5fp5C5OMZd+N XuV9oHT0I4mHtJjzQNUPFnuYxD4XKMvE1sagyEZVNyuoGrqcbTRCbSDWVhsOuod2ULz4Rt hJ1ng1vXtykVN59L4JhdU3fF78PHPkoQi+C1dafU0KK99w3gsGgOQMqpqt9uMg== X-Migadu-Spam-Score: -6.23 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Queue-Id: 2B91BC3C6 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ElB8JoKA; 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=pass (policy=none) header.from=posteo.net X-Spam-Score: -6.23 X-TUID: wXTae0I5+gS7 Matt writes: > I think this approach will work fine. I tried examples for each shell type and keywords like if/then/else and function names are highlighted. Even for posh (powershell)? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at