unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark Plaksin <happy@mcplaksin.org>
Subject: Re: term.el and undo
Date: Tue, 24 Aug 2004 16:13:53 -0400	[thread overview]
Message-ID: <m3fz6cnvjy.fsf@water.tss.usg.edu> (raw)
In-Reply-To: E1Bz1vr-000345-G6@fencepost.gnu.org

Richard Stallman <rms@gnu.org> writes:

> Cases like running `top' under M-x term build up big undo lists.
> It seems to me that undo information is useless in that case.
> However, just disabling undo in term buffers seems like a mistake.
> There are some cases, such as editing user input in line mode,
> where undo info is certainly desired.
>
> Here's a patch that should disable generation of undo information
> for output done by the subprogram.  Could those who use term.el
> try it and report on whether the results make sense?

Personally I'd be happy with *no* undo in term buffers.  Undo with the
patch works as expected when in line mode and editing a command-line.
That's the only time that undo seems useful.  With the patch using undo at
any other time makes the cursor jump around from line to line which is
confusing.

  parent reply	other threads:[~2004-08-24 20:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-22 23:39 term.el and undo Richard Stallman
2004-08-23  1:43 ` undo in compilation mode Karl Chen
2004-08-23 23:26   ` Richard Stallman
2004-08-23 23:32     ` Florian Weimer
2004-08-24 21:02       ` Richard Stallman
2004-08-24 23:25         ` Karl Chen
2004-08-24  2:08     ` Stefan
2004-08-24 14:50       ` Karl Chen
2004-08-25  4:41         ` Richard Stallman
2004-08-24 20:13 ` Mark Plaksin [this message]
2004-08-25  4:41   ` term.el and undo Richard Stallman
2004-08-25  8:03     ` David Kastrup
2004-08-25 12:59       ` Florian Weimer
2004-08-25 20:25         ` Mark Plaksin
2004-08-25 22:40       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3fz6cnvjy.fsf@water.tss.usg.edu \
    --to=happy@mcplaksin.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).