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

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

[Richard Stallman] Re: [T. V. Raman] read-only modes should be using buf


From: Dave Love
Subject: [Richard Stallman] Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?
Date: Mon, 17 Jan 2005 23:00:20 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3 (gnu/linux)

I realized this didn't include you in the cc: to answer rms' question.

--- Begin Message --- Subject: Re: [T. V. Raman] read-only modes should be using buffer-disable-undo? Date: Wed, 05 Jan 2005 15:07:51 -0500
    I run 21.3.50 from CVS, and recent updates to simple.el 
    produce a yes/no dialog when the undo  information to save becomes
    large; this pointed out an interesting place where Emacs  libs could
    be optimizing but apparently aren't -- namely, cases like man-mode.

There probably are other modes we should optimize in this way, once
the specific modes are identified.  I did man-mode yesterday.

    You could probably do something similar during the execution of a
    shell command in shell-mode/comint-mode and friends; this would win in
    the case of long running shell commands that produce lots of output a
    small chunk at  time.

The various undo-insert records could be optimized together, yes.
record_insert already tries to combine them.  Do you know
for a fact that this optimization is not working in that case?]




--- End Message ---

reply via email to

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