From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: comint read-only prompt Date: 22 Aug 2002 11:35:13 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208191540.g7JFemV13663@rum.cs.yale.edu> <1029772679.16562.13.camel@turtle.as.arizona.edu> <200208201721.g7KHLcb09801@wijiji.santafe.edu> <200208220157.g7M1vaN10501@wijiji.santafe.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029983907 14268 127.0.0.1 (22 Aug 2002 02:38:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 02:38:27 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, jdsmith@as.arizona.edu, monnier+gnu/emacs@rum.cs.yale.edu, simon.marshall@misys.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hhrY-0003hb-00 for ; Thu, 22 Aug 2002 04:38:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17hiKE-0005JS-00 for ; Thu, 22 Aug 2002 05:07:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hhsf-0000qK-00; Wed, 21 Aug 2002 22:39:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hhq9-0000fK-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 22:36:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hhq7-0000eR-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 22:36:52 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hhq6-0000dO-00; Wed, 21 Aug 2002 22:36:51 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g7M2aaG10118; Thu, 22 Aug 2002 11:36:37 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g7M2ZOI26083; Thu, 22 Aug 2002 11:36:22 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g7M2ZNc16358; Thu, 22 Aug 2002 11:35:24 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g7M2ZEs13745; Thu, 22 Aug 2002 11:35:18 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C673036F2; Thu, 22 Aug 2002 11:35:13 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200208220157.g7M1vaN10501@wijiji.santafe.edu> Original-Lines: 24 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:6750 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6750 Richard Stallman writes: > Yes, I agree. In some cases people might want to edit the last > prompt, too. Yet there are also cases (as has been said) where they > would tend to do so by mistake and it would be useful to prevent them. > > Perhaps instead of trying to distinguish these cases based on which > prompt is being edited, we should try to distinguish between different > commands. If just rebinding DEL to abort when it hits the prompt would be enough, then that seems like it might be a good idea (and could even be turned on by default, probably). But I don't think this particular case warrants any more effort than that, if making the current prompt read-only would be simpler. [People already think of the current prompt as something special (`it's the current prompt!'), but tend to think of old prompts as simply being part of the text of the session, not as something special.] -Miles -- [|nurgle|] ddt- demonic? so quake will have an evil kinda setting? one that will make every christian in the world foamm at the mouth? [iddt] nurg, that's the goal