GNU bug report logs - #77025
31.0.50; Can't activate bash-ts-mode without a shebang

Previous Next

Package: emacs;

Reported by: the_wurfkreuz <the_wurfkreuz <at> proton.me>

Date: Sat, 15 Mar 2025 06:42:02 UTC

Severity: normal

Found in version 31.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 77025-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77025-done <at> debbugs.gnu.org, the_wurfkreuz <the_wurfkreuz <at> proton.me>
Subject: Re: bug#77025: 31.0.50; Can't activate bash-ts-mode without a shebang
Date: Sat, 29 Mar 2025 09:41:51 -0700

> On Mar 29, 2025, at 4:27 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> Date: Mon, 17 Mar 2025 10:42:28 +0000
>> From: the_wurfkreuz <the_wurfkreuz <at> proton.me>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, 77025 <at> debbugs.gnu.org
>> 
>> I did this:
>> 
>> ```
>> (defun my-sh--guess-shell ()
>>  "/bin/bash")
>> (advice-add 'sh--guess-shell :override #'my-sh--guess-shell)
>> ```
>> 
>> Looks like it does what i want in my case.
> 
> So can we close this bug, or is there something else left to do here?

I think what bash-ts-mode does right now is reasonable, so closing the bug.

Yuan



This bug report was last modified 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.