From unknown Sun Aug 17 22:00: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#17333 <17333@debbugs.gnu.org> To: bug#17333 <17333@debbugs.gnu.org> Subject: Status: sh-mode: File local variables for setting shell variant Reply-To: bug#17333 <17333@debbugs.gnu.org> Date: Mon, 18 Aug 2025 05:00:47 +0000 retitle 17333 sh-mode: File local variables for setting shell variant reassign 17333 emacs submitter 17333 Ben Finney severity 17333 normal tag 17333 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 23 20:58:59 2014 Received: (at submit) by debbugs.gnu.org; 24 Apr 2014 00:58:59 +0000 Received: from localhost ([127.0.0.1]:56652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wd80A-0008A8-Da for submit@debbugs.gnu.org; Wed, 23 Apr 2014 20:58:58 -0400 Received: from rs400.luxsci.com ([66.135.55.5]:42632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wd7jo-0007fs-8a for submit@debbugs.gnu.org; Wed, 23 Apr 2014 20:42:06 -0400 Received: from rs400.luxsci.com (localhost.localdomain [127.0.0.1]) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3O0g2Xx028608 for ; Wed, 23 Apr 2014 19:42:03 -0500 Received: (from root@localhost) by rs400.luxsci.com (8.13.8/8.13.8/Submit) id s3O0f3nL028373 for submit@debbugs.gnu.org; Thu, 24 Apr 2014 00:41:03 GMT Received: (from sender 99054) (rs400.luxsci.com [127.0.0.1]) by Lux Scientiae SP; Thu, 24 Apr 2014 00:41:02 +0000 Received: from localhost (eth595.vic.adsl.internode.on.net [150.101.214.82]) (user=ben@benfinney.id.au mech=PLAIN bits=0) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3O0e9vq027307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 23 Apr 2014 19:40:12 -0500 Date: Thu, 24 Apr 2014 10:40:04 +1000 From: Ben Finney To: GNU BTS submission Subject: sh-mode: File local variables for setting shell variant Message-ID: <20140424004003.GC20389@benfinney.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Lux-Comment: Message s3O0e9vq027307 sent by user #99054 X-Comment: Lux Scientiae SP Message ID - 1398300062-8635671.4220061 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 23 Apr 2014 20:58:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.7 (/) Package: emacs Version: 24.3.1 Severity: normal Howdy, The ‘sh-mode’ appears to have no means for allowing a non-executable file to declare, in its local variables, the shell variant to use for syntax. Emacs allows me to specify that a shell include file should be opened in sh mode, by setting a local variable in the editor hints:: # Local variables: # coding: utf-8 # mode: sh # End: # vim: fileencoding=utf-8 filetype=bash : I can specify to Vim that the file's shell variant is specifically Bash, and it obeys the editor hint to present specific Bash syntax highlighting. But Emacs has ‘sh’ mode which covers all shell variants. The ‘sh’ mode will properly interpret such a file if it has a shebang line (e.g. #! /bin/bash). But some files are not stand-alone programs, so I do not want those to have a shebang line. Emacs ‘sh’ mode treats those files as Posix shell syntax, which they are not. ‘sh’ mode has the concept of “variant” of shell syntax; but I'm unable to find out how to specify, in the file's editor hints, which variant to use for the file. How can I set the Emacs editor hints in the file such that, when the file is opened, ‘sh’ mode knows that its syntax is Bash, or Zsh, etc.? -- \ “If consumers even know there's a DRM, what it is, and how it | `\ works, we've already failed.” —Peter Lee, Disney corporation, | _o__) 2005 | Ben Finney From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 20:35:13 2014 Received: (at control) by debbugs.gnu.org; 28 Apr 2014 00:35:13 +0000 Received: from localhost ([127.0.0.1]:43409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeZXL-0000IC-NL for submit@debbugs.gnu.org; Sun, 27 Apr 2014 20:35:12 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41427 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeZXJ-0000I4-RG for control@debbugs.gnu.org; Sun, 27 Apr 2014 20:35:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WeZXJ-0006Os-AX for control@debbugs.gnu.org; Sun, 27 Apr 2014 20:35:09 -0400 Date: Sun, 27 Apr 2014 20:35:09 -0400 Message-Id: Subject: control message for bug 17333 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) tag 17333 confirmed From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 29 10:21:28 2014 Received: (at 17333) by debbugs.gnu.org; 29 Apr 2014 14:21:28 +0000 Received: from localhost ([127.0.0.1]:45138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf8uW-0001l3-59 for submit@debbugs.gnu.org; Tue, 29 Apr 2014 10:21:28 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53746 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf8uS-0001kt-St for 17333@debbugs.gnu.org; Tue, 29 Apr 2014 10:21:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wf8uR-0007R2-7x; Tue, 29 Apr 2014 10:21:23 -0400 From: Glenn Morris To: Ben Finney Subject: Re: bug#17333: sh-mode: File local variables for setting shell variant References: <20140424004003.GC20389@benfinney.id.au> X-Spook: Iran Ortega espionage Bruxelles Yukon Commecen fraud X-Ran: KFb2&y>wyTlZ.d*Rs4@^K-VzI/A(J[C+'lck&w|-C\'4P'|+NJEA0'-SO5t'7:=8=|x,W7 X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 29 Apr 2014 10:21:23 -0400 In-Reply-To: <20140424004003.GC20389@benfinney.id.au> (Ben Finney's message of "Thu, 24 Apr 2014 10:40:04 +1000") Message-ID: <1kr44gkyho.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17333 Cc: 17333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) Ben Finney wrote: > The 'sh-mode' appears to have no means for allowing a non-executable > file to declare, in its local variables, the shell variant to use for > syntax. I'd also like a way to do this. In the past I've used -*- mode: sh; eval: (sh-set-shell "tcsh" nil nil) -*- but it is not great. Ideas that come to mind are a bunch of aliases (sh-bash-mode etc) that DTRT (yuck?); or sh-mode could add something to hack-local-variables-hook that respects a file-local `sh-buffer-shell' or somesuch. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 29 11:40:32 2014 Received: (at 17333) by debbugs.gnu.org; 29 Apr 2014 15:40:32 +0000 Received: from localhost ([127.0.0.1]:45234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfA91-0006P1-Le for submit@debbugs.gnu.org; Tue, 29 Apr 2014 11:40:32 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:52086) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfA8z-0006Oq-2e for 17333@debbugs.gnu.org; Tue, 29 Apr 2014 11:40:30 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TFePUC031843; Tue, 29 Apr 2014 11:40:25 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id E105AAE1F2; Tue, 29 Apr 2014 11:40:22 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#17333: sh-mode: File local variables for setting shell variant Message-ID: References: <20140424004003.GC20389@benfinney.id.au> <1kr44gkyho.fsf@fencepost.gnu.org> Date: Tue, 29 Apr 2014 11:40:22 -0400 In-Reply-To: <1kr44gkyho.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 29 Apr 2014 10:21:23 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4927=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <788> : streams <1169175> : uri <1743813> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 17333 Cc: Ben Finney , 17333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (--) >> The 'sh-mode' appears to have no means for allowing a non-executable >> file to declare, in its local variables, the shell variant to use for >> syntax. > I'd also like a way to do this. > In the past I've used > -*- mode: sh; eval: (sh-set-shell "tcsh" nil nil) -*- > but it is not great. > Ideas that come to mind are a bunch of aliases (sh-bash-mode etc) that > DTRT (yuck?); Actually I think having sh-csh-mode, sh-sh-mode, and sh-rc-mode would be a good idea. > or sh-mode could add something to hack-local-variables-hook that > respects a file-local `sh-buffer-shell' or somesuch. The var's name is `sh-shell', and I guess this could make sense for the "fine tuning" (e.g. distinguish between csh and tcsh), tho I'm not sure it's worth the trouble. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 29 21:02:35 2014 Received: (at 17333) by debbugs.gnu.org; 30 Apr 2014 01:02:35 +0000 Received: from localhost ([127.0.0.1]:45796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfIuw-0002qf-Sj for submit@debbugs.gnu.org; Tue, 29 Apr 2014 21:02:35 -0400 Received: from rs400.luxsci.com ([66.135.55.5]:60405) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfIur-0002qO-Ih for 17333@debbugs.gnu.org; Tue, 29 Apr 2014 21:02:31 -0400 Received: from rs400.luxsci.com (localhost.localdomain [127.0.0.1]) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3U12MMD003681; Tue, 29 Apr 2014 20:02:23 -0500 Received: (from root@localhost) by rs400.luxsci.com (8.13.8/8.13.8/Submit) id s3U124Tj003531; Wed, 30 Apr 2014 01:02:04 GMT Received: (from sender 99054) (rs400.luxsci.com [127.0.0.1]) by Lux Scientiae SP; Wed, 30 Apr 2014 01:02:02 +0000 Received: from localhost (d58-111-166-164.meb802.vic.optusnet.com.au [58.111.166.164]) (user=ben@benfinney.id.au mech=PLAIN bits=0) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3U11uVO003439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 29 Apr 2014 20:01:58 -0500 Date: Wed, 30 Apr 2014 11:01:55 +1000 From: Ben Finney To: Glenn Morris Subject: Re: bug#17333: sh-mode: File local variables for setting shell variant Message-ID: <20140430010154.GA7043@benfinney.id.au> References: <20140424004003.GC20389@benfinney.id.au> <1kr44gkyho.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <1kr44gkyho.fsf@fencepost.gnu.org> X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Lux-Comment: Message s3U11uVO003439 sent by user #99054 X-Comment: Lux Scientiae SP Message ID - 1398819722-3033674.74836576 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 17333 Cc: 17333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.7 (/) --gKMricLos+KVdGMg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29-Apr-2014, Glenn Morris wrote: > Ben Finney wrote: >=20 > > The 'sh-mode' appears to have no means for allowing a > > non-executable file to declare, in its local variables, the shell > > variant to use for syntax. >=20 > I'd also like a way to do this. > In the past I've used >=20 > -*- mode: sh; eval: (sh-set-shell "tcsh" nil nil) -*- >=20 > but it is not great. Partly because, AIUI, having =E2=80=98eval=E2=80=99 in the file's local var= iables is a security hole, and is often disabled. > Ideas that come to mind are a bunch of aliases (sh-bash-mode etc) that > DTRT (yuck?); or sh-mode could add something to > hack-local-variables-hook that respects a file-local `sh-buffer-shell' > or somesuch. I'd expect to be able to set the shell variant similar to the way that I can set the SQL dialect:: # Local variables: # coding: utf-8 # mode: sql # sql-product: postgres # End: So, for example:: # Local variables: # coding: utf-8 # mode: sh # shell-variant: bash # End: would be a good interface for this feature, IMO. --=20 \ =E2=80=9CI went to the cinema, it said =E2=80=98Adults: $5.00, Child= ren $2.50=E2=80=99. | `\ So I said =E2=80=98Give me two boys and a girl.=E2=80=99=E2= =80=9D =E2=80=94Steven Wright | _o__) | Ben Finney --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTYEuCAAoJEAYg8N1oQWlFV8sP/jl9pVxxGW7ueC0u0Nb+KEYv 2fRHQh+m39klL+1tD8oXa8b9bdh/9pLP7vwfC3y7DYgf9pYbGK4dtIQ7ZOGJGjqX UGKLdKlQzn3+l0mVz70Fepg+VZu7p7rMrurlByzpEotoJZOKQQBofjzG1NaXaPT9 vz4lxAFfi4evhSB8dweOpif+Q2xZOPmgEpXOVpo4ESEoeD4JOSzlaz38HUN3dcO0 FSaHI1a2ziDQfJZWdqLafDZYXXVKHWVezl2nNr/7rwUTXhFJJo0XjJ1qHg/l7JqO DFyapuMh/AsnogRItKUE8+Gq1t/R5DLWKJUuGArm8Sw/5fITYcBRnqVtRnGAN7ED kHa7ztVtD8JhE4OvjieG9T+btzYXQN9PMp58gWoYCG+fPPfvSMokFFx10cAQLbfI eblVNd1mBsl4Mw/Esr1wN8if2X0OyZg9Zah7nU0tL7ZrOXB1rOr4sAkiajOIPLRj oP3CGJxAfY6UjWdcRy8yAFn5EBaSUgji13blc0tZY0iJp3Xp0LWLQOOQkGUSU7If uUw2DddkMqNeO6vJwEbymzdVo89WsQqBYeQJF68JVf5oAgfi3iOmPO83w5PnN1s/ qtEn6b51AGg1IRSgOPtBSxVNqtnS5xuEkW0mUOuPZUp2FZbOzttjhJvTYogNQL6E X7IiREEnChZQc88HMk24 =pM1c -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 29 21:18:32 2014 Received: (at 17333) by debbugs.gnu.org; 30 Apr 2014 01:18:32 +0000 Received: from localhost ([127.0.0.1]:45812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfJAO-0003Hc-6F for submit@debbugs.gnu.org; Tue, 29 Apr 2014 21:18:32 -0400 Received: from rs400.luxsci.com ([66.135.55.5]:60682) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfJAL-0003HO-9K for 17333@debbugs.gnu.org; Tue, 29 Apr 2014 21:18:30 -0400 Received: from rs400.luxsci.com (localhost.localdomain [127.0.0.1]) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3U1IML1012823; Tue, 29 Apr 2014 20:18:23 -0500 Received: (from root@localhost) by rs400.luxsci.com (8.13.8/8.13.8/Submit) id s3U1I2h4012480; Wed, 30 Apr 2014 01:18:02 GMT Received: (from sender 99054) (rs400.luxsci.com [127.0.0.1]) by Lux Scientiae SP; Wed, 30 Apr 2014 01:18:02 +0000 Received: from localhost (d58-111-166-164.meb802.vic.optusnet.com.au [58.111.166.164]) (user=ben@benfinney.id.au mech=PLAIN bits=0) by rs400.luxsci.com (8.13.8/8.13.8) with ESMTP id s3U1HVZu012285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 29 Apr 2014 20:17:34 -0500 Date: Wed, 30 Apr 2014 11:17:30 +1000 From: Ben Finney To: Stefan Monnier Subject: Re: bug#17333: sh-mode: File local variables for setting shell variant Message-ID: <20140430011730.GB7043@benfinney.id.au> References: <20140424004003.GC20389@benfinney.id.au> <1kr44gkyho.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Lux-Comment: Message s3U1HVZu012285 sent by user #99054 X-Comment: Lux Scientiae SP Message ID - 1398820682-424034.782164713 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 17333 Cc: 17333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: 0.7 (/) --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29-Apr-2014, Stefan Monnier wrote: > The var's name is `sh-shell', and I guess this could make sense for the > "fine tuning" (e.g. distinguish between csh and tcsh), tho I'm not sure > it's worth the trouble. Having access, via the file's local variables, to set that variable (or something equivalent like =E2=80=9Cshell-variant=E2=80=9D) is exactly w= hat this bug report is about. So yes, that would be ideal. --=20 \ =E2=80=9CIt's all in the mind, you know.=E2=80=9D =E2= =80=94The Goon Show | `\ | _o__) | Ben Finney --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTYE8qAAoJEAYg8N1oQWlFGO0P/1Iq1CytrI32+yEDkrx6LTl5 I+CJxSz6Og7lOMxe90Cvh9vWGrTDG2dEEkfpePg+TQ6nZ6WxdFTG0PCn9swufZKa 12AXg2/uYYFBXytas97SNDHaXwoZ0LX4yLTo85qo8HJlJvNoOweSHYuAXofyxcqS YsbXiK6UCqYqA3Iah9XJ0aHB0JddV0Rww4z0EEDWOh+kQSNerCSFo9JVpVqPEEBe PEIWyWpJXN612/Axq33mHENrLee+vXw5CgcBaitOrPBSmQpK+9pXJqzDcGPECirz cJW41ad+3WN8fJ8mN8oFfAvvEyEMCzUzQcB6uBKTgHtnW7Ko5RMSnGTZoXGF8BVT zVnF4NeyjsRm60v8Ie24BLYdV9mDbfeTL4+rGvc72QHekeZRRfYW61s8n3rnjtVt vxdoMt+o6TCH5APAwygch199vdKTGKTEPc9fQdCUluWJgn1zkfCpenrospK3R3gJ SxWEHIw8bZWFLPgWZ2IQznKytJOhj5a/zChNkuyCkXfFOW1w+RPSwyMYofuj0mrG 3lr48DqSTTVgUTOvWFSBXeb/9BxrtodIY3n/SL0tTisf/Hts0QGfStF/hf+uKTI+ sXBeyWgVdYP6LLJ9h4a/u4bDasKb+OOq2m6n3VH3XJZGA0R7YJcCbLKIrcqjw9Z7 zVoqsebvIhb1uE/SVKGj =YZBi -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 22 16:42:35 2014 Received: (at 17333) by debbugs.gnu.org; 22 May 2014 20:42:35 +0000 Received: from localhost ([127.0.0.1]:56958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WnZor-0004nz-HP for submit@debbugs.gnu.org; Thu, 22 May 2014 16:42:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37683 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WnZol-0004nl-3L for 17333@debbugs.gnu.org; Thu, 22 May 2014 16:42:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WnZoj-0001MW-6x; Thu, 22 May 2014 16:42:21 -0400 From: Glenn Morris To: Ben Finney , 17333@debbugs.gnu.org Subject: Re: bug#17333: sh-mode: File local variables for setting shell variant References: <20140424004003.GC20389@benfinney.id.au> <1kr44gkyho.fsf@fencepost.gnu.org> X-Spook: CIA Perl-RSA bemd class struggle Vince Foster PGP S Box X-Ran: B28#go8h*HX7lAW0mzZ(i{MJrf9J5O%FUPUUhQ'z3/Og4Pu+9]4.c4Zcq:K&8wMZ^UJ X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 22 May 2014 16:42:21 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 29 Apr 2014 11:40:22 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 17333 Cc: Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.9 (----) You can apparently do this now in the Emacs trunk, by setting `sh-shell' as a file-local variable. So this is something that should appear in the-Emacs-after-24.4. (There's no NEWS entry.) From debbugs-submit-bounces@debbugs.gnu.org Thu May 22 16:42:59 2014 Received: (at control) by debbugs.gnu.org; 22 May 2014 20:42:59 +0000 Received: from localhost ([127.0.0.1]:56961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WnZpG-0004oo-AL for submit@debbugs.gnu.org; Thu, 22 May 2014 16:42:59 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37711 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WnZp9-0004oU-8m for control@debbugs.gnu.org; Thu, 22 May 2014 16:42:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WnZp9-0001Qe-0C for control@debbugs.gnu.org; Thu, 22 May 2014 16:42:47 -0400 Date: Thu, 22 May 2014 16:42:47 -0400 Message-Id: Subject: control message for bug 17333 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) close 17333 24.5 From unknown Sun Aug 17 22:00:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Jun 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 04 12:35:32 2014 Received: (at control) by debbugs.gnu.org; 4 Oct 2014 16:35:32 +0000 Received: from localhost ([127.0.0.1]:33183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaSIt-0002m9-8U for submit@debbugs.gnu.org; Sat, 04 Oct 2014 12:35:31 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60039) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaSIr-0002lz-Gi for control@debbugs.gnu.org; Sat, 04 Oct 2014 12:35:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XaSIq-0005r2-MO; Sat, 04 Oct 2014 12:35:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21552.8656.554316.921175@gnu.org> Date: Sat, 4 Oct 2014 12:35:28 -0400 From: Glenn Morris To: GNU bug tracker automated control server Subject: Update Emacs archived fixed bugs for 24.5 version number change X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) unarchive 18304 fixed 18304 25.1 notfixed 18304 24.5 unarchive 12008 fixed 12008 25.1 notfixed 12008 24.5 unarchive 17110 fixed 17110 25.1 notfixed 17110 24.5 unarchive 17218 fixed 17218 25.1 notfixed 17218 24.5 unarchive 18222 fixed 18222 25.1 notfixed 18222 24.5 unarchive 18023 fixed 18023 25.1 notfixed 18023 24.5 unarchive 17225 fixed 17225 25.1 notfixed 17225 24.5 unarchive 16626 fixed 16626 25.1 notfixed 16626 24.5 unarchive 18326 fixed 18326 25.1 notfixed 18326 24.5 unarchive 18227 fixed 18227 25.1 notfixed 18227 24.5 unarchive 16328 fixed 16328 25.1 notfixed 16328 24.5 unarchive 17333 fixed 17333 25.1 notfixed 17333 24.5 unarchive 13837 fixed 13837 25.1 notfixed 13837 24.5 unarchive 17641 fixed 17641 25.1 notfixed 17641 24.5 unarchive 18341 fixed 18341 25.1 notfixed 18341 24.5 unarchive 18349 fixed 18349 25.1 notfixed 18349 24.5 unarchive 2151 fixed 2151 25.1 notfixed 2151 24.5 unarchive 5853 fixed 5853 25.1 notfixed 5853 24.5 unarchive 17857 fixed 17857 25.1 notfixed 17857 24.5 unarchive 17858 fixed 17858 25.1 notfixed 17858 24.5 unarchive 17859 fixed 17859 25.1 notfixed 17859 24.5 unarchive 17160 fixed 17160 25.1 notfixed 17160 24.5 unarchive 2263 fixed 2263 25.1 notfixed 2263 24.5 unarchive 18368 fixed 18368 25.1 notfixed 18368 24.5 unarchive 17772 fixed 17772 25.1 notfixed 17772 24.5 unarchive 17276 fixed 17276 25.1 notfixed 17276 24.5 unarchive 15991 fixed 15991 25.1 notfixed 15991 24.5 unarchive 17699 fixed 17699 25.1 notfixed 17699 24.5 From unknown Sun Aug 17 22:00:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Nov 2014 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator