unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: arthur miller <arthur.miller@live.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: "38057@debbugs.gnu.org" <38057@debbugs.gnu.org>
Subject: bug#38057: Sv: bug#38057: Sv: bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
Date: Fri, 8 Nov 2019 13:19:12 +0000	[thread overview]
Message-ID: <HE1P194MB01062D84776269047A40F761967B0@HE1P194MB0106.EURP194.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <87mud6tuz6.fsf@marxist.se>

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

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@marxist.se>
Skickat: den 8 november 2019 13:26
Till: arthur miller <arthur.miller@live.com>
Kopia: Eli Zaretskii <eliz@gnu.org>; 38057@debbugs.gnu.org <38057@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@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

[-- Attachment #2: Type: text/html, Size: 2896 bytes --]

      reply	other threads:[~2019-11-08 13:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 11:52 bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output arthur miller
2019-11-04 16:17 ` Eli Zaretskii
2019-11-07  3:37   ` Stefan Kangas
2019-11-08  8:55     ` bug#38057: Sv: " arthur miller
2019-11-08 12:26       ` Stefan Kangas
2019-11-08 13:19         ` arthur miller [this message]

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=HE1P194MB01062D84776269047A40F761967B0@HE1P194MB0106.EURP194.PROD.OUTLOOK.COM \
    --to=arthur.miller@live.com \
    --cc=38057@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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).