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-interrupt-subjob also kills pending input Date: Sat, 22 Jun 2002 16:52:02 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206222252.g5MMq2P23123@aztec.santafe.edu> References: <200206141547.g5EFlZf08916@aztec.santafe.edu> <200206180810.g5I8ALJ14851@aztec.santafe.edu> <200206201434.g5KEYC318619@aztec.santafe.edu> <87adpp7m6l.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024786518 19479 127.0.0.1 (22 Jun 2002 22:55:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Jun 2002 22:55:18 +0000 (UTC) Cc: jidanni@ms46.hinet.net, 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 17Ltmo-000544-00 for ; Sun, 23 Jun 2002 00:55:18 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17LtnC-0000CO-00 for ; Sun, 23 Jun 2002 00:55:42 +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 17Ltmq-00051C-00; Sat, 22 Jun 2002 18:55:20 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Ltje-0004od-00; Sat, 22 Jun 2002 18:52:03 -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 g5MMq2C14876; Sat, 22 Jun 2002 16:52:02 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g5MMq2P23123; Sat, 22 Jun 2002 16:52:02 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: miles@gnu.org In-Reply-To: <87adpp7m6l.fsf@tc-1-100.kawasaki.gol.ne.jp> (message from Miles Bader on 21 Jun 2002 05:02:58 +0900) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5110 > Perhaps it should kill the input when the input follows a prompt > but not otherwise. What do you think of that idea? That would make sense, but I'm not sure how possible it is to do a good job -- the code doesn't ever know when you're seeing a real prompt or not, just that there's some non-newline-terminated output. Comint has ways of recognizing prompts. It has to have them.