unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: John Yates <john@yates-sheets.org>
Cc: 16938@debbugs.gnu.org
Subject: bug#16938: 24.3.50; Support the Dash shell shebang and .[bd]sh file types
Date: Tue, 04 Mar 2014 21:47:35 -0500	[thread overview]
Message-ID: <yi7g891hvc.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAJnXXogz39=h6rz0VSvO7ZO-9f8QrjW9LjktifEFypB13G-M6A@mail.gmail.com>

John Yates wrote:

> For interpreter-mode-alist I suggest adding the follow entry:
>
>      ("dash" . sh-mode)

Sounds good.

> For auto-mode-alist I suggest changing the follow entry:
>
>      ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
>
> to
>
>      ("\\.[bcdk]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)

I've never come across .bsh and .dsh used as extensions in this way.
I find zero examples on two random RHEL6, Debian testing machines.
The only .bsh files are LibreOffice components that are not bash scripts.
So this seems like something for your personal .emacs.





  reply	other threads:[~2014-03-05  2:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 18:14 bug#16938: 24.3.50; Support the Dash shell shebang and .[bd]sh file types John Yates
2014-03-05  2:47 ` Glenn Morris [this message]
2014-03-05 13:21   ` John Yates
2014-03-05 18:59   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yi7g891hvc.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=16938@debbugs.gnu.org \
    --cc=john@yates-sheets.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).