unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jim Porter <jporterbugs@gmail.com>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: christopher@librehacker.com, Eli Zaretskii <eliz@gnu.org>,
	71554@debbugs.gnu.org
Subject: bug#71554: 29.3; eshell-command async buffer behavior
Date: Fri, 5 Jul 2024 13:23:26 -0700	[thread overview]
Message-ID: <dcc061db-beb2-917f-24cd-db449f6248b7@gmail.com> (raw)
In-Reply-To: <877cdz7k6g.fsf@posteo.net>

On 7/5/2024 11:44 AM, Thierry Volpiatto wrote:
>> My understanding is that this would prompt the user if there were a
>> buffer named "*Eshell Async Command Output*" (good), but also if there
>> were a buffer named "*Eshell Async Command Output*<2>" (possibly
>> unnecessary).
> 
> Why?
> 
> If we remove the cl-loop, we will have only:
> 
> (if (buffer-live-p (get-buffer "*Eshell Async Command Output*"))
>      (do something according to eshell-command-async-buffer))
> 
> which will return nil and
> 
> (rename-buffer buf "*Eshell Async Command Output*" nil)
> 
> will run inconditionally without asking anything while the process in
> "*Eshell Async Command Output*<2>" is still (maybe) running.
> 
> Did I miss something?

If an Eshell command is running in the "...<2>" buffer, then running 
another Eshell command in "*Eshell Async Command Output*" at the same 
time should be ok. As such, I don't think it's necessary to prompt the 
user in this case: the two async commands can happily run side-by-side.





  reply	other threads:[~2024-07-05 20:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14 13:57 bug#71554: 29.3; eshell-command async buffer behavior Christopher Howard
2024-06-14 18:53 ` Thierry Volpiatto
2024-06-14 18:56   ` Eli Zaretskii
2024-06-14 20:32     ` Thierry Volpiatto
2024-06-14 22:49       ` Jim Porter
2024-06-15  5:13         ` Thierry Volpiatto
2024-06-20  7:30           ` Thierry Volpiatto
2024-06-24  5:36             ` Jim Porter
2024-06-24  6:23               ` Thierry Volpiatto
2024-06-24 12:33               ` Eli Zaretskii
2024-07-05  4:09                 ` Thierry Volpiatto
2024-07-05  5:46                   ` Eli Zaretskii
2024-07-05  6:24                     ` Thierry Volpiatto
2024-07-05 11:11                       ` Eli Zaretskii
2024-07-05 12:21                         ` Thierry Volpiatto
2024-07-05 14:34                           ` Thierry Volpiatto
2024-07-05 17:41                             ` Jim Porter
2024-07-05 18:44                               ` Thierry Volpiatto
2024-07-05 20:23                                 ` Jim Porter [this message]
2024-07-06  2:48                                   ` Jim Porter
2024-07-06  3:34                                     ` Thierry Volpiatto
2024-07-06  4:12                                     ` Thierry Volpiatto
2024-07-06  5:28                                       ` Jim Porter
2024-07-06  6:10                                         ` Thierry Volpiatto
2024-06-24 14:15 ` Christopher Howard
2024-07-06 15:13 ` Christopher Howard
2024-07-06 17:06   ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcc061db-beb2-917f-24cd-db449f6248b7@gmail.com \
    --to=jporterbugs@gmail.com \
    --cc=71554@debbugs.gnu.org \
    --cc=christopher@librehacker.com \
    --cc=eliz@gnu.org \
    --cc=thievol@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).