GNU bug report logs - #71554
29.3; eshell-command async buffer behavior

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Fri, 14 Jun 2024 13:58:01 UTC

Severity: normal

Found in version 29.3

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 71554 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: christopher <at> librehacker.com, Eli Zaretskii <eliz <at> gnu.org>,
 71554 <at> debbugs.gnu.org
Subject: Re: bug#71554: 29.3; eshell-command async buffer behavior
Date: Fri, 5 Jul 2024 13:23:26 -0700
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.




This bug report was last modified 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.