From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#47991: 28.0.50; inconsistency between async-shell-command and shell-command Date: Mon, 26 Apr 2021 00:41:53 -0400 Message-ID: References: <87eef02ciz.fsf@gmail.com> <83r1j0lzla.fsf@gnu.org> <87tunu2ubx.fsf@gmail.com> <83bla2l34c.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: condy0919@gmail.com, 47991@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 26 06:43:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lat5R-0003gI-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Apr 2021 06:43:09 +0200 Original-Received: from localhost ([::1]:37740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lat5Q-0007sU-G1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Apr 2021 00:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lat5K-0007rI-4V for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 00:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lat5J-0002CB-SG for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 00:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lat5J-0003gA-O0 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2021 00:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Apr 2021 04:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47991 X-GNU-PR-Package: emacs Original-Received: via spool by 47991-submit@debbugs.gnu.org id=B47991.161941212214048 (code B ref 47991); Mon, 26 Apr 2021 04:43:01 +0000 Original-Received: (at 47991) by debbugs.gnu.org; 26 Apr 2021 04:42:02 +0000 Original-Received: from localhost ([127.0.0.1]:44153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lat4L-0003eO-Ki for submit@debbugs.gnu.org; Mon, 26 Apr 2021 00:42:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lat4K-0003e3-98 for 47991@debbugs.gnu.org; Mon, 26 Apr 2021 00:42:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48353) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lat4F-0001WJ-16; Mon, 26 Apr 2021 00:41:55 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lat4D-0007oG-Ok; Mon, 26 Apr 2021 00:41:53 -0400 In-Reply-To: <83bla2l34c.fsf@gnu.org> (message from Eli Zaretskii on Sun, 25 Apr 2021 19:50:59 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204933 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > I'm curious about the reason why it's a feature. Why the synchronous > > `shell-command' should be in `fundamental-mode' while the async doesn't. > I don't know, it's been that way since 1995. Maybe Richard remembers. This decision seems correct to me. The code of Shell mode is mainly meant for (1) handling the output as it arrives asynchronously and (2) editing shell input. In M-!, there is no need for either of those things. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)