emacs-devel
[Top][All Lists]
Advanced

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

Re: Occur stack


From: Andreas Röhler
Subject: Re: Occur stack
Date: Sun, 19 Jan 2014 15:50:34 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 17.01.2014 14:24, schrieb Tom:
Andreas Röhler <andreas.roehler <at> online.de> writes:

In cases where a plenty of occur-calls is done, maybe
the discussion WRT to memory pertains?

The aim of this little experimental code is only to demonstrate
how this feature could work, not to be an optimal implementation.

But it only stores the last 10 occur buffers, so memory may not
be a real concern (most occur buffers are not huge in
my experience) and if the user uses occur frequently then
every buffer is pushed out of this stored history after a while
and the garbage collector can do its job.





For me it's fine as is, thanks again.

WRT memory, what about checking for maximal buffer length-limit before storing - and in (seldom) cases saving instead some message like "Not stored because volume surpasses..."?

Andreas



reply via email to

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