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 doesn't like read-only prompts Date: 13 Jun 2002 17:51:21 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20020613103231.CD52.LEKTU@terra.es> 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 1023958469 23639 127.0.0.1 (13 Jun 2002 08:54:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2002 08:54:29 +0000 (UTC) Cc: 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 17IQNB-000699-00 for ; Thu, 13 Jun 2002 10:54:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17IQlO-0007k1-00 for ; Thu, 13 Jun 2002 11:19:30 +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 17IQMp-0003nW-00; Thu, 13 Jun 2002 04:54:07 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17IQKQ-0003d7-00; Thu, 13 Jun 2002 04:51:38 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g5D8pNR13400; Thu, 13 Jun 2002 17:51:23 +0900 (JST) Original-Received: from mailsv.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 g5D8pNL17272; Thu, 13 Jun 2002 17:51:23 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g5D8pMh24053; Thu, 13 Jun 2002 17:51:22 +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 g5D8pLK04140; Thu, 13 Jun 2002 17:51:21 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 46EAD3722; Thu, 13 Jun 2002 17:51:21 +0900 (JST) Original-To: Juanma Barranquero System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <20020613103231.CD52.LEKTU@terra.es> Original-Lines: 21 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:4820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4820 Juanma Barranquero writes: > This patch to HEAD is needed to make ielm work again. The problem is > that the new handling of text-properties/attributes in comint.el is > choking while dealing with ielm's read-only prompt. I guess that patch would work, but somehow ielm's calling comint's output filter on read-only text seems vaguely dodgy to me. Perhaps it would be better to make comint itself support read-only prompts, controlled with a variable; then ielm could just set that variable to t. That would be a useful feature that people could turn on for other comint modes as well if they want. [An alternative might be to have comint support having only the _current_ prompt be read-only, since it's usually only that one which is in danger of being inadvertently modified.] -Miles -- Come now, if we were really planning to harm you, would we be waiting here, beside the path, in the very darkest part of the forest?