Re: XEmacs can't delete big chunks

"Stephen J. Turnbull" <[email protected]> Fri, 17 Jun 2005 11:51:35 +0900
Newsgroups gmane.emacs.xemacs.general
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Pete" == Pete Siemsen <[email protected]> writes:

    Pete> If I load a big file (>50000 lines) into XEmacs v21.5beta17
    Pete> and delete a big chunk with, like, C-u 20000 C-k, XEmacs
    Pete> just sucks CPU until I kill it.

No.  I don't have a 50,000 plus file handy, but 21.5's src/ChangeLog
has >49,000 lines.  C-u 20000 C-k from the top of file took
perceptible time but less than a second, in a Mule build with full
error-checking (*very* slow compared to a production build).

The usual culprit is Motif (the Motif clipboard protocol really really
sucks).  See the docs for the variables `interprogram-cut-function'
and `x-selection-strict-motif-ownership'.  There were also some
changes around 21.5.20 which should result in speedup of certain
motion commands (a bug in the Mule position cache meant it wasn't
caching, so the fix won't help from a cold start, only once the cache
is filled).

-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.