unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Mark Plaksin <happy@mcplaksin.org>
Cc: emacs-devel@gnu.org
Subject: Re: M-x term & less -c
Date: Wed, 05 Mar 2008 20:19:42 -0800	[thread overview]
Message-ID: <200803060419.m264JgDL010372@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <ws7iggsf8o.fsf@stone.tss.usg.edu> (Mark Plaksin's message of "Wed, 05 Mar 2008 22:28:23 -0500")

Mark Plaksin <happy@mcplaksin.org> 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	other threads:[~2008-03-06  4:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06  3:28 M-x term & less -c Mark Plaksin
2008-03-06  4:19 ` Dan Nicolaescu [this message]
2008-03-06 13:38   ` Mark Plaksin

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=200803060419.m264JgDL010372@sallyv1.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=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).