From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Noah Friedman Newsgroups: gmane.emacs.devel Subject: Re: comint read-only prompt Date: Tue, 20 Aug 2002 17:23:57 -0700 (PDT) Sender: emacs-devel-admin@gnu.org Message-ID: <20020820172357.237803.FMU965@piglet.prv.splode.com> References: <200208192046.g7JKkO809561@wijiji.santafe.edu> Reply-To: Noah Friedman NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1029890285 21576 127.0.0.1 (21 Aug 2002 00:38:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 00:38:05 +0000 (UTC) Cc: simon.marshall@misys.com, emacs-devel@gnu.org, jdsmith@as.arizona.edu Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hJVb-0005bq-00 for ; Wed, 21 Aug 2002 02:38:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17hJxk-0002me-00 for ; Wed, 21 Aug 2002 03:07:09 +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 17hJWi-0000dA-00; Tue, 20 Aug 2002 20:39:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hJI2-0007O4-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 20:24:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hJI0-0007Np-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 20:24:02 -0400 Original-Received: from scones-of-silence.splode.com ([216.27.180.143] helo=piglet.prv.splode.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hJI0-0007Nj-00; Tue, 20 Aug 2002 20:24:00 -0400 Original-Received: (from friedman@localhost) by piglet.prv.splode.com (8.9.3/8.9.3) id RAA11364; Tue, 20 Aug 2002 17:23:57 -0700 Original-To: rms@gnu.org In-Reply-To: <200208192046.g7JKkO809561@wijiji.santafe.edu> (rms@gnu.org Monday, 19 Aug 2002 14:46:24 -0600) 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:6703 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6703 I fail to understand why you want to mess with read-only properties in comint buffers at all, especially with regard to the prompt. There is already a perfectly good method for avoiding accidentally backing into the prompt while editing, and that is binding C-cC-a to comint-bol-or-process-mark (which is what it used to be bound to, years ago), and if you are so inclined you can bind a function to pre-command-hook to move point past the prompt (or even past the process mark) if you try to edit a prompt. But really, if you mess up the prompt, so what? In the decade+ that I've been using shell mode, this has never once been an issue. But I do find excessive use of read-only properties on regular text immensely frustrating when I am trying to do something out of the ordinary.