emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Slow operations on buffers of tens of megabytes


From: Alexandre Oliva
Subject: Re: Slow operations on buffers of tens of megabytes
Date: Thu, 09 Nov 2006 20:00:57 -0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

On Nov  8, 2006, Reiner Steib <address@hidden> wrote:

> On Tue, Nov 07 2006, Reiner Steib wrote:
>> Alexandre and Elias: Does this patch give good results?

> Please consider this patch instead:

Thanks for the patch.  It works, but it doesn't.

It works in that it does speed up entering in new folders.

However, it breaks mail splitting in that, at the time buffers are to
be saved, vc-before-save ends up trying to require vc-RCS, so
newly-split e-mail is not saved, remaining in open modified buffers
until I override vc-before-save and vc-after-save to empty functions
and save them all.  I don't think I lost any e-mail in the process.

I guess the vc backend code could set up some char table that enables
the mapping from RCS to rcs in order to get the correct backend file
name, but should it?

Ultimately, I'm a bit concerned about messing with the case table of
an nnfolder buffer for the entire duration of the buffer.  It's hard
to tell whether there'd be any less visible fallouts.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   address@hidden, gcc.gnu.org}
Free Software Evangelist  address@hidden, gnu.org}




reply via email to

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