From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Finding last *Async Shell Command* buffer? Date: Thu, 25 Mar 2021 10:54:02 -0500 Message-ID: References: <8735wjp95u.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14496"; mail-complaints-to="usenet@ciao.gmane.io" To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 25 16:53:52 2021 Return-path: Envelope-to: geh-help-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 1lPSIx-0003h5-VV for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 16:53:51 +0100 Original-Received: from localhost ([::1]:58820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPSIx-0002Ps-0l for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Mar 2021 11:53:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPSIC-0002EC-Rx for help-gnu-emacs@gnu.org; Thu, 25 Mar 2021 11:53:04 -0400 Original-Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]:33713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPSIB-0007jQ-Dq for help-gnu-emacs@gnu.org; Thu, 25 Mar 2021 11:53:04 -0400 Original-Received: by mail-yb1-xb30.google.com with SMTP id l15so2827245ybm.0 for ; Thu, 25 Mar 2021 08:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=++LWlciPngpz+3Xad2x8/Xro2QceHdCgfs66A78uyKY=; b=HwzCpODzSuDNC26vsQcHXtTFuoj275z8SY/6vNn05czRoV482eGpLS50j+ZIG/M7qj cMwv97t+1Qd0kWPYDyQgb8GZ1RhGclvd4ITlNSUCPGVbDe/NFEEC95kPYT25LxGxhYSj f/D3pVZmsH7Vr23S/ze2ojHePiw9osto7NeTf78zjZS4iYNcJeyDKhbHG10XQNXJ9xfI RTO3sLdeSRwnlNAU0vNK3ufCoRtcJHb61O8ThSHdPhrihChxgVkUbTtbmE4zIRuNa4te EPnFawFcQyTKm3ZxdXLXhwK6dMJt+KwlaKP/rulBTuCv6MB6qfG4Fkb22Hp4RhyIyMTu yAPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=++LWlciPngpz+3Xad2x8/Xro2QceHdCgfs66A78uyKY=; b=jvU1PzF9cXiWUt2MNqF7a9SH152yD6ZXEU2uYTSpMJFg9ErrqXrrihKubhMwEJ73FU u+/441cSgIKxfjIJaHYv3MsLliJnEgMsYrGwcs1bIwobrm8k8ILzEBK+vS4l6GNL748X SbzwLpwabN079YZBfiAW69YSQeNrfHjb4XiDkW55WJmo0hkhWoV5iOFZGRDxUYimZCgo FmCGU80r/qe+VuODZPyKHvO+Qr5U+glw5pbfRaI/F0QClkI7HFuGws3gk0ktJPWchFGM kxk1iY9l+qq0s9FBluipxc573Q5Uy+vBTYOVzYbQFdJMv9Zf15LEDQoCkx6YMSUrCSKF aDDA== X-Gm-Message-State: AOAM530jpgrJHpHXspnQGSyEfypt9qrkU3SXrCy4vDYWrqypV43qRMRz hxDVjd7rmRfe4SVoN4GQjZ3bWnyPMBwG7eB+2jxUjtA8eWWgHIfAPQ== X-Google-Smtp-Source: ABdhPJypfAaYGIPMGvBHDAUwpVPPIHGtjeCAJs6kUc//s2Mp3g/w+InAhoxP9x/W6FDSLdVHNg2daMffpISl5kavhxs= X-Received: by 2002:a25:d310:: with SMTP id e16mr13796528ybf.129.1616687581648; Thu, 25 Mar 2021 08:53:01 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb30.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128570 Archived-At: > > The *Buffer List* should be sorted but if you want even > > faster, tell me what these buffers are called exactly... > > To find out the buffer by listing, I would need to enter each buffer > and review it if it is the right one. You forgot to answer the last bit. How are these *Async Shell Command* buffers named? If there is just one, that is, by definition, the last one, I believe. If some counter is incremented each time one is created to avoid name collisions, choose the one with the largest number. Can you give an example of how to create one or more of these buffers? I'm not sure I've ever used an async shell before. Skip Montanaro