GNU bug report logs -
#38057
(shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
Previous Next
Reported by: arthur miller <arthur.miller <at> live.com>
Date: Mon, 4 Nov 2019 11:53:01 UTC
Severity: normal
Tags: notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Yes, I do use '-ic' switch (which gives me error message about ioctl control, but I can live with that đ).
I have rebuilt Emacs today and it works fine. Same code, without change in setup. I can't explain why.
Anyway, thanks for the help.
/a
________________________________
FrÄn: Stefan Kangas <stefan <at> marxist.se>
Skickat: den 8 november 2019 13:26
Till: arthur miller <arthur.miller <at> live.com>
Kopia: Eli Zaretskii <eliz <at> gnu.org>; 38057 <at> debbugs.gnu.org <38057 <at> debbugs.gnu.org>
Ămne: Re: bug#38057: Sv: bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
arthur miller <arthur.miller <at> live.com> writes:
> THanks for answers. I have looked at SX-article, and I do understand
> that bashr is not sourced in non-interactive shells since before,
> however, I do have my Shell command set to use â-icâ flags. It also
> used to work earlier; when I wrote that function and posted on wiki,
> with same Shell flags.
Are you saying that you set the variable shell-command-switch to
"-ic"?
When I try setting that, `M-x shell-command RET alias RET' gives me
my full list of aliases.
I'm not sure why you're seeing this, but it sounds like there may be
some other variable at play here. Are you seeing the same behaviour
when running under emacs -Q?
> I donât know how or why it worked earlier if it shouldnât work
> though đ. Even more confusing, it works fine on MS Windows (msys2
> distro of *nix Tools),
>
> Without even using â-icâ flag. I use same bashrc as I do under my
> GNU/Linux, but I attribute that to (probable) msys2 quirks.
Yes, that sounds strange.
Best regards,
Stefan Kangas
[Message part 2 (text/html, inline)]
This bug report was last modified 5 years and 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.