[Top][All Lists]

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

Re: M-x term & less -c

From: Dan Nicolaescu
Subject: Re: M-x term & less -c
Date: Wed, 05 Mar 2008 20:19:42 -0800

Mark Plaksin <address@hidden> writes:

  > term doesn't clear the screen at the right time when you run 'less -c'.
  > I've noticed this on and off when piping commands through less.  If the
  > command takes a few moments to run you can see the problem.  Here's a
  > simple way to reproduce it with Emacs CVS as of a March 3rd:
  > emacs -Q
  > M-x term RET RET
  > Inside the term, type 'sleep 5 | less -c'.  '-c' tells less to clear the
  > screen first thing.  The screen doesn't clear until the sleep exits.

Hmm, I could reproduce this with -Q, but not without it.

It turns out that having:
(setq redisplay-dont-pause t)
in .emacs makes it work.

Not sure what would the right fix be...

reply via email to

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