emacs-devel
[Top][All Lists]
Advanced

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

Re: [RFC] compact buffers when idle


From: Stefan Monnier
Subject: Re: [RFC] compact buffers when idle
Date: Thu, 19 Jul 2012 04:16:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Core idea of this stuff is to run compact_buffer when idle, e.g. with:

I guess you'd get most of the benefit from just adding the `compact'
field and checking it before compacting any buffer.  Could you provide
such a patch (and please try to avoid including a large reindent
just so as to move the nextb declaration)?

Moving the code into a separate `compact_buffer' function is OK, tho,
because it does make the code more readable (the Fgarbage_collect
function is obviously too large).


        Stefan



reply via email to

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