GNU bug report logs - #37953
tramp: a local bash does not start

Previous Next

Package: emacs;

Reported by: Koichi Arakawa <arakawa <at> pp.iij4u.or.jp>

Date: Mon, 28 Oct 2019 00:08:02 UTC

Severity: normal

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Koichi Arakawa <arakawa <at> pp.iij4u.or.jp>
Cc: 37953-done <at> debbugs.gnu.org
Subject: Re: bug#37953: tramp: a local bash does not start
Date: Mon, 28 Oct 2019 09:55:44 +0100
Version: 27.1

Koichi Arakawa <arakawa <at> pp.iij4u.or.jp> writes:

> Hi

Hi,

> I'm using Emacs in the MSYS2 environment. And the local shell bash
> depends on the order of its command-line switches.
>
> When the last argument is "-i", bash starts normally.
>
>     >C:/msys64/usr/bin/bash -norc -noprofile -i
>     bash-4.4$
>
> But in another case, it ends with an error.
>
>     >C:/msys64/usr/bin/bash -i -norc -noprofile
>     /usr/bin/bash: line 0: /usr/bin/bash: -noprofile: invalid option name
>
> So I think we need the following patch to fix that.

Thanks for the report, the same error happens on GNU/Linux. So I have
applied your patch to the repositories. Closing the bug.

> Best regards,
> Koichi Arakawa

Best regards, Michael.




This bug report was last modified 5 years and 213 days ago.

Previous Next


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