From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64394: [PATCH] Fix `async-shell-command-display-buffer' display Date: Sat, 01 Jul 2023 11:12:14 +0300 Message-ID: <83v8f4qcdd.fsf@gnu.org> References: <873528cuoe.fsf@eliza.sh> <833528rt62.fsf@gnu.org> <87h6qo6pbz.fsf@eliza.sh> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28315"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 64394@debbugs.gnu.org To: Eliza Velasquez Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 10:12:17 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 1qFViJ-0007A7-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 10:12:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFVi7-0006oq-GC; Sat, 01 Jul 2023 04:12:03 -0400 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 1qFVi6-0006oU-HT for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 04:12:02 -0400 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 1qFVi6-0000Rh-9M for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 04:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFVi6-0004qJ-4q for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 04:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 08:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64394 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64394-submit@debbugs.gnu.org id=B64394.168819911118593 (code B ref 64394); Sat, 01 Jul 2023 08:12:02 +0000 Original-Received: (at 64394) by debbugs.gnu.org; 1 Jul 2023 08:11:51 +0000 Original-Received: from localhost ([127.0.0.1]:56402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFVhu-0004pp-KO for submit@debbugs.gnu.org; Sat, 01 Jul 2023 04:11:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFVhs-0004pZ-HH for 64394@debbugs.gnu.org; Sat, 01 Jul 2023 04:11:49 -0400 Original-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 1qFVhm-0000Nr-U5; Sat, 01 Jul 2023 04:11:43 -0400 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=J8annVI7tF8KUar07XoPeWD1RwVRadJIH2TjsT2b7YM=; b=HfqXi3buOrM0 OxutcOfi9VjGSK8iXniUBd5gB23JG14IBb5hIQSFiHqOVuaY4ceR/RtTizQmGokei3EYBygLyY9HI AcF3oEz/+xVwnqG1iQF6Z6CcL4Gfi6in5q7MaYWeTEJPxk4Cy63VZj/dLsVZr/CDnevDlK9e7qpz0 I+Q2lSoUMm1WC6zaLrbcIR+kJ9ocn19cCkVDKoP2mRcBCQG0ASM3my1Upu7LiFug+ec/cmXx8qemX nsfIXcgtMb9n3K2GfdnGoOwWNPkVGQK4iLjGpkeHeSLHO+cpTqiUoSIX2hvsb/TZc0OMjlomB/mVk 4Yf/lBeHdojpxaumXUJvKA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFVhm-0000Gh-EY; Sat, 01 Jul 2023 04:11:42 -0400 In-Reply-To: <87h6qo6pbz.fsf@eliza.sh> (message from Eliza Velasquez on Sat, 01 Jul 2023 00:52:32 -0700) 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:264365 Archived-At: > From: Eliza Velasquez > Cc: 64394@debbugs.gnu.org > Date: Sat, 01 Jul 2023 00:52:32 -0700 > > I might not have been clear with what I meant here, sorry; I mean that > in my own personal config, when I run `mpv', its output appears in a > buffer named `*shell:mpv*' instead of `*Async Shell Command*', and I > have an explicit entry for it in `display-buffer-alist' so that it > doesn't appear via `display-buffer-no-window'. This was functioning > well, except the moment I set `async-shell-command-display-buffer' to > nil, the buffer displayed itself the moment mpv began to write to > stdout. But that's exactly what this variable is about, AFAIU: Whether to display the command buffer immediately. If t, display the buffer immediately; if nil, wait until there is output. Note the last part. So why do you think this behavior is a problem?