From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Reuben Thomas 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: 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 To: "Basil L. Contovounesios" 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: 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 ) 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 ) 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 ) 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 ) 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 ) 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 ) 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 Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jan 2018 19:07:02 +0000 Resent-Message-ID: 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 ) 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 ) 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142710 Archived-At: --001a113d4a80e365810564030e52 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-01-30 18:53 GMT+00:00 Basil L. Contovounesios : > > 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
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.=C2=A0 As justification, a recap and correctio= n
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.=C2=A0 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= 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

--
--001a113d4a80e365810564030e52--