From unknown Sat Aug 16 12:40:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67637 <67637@debbugs.gnu.org> To: bug#67637 <67637@debbugs.gnu.org> Subject: Status: shell-command-default-error-buffer loss of warning Reply-To: bug#67637 <67637@debbugs.gnu.org> Date: Sat, 16 Aug 2025 19:40:47 +0000 retitle 67637 shell-command-default-error-buffer loss of warning reassign 67637 emacs submitter 67637 Dan Jacobson severity 67637 normal tag 67637 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 21:28:17 2023 Received: (at submit) by debbugs.gnu.org; 5 Dec 2023 02:28:17 +0000 Received: from localhost ([127.0.0.1]:36197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rALAW-0005nj-RA for submit@debbugs.gnu.org; Mon, 04 Dec 2023 21:28:17 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rALAV-0005nT-2X for submit@debbugs.gnu.org; Mon, 04 Dec 2023 21:28:15 -0500 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 1rALAE-0005UR-R0 for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2023 21:27:58 -0500 Received: from seashell.cherry.relay.mailchannels.net ([23.83.223.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rALAC-0000yS-U0 for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2023 21:27:58 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3718C361F6D for ; Tue, 5 Dec 2023 02:27:55 +0000 (UTC) Received: from pdx1-sub0-mail-a315.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E91C3361FFC for ; Tue, 5 Dec 2023 02:27:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1701743274; a=rsa-sha256; cv=none; b=aVirU2I5w5fbUCPwWk0LjhK3vjyEEq40Pxz2qqTVYIk4u4tY3ydyCDuaMz8Au2hPH/xnZ/ DVZjBlOtZ0DNeqZyK5412TjiNWp8BGUz21CsVKfMma2W6dd6swmQtZSK4EXikL1UmMgTci AUidRWenmuh7XOtXRb6O0XjRvO+/lqVS0jc2hwh9eSLTEX077ehsYC5+P9YREDymt91doC v2ZRdxM9+8d4QNaquHzWbT2Qs4Dxz7jZjGRM7ElrNocxVABUz85syLvgxZ2LRhB8+E+pMB IhsAkgqKMgxTdV0jElGb2LSpjka7sCgB12pRv+wSIqaAfj9sv9I6rGpDJ+L0Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1701743274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=7ADxb9xMx3LH4H9BUXSC/BNSlp2XtrfdvGKb931Stfc=; b=ijTSpp30UcwA7HS3dCwu7aMyQt6fvV6m4Sntl7jkEK9XQ0o0qjeMOLykHPEFytz9po0r8i nvIskoVAxcEfnS3HiR33iP7ugkMm7Kosv2bP66tFww4SArzQxfJ0WbJacoMulCo7DfwmGP sxgm4aMPdt0ObvQ7lPEgNBmnYiYeqH+emMnD1whN60ew/uiyh0WZugvoqEfGFht7Z1aGvd tHYjTXR+JbDQvmRtatjGZMVfk5EiIq79JulmR/XmAqdr3kxoKxuG+iV41VDQF+tmIcRAEi H0YcdZacCXGXdWOEy28W3PYC7hs3U8YeXh1fRgr6JQuoC/gmFJ2rrwbttgez7w== ARC-Authentication-Results: i=1; rspamd-d88d8bd54-pbpsl; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Macabre-Lettuce: 6fe4e5554d4b774f_1701743275058_347237891 X-MC-Loop-Signature: 1701743275058:3738865105 X-MC-Ingress-Time: 1701743275058 Received: from pdx1-sub0-mail-a315.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.120.2.6 (trex/6.9.2); Tue, 05 Dec 2023 02:27:55 +0000 Received: from jidanni.org (1-165-253-176.dynamic-ip.hinet.net [1.165.253.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a315.dreamhost.com (Postfix) with ESMTPSA id 4SkkwB5SpKzFQ for ; Mon, 4 Dec 2023 18:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1701743274; bh=7ADxb9xMx3LH4H9BUXSC/BNSlp2XtrfdvGKb931Stfc=; h=From:To:Subject:Date:Content-Type; b=xGpz+3AsU9ZCP4GK5u368YiuUGtnRhEYSyOT4HAUp1wGLN6DhugBCAMF9mIWSU/de IkbNzOETw+BCvQmW79FZJQ/jE5JaBREO1ucz6C6PXDNBwRk1zhYkmKGEaw0FeJPEWD eoLd9zPf6vZZk2v4Q8p35ZZtzRtfsP57cfFLGgW50dsXiqOOBV2g/SyiHElHBvx58l eHlgY5LNT4lw+8+AadHUAq232anQuANUI7XKLTnOAIKbs+CiZct+amDGGUKfYboyrw VqBOhRXUPr9txaXGYEM6NxADghb8nQaUKbdpqIlU45DCGS+XC0eH9Pc/7M+hPp9BD8 AGDe4KBthmNYg== From: Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: shell-command-default-error-buffer loss of warning Date: Tue, 05 Dec 2023 10:27:51 +0800 Message-ID: <87il5dl6xk.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.223.162; envelope-from=jidanni@jidanni.org; helo=seashell.cherry.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) (Never mind https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67542 . I have found the real problem.) $ emacs -Q --eval '(setq shell-command-default-error-buffer "shell-command-errors")' M-! ls zzzzzzzz (Shell command failed with code 2 and some error output to the "shell-command-errors" buffer) OK, we now grow to expect that we will get helpful notification that something about "some error output to the "shell-command-errors" buffer". That's great. Until one day when we instead do M-! ls .emacs zzzzzzzz #one file that exists and one that doesn't In this case the bug steps in: Even though there indeed is "some error output to the "shell-command-errors" but there is no message in the minibuffer about it! That indeed there is also some STDOUT produced does *not* mean we somehow are in some party mood and no longer care about the fact that indeed the same complete "Shell command failed with code 2 and some error output to the "shell-command-errors" buffer" is 100% still true. One might think that "oh, that's just the one line successful output covering up the error message in the minibuffer." But the same problem occurs with M-! ls . zzzzzzzz From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 05 07:36:57 2023 Received: (at 67637) by debbugs.gnu.org; 5 Dec 2023 12:36:57 +0000 Received: from localhost ([127.0.0.1]:36734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAUfZ-0002HE-5D for submit@debbugs.gnu.org; Tue, 05 Dec 2023 07:36:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAUfX-0002Gx-05; Tue, 05 Dec 2023 07:36:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAUfG-0007y8-9O; Tue, 05 Dec 2023 07:36:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=g0Plzqep4dF8T9kSALq20AAWsGPRxUCwQzzOR5TAFmU=; b=sDAcRY1Lk2rr NktK/7UozIs7/0quehrHSs2QL17Z9oguJesV0D2N8DWR6yPmTxA/Uj57jW7QW88eaS8INE5OZbgJ8 NXOV7xuDw3Y6TWHdW/IP6vgw2NW92Dpp92mXzlORZVZsj1sBLf/KYRbHllSQZBkmYlAt1HElle8fE Mn/PU0+jYPI/MdZM3aNJj4msUdJVlDIAFwnXknOqXgXB5Max1CCh0psTunngxAGB1UxQvCEewGs3X LJFwCPAge4N4gW0RbrronKnId3wjqQx0PX/MsBXIcSIqzSC3jCTbQ/1cRtxAtS2b0lFwOi6DIHrZ9 iNr8jSzAXznpS2S+FTUDzA==; Date: Tue, 05 Dec 2023 14:36:39 +0200 Message-Id: <838r686d2g.fsf@gnu.org> From: Eli Zaretskii To: Dan Jacobson In-Reply-To: <87il5dl6xk.5.fsf@jidanni.org> (message from Dan Jacobson on Tue, 05 Dec 2023 10:27:51 +0800) Subject: Re: bug#67637: shell-command-default-error-buffer loss of warning References: <87il5dl6xk.5.fsf@jidanni.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67637 Cc: 67637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 67637 wontfix thanks > From: Dan Jacobson > Date: Tue, 05 Dec 2023 10:27:51 +0800 > > (Never mind https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67542 . > I have found the real problem.) > > $ emacs -Q --eval '(setq shell-command-default-error-buffer "shell-command-errors")' > M-! ls zzzzzzzz > (Shell command failed with code 2 and some error output to the "shell-command-errors" buffer) > > OK, we now grow to expect that we will get helpful notification that > something about "some error output to the "shell-command-errors" > buffer". That's great. > > Until one day when we instead do > M-! ls .emacs zzzzzzzz #one file that exists and one that doesn't > > In this case the bug steps in: > Even though there indeed is > "some error output to the "shell-command-errors" > but there is no message in the minibuffer about it! > > That indeed there is also some STDOUT produced does *not* mean > we somehow are in some party mood and no longer care about the fact that > indeed the same complete > "Shell command failed with code 2 and some error output to the "shell-command-errors" buffer" > is 100% still true. > > One might think that "oh, that's just the one line successful output > covering up the error message in the minibuffer." But the same problem > occurs with > M-! ls . zzzzzzzz All I can suggest is "don't do that". Not unless you intend keeping in mind that the error messages are in a separate buffer. This option exists for special situations, not for general-purpose running of shell commands that might produce some important information on standard error stream. I don't think we should do anything here. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 22 09:50:50 2023 Received: (at 67637-done) by debbugs.gnu.org; 22 Dec 2023 14:50:50 +0000 Received: from localhost ([127.0.0.1]:46298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGgrS-0003Rg-3A for submit@debbugs.gnu.org; Fri, 22 Dec 2023 09:50:50 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:48532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGgrN-0003RN-S1 for 67637-done@debbugs.gnu.org; Fri, 22 Dec 2023 09:50:48 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5542106d393so1987607a12.1 for <67637-done@debbugs.gnu.org>; Fri, 22 Dec 2023 06:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703256635; x=1703861435; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=5nuyQZkzg8//8ZX2+yQM65APPX/5RKhZwz5kYYg64BI=; b=gf4fRKAUcJMAJGVvrzyPVBn/fGleo9uvi+JbBi0DBLdW6z0XJYEHN9GPgNTIXUGsMX eP6qwv6K8jzySKu4i2Ni6KkK/4GvB7XsdF5gql/t5+FNs2DzOqsxZU/G1CEn1kGJAmq3 zUKqV9MuFZ4aJLU3vdzBOCpRwxIx/8ne86oYhLbP2jwBt56QZq5L4wqZpoMAu+pXTSig iIQujDbRnHSjxUBPCTVt7Fioo43hqobL6Hf6PA49uKwOn2nm481C1I8U9EHh+b/dlTdy fzxrbHvZ3FFwigJsGwBD3j09es5mIFWEilXO4hG3DTJ8BhqJ9QF1tfLkgEx1tUw88ZbS tLLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703256635; x=1703861435; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5nuyQZkzg8//8ZX2+yQM65APPX/5RKhZwz5kYYg64BI=; b=uM6Bj5eeu1HR1pfXWqXnhOXsi0lAN/3ctvc5MTUc07jIYljBM8zwY7yEX5oR6SuoFd YEUDC+chirPvyoS2FX6XnnnWEUrRx818VVc/ocvGfj30X3u31p98TkGJVr0mswaOksGU 0uHE4+MEktvsM64G3/I4sK1nWsUYN6ubKysFZHoBQfUaTZTOpEeGSlNjvkb2fgCZh01o YcJ+kgRVaImKkO7zr0FK4OuA3TbPWwUstvLh1UP4Yuqm1lvO2+rYHau2GTDeIA5OGteT /HrWwbGVQTWCreQHebDL2Jrne9/fRSY7YyewUfUSb8snBsoB4sMYPigaZfD5IBGGRjVO qZ9A== X-Gm-Message-State: AOJu0YzeuPSxkCk7ceUEWmuSyk1LWRHJcwGh/sMBjzhkCrK95sB8JedJ 8gsstO4yaaTesGCTkLADZH9XZk7L+iV4D6xrTHM= X-Google-Smtp-Source: AGHT+IHaqGJHXzUX0v2g759SsjYZZDfGjOeQIsqFHdGoldAOTMGA2b3+Fjm/NgqJmYZQrMnMGvQp521sWX/eMjqppnw= X-Received: by 2002:a50:d6d8:0:b0:554:42ed:d306 with SMTP id l24-20020a50d6d8000000b0055442edd306mr847168edj.60.1703256635318; Fri, 22 Dec 2023 06:50:35 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 22 Dec 2023 06:50:35 -0800 From: Stefan Kangas In-Reply-To: <838r686d2g.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 05 Dec 2023 14:36:39 +0200") References: <87il5dl6xk.5.fsf@jidanni.org> <838r686d2g.fsf@gnu.org> MIME-Version: 1.0 Date: Fri, 22 Dec 2023 06:50:35 -0800 Message-ID: Subject: Re: bug#67637: shell-command-default-error-buffer loss of warning To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67637-done Cc: 67637-done@debbugs.gnu.org, Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > All I can suggest is "don't do that". Not unless you intend keeping > in mind that the error messages are in a separate buffer. > > This option exists for special situations, not for general-purpose > running of shell commands that might produce some important > information on standard error stream. > > I don't think we should do anything here. I'm therefore closing this bug report. From unknown Sat Aug 16 12:40:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Jan 2024 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator