From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: comint-carriage-motion causes severe problems. Date: Tue, 2 Jul 2002 13:45:08 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207021945.g62Jj8F01898@aztec.santafe.edu> References: <200207020035.TAA19789@eel.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1025640726 15297 127.0.0.1 (2 Jul 2002 20:12:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2002 20:12:06 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17PU0L-0003yb-00 for ; Tue, 02 Jul 2002 22:12:05 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17PU5W-0003iK-00 for ; Tue, 02 Jul 2002 22:17:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17PU0e-0001Sl-00; Tue, 02 Jul 2002 16:12:24 -0400 Original-Received: from delysid.gnu.org ([158.121.106.20]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17PU0F-0001KD-00; Tue, 02 Jul 2002 16:11:59 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by delysid.gnu.org with esmtp (Exim 3.34 #2) id 17PTmk-00049B-00; Tue, 02 Jul 2002 15:58:02 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g62JjBB10659; Tue, 2 Jul 2002 13:45:11 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g62Jj8F01898; Tue, 2 Jul 2002 13:45:08 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: miles@gnu.org In-Reply-To: (message from Miles Bader on 02 Jul 2002 10:32:43 +0900) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5353 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5353 You wrote, Many interactive programs in unix use CR and BS characters in their output to try to update a single line of output (e.g., in progress indicators). However, Teirlinck reports this: I know programs which, when ran from a shell-buffer will intersperse their output with repeats and ^H's. However, comint-carriage-motion makes these problems worse rather than solving them. Without the function, the output looks ugly, but is readable. With the function, the output is unrecognizable. It seems that you both agree that comint-carriage-motion should be turned off in ielm, but disagree about what its effects are in shell buffers. Luc, could you please give some examples of programs where comint-carriage-motion makes things worse, and show what the output looks like both with and without comint-carriage-motion? Miles, could you please show an example where the feature is beneficial? By looking at them, it may perhaps be possible to figure out a heuristic for handling more of the cases in a reasonable way.