unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 13815@debbugs.gnu.org
Subject: bug#13815: Wrong mode for files with awkward shebang lines
Date: Mon, 30 Aug 2021 11:11:11 -0400	[thread overview]
Message-ID: <esfyr7ysw.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8735r0qjre.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 23 Aug 2021 17:10:45 +0200")

Lars Ingebrigtsen wrote:

> I thought it was because Debian changed the names of all their conf
> files (many of which are shell scripts) to .conf?

I'll repeat my earlier comments in the hope that this time someone will
read them.

I have 468 .conf files in /etc on my Debian system.
A single one (it used to be zero years ago) has a #! line.
It is nftables.conf, which contains "#!/usr/sbin/nft -f".
Emacs has no mode for "nft".

Therefore this provides zero motivation for interpreter-mode-alist to
take precedence over auto-mode-alist.





  reply	other threads:[~2021-08-30 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25 21:56 bug#13815: Wrong mode for files with awkward shebang lines Andrew Pennebaker
2013-02-26  2:59 ` Stefan Monnier
2013-02-26  8:12   ` Glenn Morris
2013-02-26  3:02 ` Glenn Morris
2021-08-23  1:13   ` Lars Ingebrigtsen
2021-08-23 15:06     ` Glenn Morris
2021-08-23 15:10       ` Lars Ingebrigtsen
2021-08-30 15:11         ` Glenn Morris [this message]
2021-08-31  1:54           ` Lars Ingebrigtsen

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=esfyr7ysw.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13815@debbugs.gnu.org \
    --cc=larsi@gnus.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).