From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: comint-interrupt-subjob also kills pending input Date: Tue, 18 Jun 2002 10:55:34 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206181455.g5IEtYR29250@rum.cs.yale.edu> References: <200206141547.g5EFlZf08916@aztec.santafe.edu> <200206180810.g5I8ALJ14851@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024412296 4753 127.0.0.1 (18 Jun 2002 14:58:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2002 14:58:16 +0000 (UTC) Cc: miles@gnu.org, 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 17KKQy-0001EY-00 for ; Tue, 18 Jun 2002 16:58:16 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17KKrj-0002Pz-00 for ; Tue, 18 Jun 2002 17:25:55 +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 17KKQQ-0002fi-00; Tue, 18 Jun 2002 10:57:42 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KKON-0002Qz-00; Tue, 18 Jun 2002 10:55:35 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5IEtYR29250; Tue, 18 Jun 2002 10:55:34 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman 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:4958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4958 > I find that it's almost _always_ the case that when I interrupt a > process in shell-mode, and have pending input, that I want the input to > remain pending (so with the previous comint behavior, I'd almost always > immediately hit C-y). > > With your change it becomes much more difficult to do that. > > It is trivial -- M-p brings it back. > > Instead of replacing `comint-kill-input' with `comint-skip-input', why > not just have nothing? > > I don't like that. C-c C-c in Emacs is supposed to be like C-c in > an ordinary terminal. People could be painfully surprised if that > fails to discard the input. I for one would be happy to see Emacs keep the input, since I've always been annoyed that shells don't keep it (especially since they typically also fail to put the discarded input in the history so M-p doesn't even work). Stefan