From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Reuben Thomas <rrt@sc3d.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#30280: async-shell-command-display-buffer doesn't work anymore
Date: Tue, 30 Jan 2018 19:06:19 +0000
Message-ID: <CAOnWdohb9W8csa4DdEy0cN_z9tLqOAG_667DX=tBCZasx=-E8A@mail.gmail.com>
References: <87a7wxd1g9.fsf@mail.linkov.net> <83607kinmx.fsf@gnu.org>
	<877erz41re.fsf@tcd.ie>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a113d4a80e365810564030e52"
X-Trace: blaine.gmane.org 1517339263 25169 195.159.176.226 (30 Jan 2018 19:07:43 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 30 Jan 2018 19:07:43 +0000 (UTC)
Cc: 30280@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 30 20:07:39 2018
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1egbFm-0005qk-6H
	for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jan 2018 20:07:34 +0100
Original-Received: from localhost ([::1]:56368 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1egbHn-0006mY-31
	for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jan 2018 14:09:39 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56772)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1egbGY-0005t1-HO
	for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 14:09:28 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1egbFI-0000dV-Pp
	for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 14:08:22 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:41923)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1egbFI-0000cJ-CE
	for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 14:07:04 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1egbFG-00033w-5S
	for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 14:07:03 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Reuben Thomas <rrt@sc3d.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 30 Jan 2018 19:07:02 +0000
Resent-Message-ID: <handler.30280.B30280.151733919011735@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 30280
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 30280-submit@debbugs.gnu.org id=B30280.151733919011735
	(code B ref 30280); Tue, 30 Jan 2018 19:07:02 +0000
Original-Received: (at 30280) by debbugs.gnu.org; 30 Jan 2018 19:06:30 +0000
Original-Received: from localhost ([127.0.0.1]:49820 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1egbEk-00033D-8w
	for submit@debbugs.gnu.org; Tue, 30 Jan 2018 14:06:30 -0500
Original-Received: from mail-oi0-f47.google.com ([209.85.218.47]:41025)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <rrt@sc3d.org>) id 1egbEh-00032y-OC
	for 30280@debbugs.gnu.org; Tue, 30 Jan 2018 14:06:28 -0500
Original-Received: by mail-oi0-f47.google.com with SMTP id m83so8630230oik.8
	for <30280@debbugs.gnu.org>; Tue, 30 Jan 2018 11:06:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=mIUCaaVek8Fsv2McpiNgEo9J1ynmFSmguNQ/D+3VLgg=;
	b=krY+W0QkxRN6kza3BpL+OfoNbpdbveBvS7Qihu0S9SDz4XpPMMO2SJF04gkeZ6Cm7U
	loIhaScrnUFzTB4pP2KEQr/40iMs7h1eUQb1mAEGpYjNVD+MNEqzkZtZkekn0wFedoCR
	6CyulKW685L00voxrYIHXWYYHdzr4+nHo8f14=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=mIUCaaVek8Fsv2McpiNgEo9J1ynmFSmguNQ/D+3VLgg=;
	b=E8ztmhMcRsl/y0/CFgwSOVadvOST12cXzZA6Jk7OM9lhTgRS6pItdHrlGo7vx1/9EI
	gv3sgzeO/xLNSBJU7YMGWgMYhkptFDYUpSTqX+wvXdTdmXkpzjhPZi5ocaN/OU9K7LPz
	hOI9zqC/ZpCCG7CjtwBItxR0LXNZIb8cG1Y2KmHJT8u+3n4WZaJZrNZacan2ewO2dvD2
	PoYLdOfiWCqsbkYU41PUxNIDzXQ+JQcBQ+YD2W7LjVNoxhpDwN3s62wqS/knSFrO0kJo
	vWllrJJt1nfxApB76r03OE0cba+WiJkk3FwuGyU6v5DDiLxFylAsv34lj5eKaawo4Yvh
	uL0A==
X-Gm-Message-State: AKwxytf30aYqeW3SyrsdLfa6/Z6afD9tqnD3bDDwS3n1f8jK+nPZXXzG
	Yv/IgrCusBK7ytQSDiTWNcn9bxzOBgs/T/QthGNokg==
X-Google-Smtp-Source: AH8x225h9IgP1jj/fu42D7cQ7CynAltrzrOG9f9AtH0PxWTG2gGRnVFnMfv0DMFl63t3efLkqnHUo8TjVY/DPj3ptjc=
X-Received: by 10.202.219.65 with SMTP id s62mr4334919oig.120.1517339181008;
	Tue, 30 Jan 2018 11:06:21 -0800 (PST)
Original-Received: by 10.157.12.180 with HTTP; Tue, 30 Jan 2018 11:06:19 -0800 (PST)
In-Reply-To: <877erz41re.fsf@tcd.ie>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:142710
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/142710>

--001a113d4a80e365810564030e52
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

2018-01-30 18:53 GMT+00:00 Basil L. Contovounesios <contovob@tcd.ie>:

>
> I am taking the liberty of CCing Reuben because I believe this report
> can be merged with bug#30213.  As justification, a recap and correction
> of my diagnosis and solution from that report follows.
>
> The async-shell-command-display-buffer toggle determines whether the
> output buffer is displayed immediately or in the process filter, as the
> latter should only be executed on process output.  The guard in the
> process filter, however, has always required that the buffer (a) be
> empty; and (b) have the same name as the original output buffer.
>

=E2=80=8BI think you're right that (b) is not necessary. I think I did it t=
hat way
originally because I was doing everything with the buffer name, so really
it was just an oversight.=E2=80=8B

--=20
https://rrt.sc3d.org

--001a113d4a80e365810564030e52
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif;font-size:small"><span style=3D"font-family:arial,sans-serif"=
>2018-01-30 18:53 GMT+00:00 Basil L. Contovounesios </span><span dir=3D"ltr=
" style=3D"font-family:arial,sans-serif">&lt;<a href=3D"mailto:contovob@tcd=
.ie" target=3D"_blank">contovob@tcd.ie</a>&gt;</span><span style=3D"font-fa=
mily:arial,sans-serif">:</span><br></div><div class=3D"gmail_extra"><div cl=
ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I am taking the liberty of CCing Reuben because I believe this report<br>
can be merged with bug#30213.=C2=A0 As justification, a recap and correctio=
n<br>
of my diagnosis and solution from that report follows.<br>
<br>
The async-shell-command-display-<wbr>buffer toggle determines whether the<b=
r>
output buffer is displayed immediately or in the process filter, as the<br>
latter should only be executed on process output.=C2=A0 The guard in the<br=
>
process filter, however, has always required that the buffer (a) be<br>
empty; and (b) have the same name as the original output buffer.<br></block=
quote><div><br></div><div><div class=3D"gmail_default" style=3D"font-family=
:&quot;times new roman&quot;,serif;font-size:small">=E2=80=8BI think you&#3=
9;re right that (b) is not necessary. I think I did it that way originally =
because I was doing everything with the buffer name, so really it was just =
an oversight.=E2=80=8B</div></div></div><div><br></div>-- <br><div class=3D=
"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><a hr=
ef=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org</a></div=
></div>
</div></div>

--001a113d4a80e365810564030e52--