GNU bug report logs - #47991
28.0.50; inconsistency between async-shell-command and shell-command

Previous Next

Package: emacs;

Reported by: Zhiwei Chen <condy0919 <at> gmail.com>

Date: Sat, 24 Apr 2021 10:39:01 UTC

Severity: minor

Tags: wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Zhiwei Chen <condy0919 <at> gmail.com>
To: 47991 <at> debbugs.gnu.org
Subject: bug#47991: 28.0.50; inconsistency between async-shell-command and shell-command
Date: Sat, 24 Apr 2021 18:38:12 +0800
shell-command pops a buffer in fundamental-mode while
async-shell-command is in shell-mode.

AFAIK, async-shell-command is implemented via shell-command with an
additional '&' sign if it doesn't end with it.

To reproduce:
   emacs -Q
   M-x shell-command SPC ls RET
   M-x async-shell-command SPC ls RET

-- 
Zhiwei Chen




This bug report was last modified 4 years and 25 days ago.

Previous Next


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