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

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

Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?


From: Richard Stallman
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?]






reply via email to

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