From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: M-x term & less -c Date: Wed, 05 Mar 2008 20:19:42 -0800 Message-ID: <200803060419.m264JgDL010372@sallyv1.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204777223 6215 80.91.229.12 (6 Mar 2008 04:20:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 04:20:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mark Plaksin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 05:20:50 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JX7b7-0000Hx-KO for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 05:20:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX7aa-0003EB-7F for ged-emacs-devel@m.gmane.org; Wed, 05 Mar 2008 23:20:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JX7aX-0003Du-28 for emacs-devel@gnu.org; Wed, 05 Mar 2008 23:20:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JX7aV-0003CJ-N7 for emacs-devel@gnu.org; Wed, 05 Mar 2008 23:20:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX7aV-0003C8-FP for emacs-devel@gnu.org; Wed, 05 Mar 2008 23:20:11 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JX7aV-0005z4-Dv for emacs-devel@gnu.org; Wed, 05 Mar 2008 23:20:11 -0500 X-ICS-MailScanner-Watermark: 1205381983.28871@PN8pEtJ15Ae7b2Nc7YF6NA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m264JgDL010372; Wed, 5 Mar 2008 20:19:42 -0800 (PST) In-Reply-To: (Mark Plaksin's message of "Wed, 05 Mar 2008 22:28:23 -0500") Original-Lines: 21 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91468 Archived-At: Mark Plaksin 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...