help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding last *Async Shell Command* buffer?


From: Eli Zaretskii
Subject: Re: Finding last *Async Shell Command* buffer?
Date: Fri, 26 Mar 2021 09:47:36 +0300

> From: Robert Thorpe <rt@robertthorpeconsulting.com>
> Date: Fri, 26 Mar 2021 05:52:22 +0000
> Cc: help-gnu-emacs@gnu.org
> 
> For what it's worth Jean, I understand your problem with async buffers.
> I've had the same problem.  I haven't found a solution to it.  If I find
> one I'll tell you.

Did you try writing a simple function to put on
buffer-list-update-hook?  Then you can in that function define a
buffer-local variable whose value is a simple monotonically increasing
counter, or even the time when the buffer was created.  Then write a
command to sort buffers in the order determined by that variable.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]