From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reza Shafiei Newsgroups: gmane.emacs.bugs Subject: bug#61100: 29.0.60; `shell-command' displays all of *Shell Command Output* in the minibuffer Date: Fri, 27 Jan 2023 15:16:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="838"; mail-complaints-to="usenet@ciao.gmane.io" To: 61100@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 27 17:36:09 2023 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 1pLRhx-000Ab4-3c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Jan 2023 17:36:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLRht-0008O1-Ik; Fri, 27 Jan 2023 11:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLRhq-0008Nk-Id for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 11:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLRhq-0003fR-Aa for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 11:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLRhq-0008Og-0J for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 11:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reza Shafiei Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Jan 2023 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61100 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.167483734832256 (code B ref -1); Fri, 27 Jan 2023 16:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jan 2023 16:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:38341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLRhZ-0008OA-OF for submit@debbugs.gnu.org; Fri, 27 Jan 2023 11:35:48 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:54604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLQXO-0006Pu-MR for submit@debbugs.gnu.org; Fri, 27 Jan 2023 10:21:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLQXO-0002UZ-Fz for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 10:21:10 -0500 Original-Received: from mail-ve1eur01olkn082f.outbound.protection.outlook.com ([2a01:111:f400:fe1f::82f] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLQXM-0001JW-6k for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2023 10:21:10 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cVEp7aygqEChyjDi605LmRNgJ856wxkjoHwJNxLLmdo+mGWyKlV4qSvzEw146KXk8F+zU1ierNlNzdkgTlobnXgMr8U2pAdOP13dVvdwur3myllA3K/NiVJ+Mtp2LuAGvHjzHllRp/CjmfdE2ikBIfr2xxhvWYTVqddCjeTOHgLRu9g6dc0chYhGL/Q2QCnGzdLby4fIFQPThByOgwvgybvqLWCLz/ShRnt5MgansBywsl39IsXmCp3bvAuzvqbGgk1tWQExBnFAq2zHgvW1TeWnCqmSmTJb5VCuIXhmrRLg03Z8O66hypPuQBzBVV6A4FfaX1IVX0+AjVt1PeVO6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AU18FE5bDBGz3KpA/L2QBQlg1TvadDI/R9TZg0CfHvQ=; b=Pnmwneybe7X231Cwe/h3Loy8+lzKLzR+CXuzHy8sGIZPvrT/YtcJGZRlKC/lqu3FrMDOjFdDcq1EJbo6Q/DFAR604KgIVsJwCwD73FgSFosSF1CnQhLkvuDg4oRK867/HTDepl4DC2eQRmaN3XzeX2OXjh4MqkUVzn4oJVDq+Zl/nmjXS0uVPxpyOBNzyc12jp75gyQ5l2DLOZ4UYKGz7nvFNaU2vcyPPM+O8sEYHW4IrTbT1WiVS4/n30CSNK+q5befWkmwk6oa/57ms4o8aTy8odRBYYl2DrAqipYOtg4J4niv4v2U8mo7Vdh5sYqrz2qElERvmtXIrjY1bA6H1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AU18FE5bDBGz3KpA/L2QBQlg1TvadDI/R9TZg0CfHvQ=; b=fUzY7SzGS5w10z03NjVWEYNeB4c5TFCl/yGQO+Dh3ubfaUMwcUyw09yaFCyTuBFGMhpkRGiLQeWaBmlIEUg9nHb4AWggtpETNKDGpDnQ4Cy97eYRhQ5Oxj85tOaS839t7kc+0aZFfqV40bCKm8cqI7qG9wJDMoEhfePlt4L3JUv62lhRyIbjfWCsJ7cm6rq/iOne9rc7CNm4KLhlZPWtioABkR2iKH6p4oVMM0XiBpYJEkcSe+z32EX+n7Gk2rWo3rpjZh+ajov6iorxoas6nZx32kRk5mfjbnR36W0wY22+zULgOeaZ4S5a6zaYPvRRf1tAFA0Izg8WwqQTdFBTNw== Original-Received: from PA4P189MB1311.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:cb::17) by AM0P189MB0626.EURP189.PROD.OUTLOOK.COM (2603:10a6:208:199::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22; Fri, 27 Jan 2023 15:16:01 +0000 Original-Received: from PA4P189MB1311.EURP189.PROD.OUTLOOK.COM ([fe80::be1:e5d4:98bd:b2a9]) by PA4P189MB1311.EURP189.PROD.OUTLOOK.COM ([fe80::be1:e5d4:98bd:b2a9%8]) with mapi id 15.20.6043.023; Fri, 27 Jan 2023 15:16:01 +0000 Thread-Topic: 29.0.60; `shell-command' displays all of *Shell Command Output* in the minibuffer Thread-Index: AQHZMmASRFqBxKPzmkW4L1BdVeMpOQ== Accept-Language: en-GB, en-US Content-Language: en-GB x-tmn: [t2azKXEntVe7/FJ7IK64DvhgILWgQmgF] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4P189MB1311:EE_|AM0P189MB0626:EE_ x-ms-office365-filtering-correlation-id: 214122e7-8987-4750-0df2-08db0079669b x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nc9VtjVMgULTKNugih9GcCggtCbPQvx4fVP1SzZIDw22n0F/1TJR/s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+BUAyqa7mEvkRyJTBhNvZHd9RFZIqfW8kCRtryf6sfHStTbx/yBD1eCpbRyEAihCZtze1Mt4Omv8hMLcMrK85gaQTT7Joya/i+vIeMpTtIWsPGehWN2q2X0BwQg3oUTpHC0qMoNphUcTsahoRKerzdsToOJ4HLdfveHUIm33ANO/0QCN3dvz75W8YuVXtSGLG2npCpVqQJ6HExVIx4LlD9r4T6j7Ji3uNa9wIdPTCS9IqgKb1QuVW8Qs/zHRA9xKCqFmHOaA101AXJ3XK0IGr6IyTLPKEpEMy40LMBpaT2ApvVKz2mQfPe7oa7M1Ji+cw1 FgO55wEReZcj6+uztTEcAxMSCQisYemwsuG19ZespdBKovku/BnWVuuT5IrBYlRlJYTsz3gAIoAsd9+Sj1uGKF70EEHBPAmzoz X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4P189MB1311.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 214122e7-8987-4750-0df2-08db0079669b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2023 15:16:01.5381 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P189MB0626 Received-SPF: pass client-ip=2a01:111:f400:fe1f::82f; envelope-from=joghd1988@outlook.com; helo=EUR01-VE1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 27 Jan 2023 11:35:44 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254265 Archived-At: Hello Emacs maintainers,=0A= =0A= I apologize in advance for any mistakes since English is not my native=0A= language and it is the first time that I report a bug.=0A= =0A= How to reproduce:=0A= 1) emacs -Q=0A= 2) (setq shell-command-dont-erase-buffer t)=0A= 3) M-! with some command that generates short output, like=0A= M-! echo "foo". Output is displayed in the minibuffer:=0A= ----------------=0A= foo=0A= ----------------=0A= 4) M-! with another command that also generates short output,=0A= like M-! echo "bar". You will see that the output of previous=0A= commands is also displayed again in the minibuffer:=0A= ----------------=0A= foo=0A= bar=0A= ----------------=0A= =0A= `shell-command-on-region' has the same behavior.=0A= =0A= What I understand form the documentation of these two commands is=0A= that only the output of the most recent command should be=0A= displayed in the minibuffer (if it is short of course), not the=0A= entire content of *Shell Command Output*.=0A= =0A= Thanks=0A= =0A= In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version=0A= 3.24.36, cairo version 1.17.6) of 2023-01-25 built on reza-manjaro=0A= Repository revision: cfb180329b567d907c11fc9f2bd24728729ec689=0A= Repository branch: makepkg=0A= System Description: Manjaro Linux=0A= =0A= Configured using:=0A= 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib=0A= --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games= =0A= --with-modules --without-libotf --without-m17n-flt --without-gconf=0A= --with-native-compilation --with-xinput2 --with-pgtk --without-xaw3d=0A= --with-sound=3Dalsa --with-tree-sitter --without-gpm=0A= --without-compress-install --with-mailutils=0A= '--program-transform-name=3Ds/\([ec]tags\)/\1.emacs/'=0A= 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions= =0A= -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security=0A= -fstack-clash-protection -fcf-protection'=0A= LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'=0A= =0A= Configured features:=0A= ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON=0A= LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK=0A= PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS=0A= TREE_SITTER WEBP XIM GTK3 ZLIB=0A= =0A= Important settings:=0A= value of $LC_MONETARY: en_GB.UTF-8=0A= value of $LC_NUMERIC: en_GB.UTF-8=0A= value of $LC_TIME: en_GB.UTF-8=0A= value of $LANG: en_GB.UTF-8=0A= value of $XMODIFIERS: @im=3Dibus=0A= locale-coding-system: utf-8-unix=0A= =0A= Major mode: Lisp Interaction=0A= =0A= Minor modes in effect:=0A= tooltip-mode: t=0A= global-eldoc-mode: t=0A= eldoc-mode: t=0A= show-paren-mode: t=0A= electric-indent-mode: t=0A= mouse-wheel-mode: t=0A= tool-bar-mode: t=0A= menu-bar-mode: t=0A= file-name-shadow-mode: t=0A= global-font-lock-mode: t=0A= font-lock-mode: t=0A= blink-cursor-mode: t=0A= line-number-mode: t=0A= indent-tabs-mode: t=0A= transient-mark-mode: t=0A= auto-composition-mode: t=0A= auto-encryption-mode: t=0A= auto-compression-mode: t=0A= =0A= Load-path shadows:=0A= None found.=0A= =0A= Features:=0A= (shadow sort mail-extr emacsbug message mailcap yank-media puny dired=0A= dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068=0A= epg-config gnus-util text-property-search time-date mm-decode mm-bodies=0A= mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs=0A= comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra=0A= help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045=0A= ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv=0A= eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type=0A= elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd=0A= tool-bar dnd fontset image regexp-opt fringe tabulated-list replace=0A= newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar=0A= rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock=0A= font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq=0A= simple cl-generic indonesian philippine cham georgian utf-8-lang=0A= misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms=0A= cp51932 hebrew greek romanian slovak czech european ethiopic indian=0A= cyrillic chinese composite emoji-zwj charscript charprop case-table=0A= epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button=0A= loaddefs theme-loaddefs faces cus-face macroexp files window=0A= text-properties overlay sha1 md5 base64 format env code-pages mule=0A= custom widget keymap hashtable-print-readable backquote threads dbusbind=0A= inotify dynamic-setting system-font-setting font-render-setting cairo=0A= gtk pgtk lcms2 multi-tty make-network-process native-compile emacs)=0A= =0A= Memory information:=0A= ((conses 16 76291 5234)=0A= (symbols 48 7101 0)=0A= (strings 32 19469 2200)=0A= (string-bytes 1 588970)=0A= (vectors 16 15606)=0A= (vector-slots 8 321294 14309)=0A= (floats 8 27 46)=0A= (intervals 56 252 0)=0A= (buffers 984 10))=0A=