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 read-only prompt Date: Wed, 21 Aug 2002 11:23:28 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200208211523.g7LFNSQ24721@rum.cs.yale.edu> References: <200208192046.g7JKkO809561@wijiji.santafe.edu> <20020820172357.237803.FMU965@piglet.prv.splode.com> <1029893541.20786.299.camel@turtle.as.arizona.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029943477 14897 127.0.0.1 (21 Aug 2002 15:24:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 15:24:37 +0000 (UTC) Cc: Noah Friedman , rms@gnu.org, 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 17hXLV-0003s8-00 for ; Wed, 21 Aug 2002 17:24:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17hXnx-0006NY-00 for ; Wed, 21 Aug 2002 17:53: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 17hXMd-0003D9-00; Wed, 21 Aug 2002 11:25:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hXKb-00033N-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 11:23:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hXKZ-00032N-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 11:23:37 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hXKT-00031t-00; Wed, 21 Aug 2002 11:23:29 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g7LFNSQ24721; Wed, 21 Aug 2002 11:23:28 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: JD Smith 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:6731 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6731 > > I fail to understand why you want to mess with read-only properties in > > comint buffers at all, especially with regard to the prompt. I don't feel very strongly about it, but I tend to agree with Noah on this one: read-only properties are often annoying and should be used *very* sparingly. It's better to make sure people don't end up erasing the text by mistake, then let them try to do it and then burp. > There are two types of people in the world: ones who use C-a C-k when > they change their mind at a prompt, and ones who wail on the Delete key. I don't know about you, but when I do C-a C-k in Emacs-21's *shell* buffer, I don't end up erasing the prompt. Maybe you haven't noticed the `field' property introduced with Emacs-21 because you have C-a set to comint-bol ? Stefan