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 read-only prompt Date: Wed, 21 Aug 2002 19:57:36 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208220157.g7M1vaN10501@wijiji.santafe.edu> References: <200208191540.g7JFemV13663@rum.cs.yale.edu> <1029772679.16562.13.camel@turtle.as.arizona.edu> <200208201721.g7KHLcb09801@wijiji.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029981861 9531 127.0.0.1 (22 Aug 2002 02:04:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 02:04:21 +0000 (UTC) Cc: jdsmith@as.arizona.edu, monnier+gnu/emacs@rum.cs.yale.edu, miles@lsi.nec.co.jp, 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 17hhKe-0002Ta-00 for ; Thu, 22 Aug 2002 04:04: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 17hhnJ-0004UV-00 for ; Thu, 22 Aug 2002 04:33:57 +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 17hhLn-0002iS-00; Wed, 21 Aug 2002 22:05:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hhEk-0000kV-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 21:58:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hhEB-0000WX-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 21:58:07 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hhEA-0000Vx-00; Wed, 21 Aug 2002 21:57:38 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7M1vx513768; Wed, 21 Aug 2002 19:57:59 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7M1vaN10501; Wed, 21 Aug 2002 19:57:36 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE 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:6746 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6746 > It seems rather inconsistent to me to make the newest prompt read-only > and not the other prompts. People might want to trim the *shell* buffer, for example to eliminate spurious commands. Then the modified *shell* buffer can be sent via email to illustrate some point. 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. For instance, maybe the case that should get an error is when point is after the last prompt and you're deleting a region that runs back into the last prompt.