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: T. V. Raman
Subject: Re: [T. V. Raman] read-only modes should be using buffer-disable-undo?
Date: Sat, 22 Jan 2005 16:56:21 -0800

Modes that I've spotted so far where undo could be disabled:

Man-mode
w3-mode  (not yet part of emacs)

With respect to the aggregation of small chunks I do not believe I'm
seeing any buggy behavior;
however the recent updates in simple.el that cause the yes/no dialog 
to ask about discarding undo information does pop up in shell-mode --- 
I've had this happen during:

A) Compilation of alsa (a fairly large compile )
B) running yum update which produces lots of output
C) Compiling Emacs from CVS


 >>>>> "Richard" == Richard Stallman <address@hidden> writes:

    Richard>     I wasn't refering to the optimization with respect to
    Richard> grouping small chunks of output; rather, I was indicating
    Richard> that perhaps we could avoid having undo information
    Richard> altogether in read-only modes like man-mode.

    Richard> Certainly.  If you know of any such modes that need this
    Richard> change, please just say which, or else write and
    Richard> contribute patches.

    Richard>     Further, for modes like shell-mode, it would be nice
    Richard> to give the end-user to disable the collection of undo
    Richard> information in modes like shell/comint mode; e.g. before
    Richard> launching a large compile.

    Richard> The entire output from the compiler ought to make one
    Richard> small undo entry.  There is already code to do this, to
    Richard> combine the various consecutive insertion entries into a
    Richard> single insertion entry.

    Richard> Does this actually fail for you?  If so, can you send a
    Richard> test case?

-- 
Best Regards,
--raman

      
Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    TVRaman
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc




reply via email to

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