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

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

Re: Observing lags or never ending processes


From: Jean Louis
Subject: Re: Observing lags or never ending processes
Date: Fri, 23 Sep 2022 08:30:18 +0300
User-agent: Mutt/+ () (2022-06-11)

* Jean Louis <bugs@gnu.support> [2022-09-23 07:30]:
> * Emanuel Berg <incal@dataswamp.org> [2022-09-22 16:15]:
> > Jean Louis wrote:
> > 
> > > I will try to monitor it, and minimize buffers. Some buffers
> > > remain open and it accumulates to 4000 buffers.
> > 
> > Should automate that, often when that happens it isn't that
> > you have 4000 buffers in general but instead there are 2-3 bad
> > guys that produce the bulk of them, so those are the ones you
> > should identify and have them explicitely kill buffer when
> > they are done with whatever they are doing.
> 
> Having those buffers is convenient. Imagine list of people like
> customers, then you click on one and review history, then you kill
> that buffer, that is why you come back to previous one. It is
> convenient.
> 
> Otherwise, I would need to pass function with arguments to newly
> generated buffer to be able to remember how to construct the previous
> one.
> 
> I would say, one could make some buffer function to kill the buffer if
> it was not re-visited in some specific time. It would mean to install
> timer for it.
> 
> Is there function which can sense that user switched to some buffer?

I wish to ask if there is function that can tell that user did not
view the buffer for longer time? It is about self destruction if
unused for some time.

Then the buffer could delete itself by using timer.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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