Subject: Re: bug#13815: Wrong mode for files with awkward shebang lines

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 23 Aug 2021 03:13:55 +0200

Glenn Morris <[email-masked]> writes:

> It used to work that way prior to Emacs 22.1. Then it was changed for
> reasons that were never properly explained IMO.
>
> http://debbugs.gnu.org/3354
>
> All you can do is add a mode: cookie.
>
> Or use /usr/bin/env, IIUC
> https://github.com/scala/scala/pull/9

So I think the conclusion here is that this is working as designed, and
I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no