From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: comint-prompt-read-only causes problems in Gnus message mode Date: Sun, 21 Nov 2004 10:24:31 -0600 (CST) Message-ID: <200411211624.iALGOVl21497@raven.dms.auburn.edu> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1101054389 23147 80.91.229.6 (21 Nov 2004 16:26:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2004 16:26:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 17:26:15 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CVuXW-0006Oa-00 for ; Sun, 21 Nov 2004 17:26:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVugW-0000iG-SX for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2004 11:35:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CVugI-0000cB-HW for emacs-devel@gnu.org; Sun, 21 Nov 2004 11:35:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CVugG-0000bV-0F for emacs-devel@gnu.org; Sun, 21 Nov 2004 11:35:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CVugF-0000b3-I3 for emacs-devel@gnu.org; Sun, 21 Nov 2004 11:35:15 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CVuX0-0008Gy-Nx for emacs-devel@gnu.org; Sun, 21 Nov 2004 11:25:42 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id iALGPaFu010185; Sun, 21 Nov 2004 10:25:36 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iALGOVl21497; Sun, 21 Nov 2004 10:24:31 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: harald@maierh.de In-reply-to: (message from Harald Maier on Sun, 21 Nov 2004 16:20:43 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30191 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30191 Harald Maier wrote: In other modes the inserted prompt too has the property 'read-only' Did you check this? (You can do `C-u C-x =' to check the text properties of a character.) but there it's possible to delete the text (e.g. text-mode or the normal mail mode). By default `read-only' is in yank-excluded-properties. In that setting, the copied text should not have the `read-only' property. If you remove `read-only' from yank-excluded-properties the copied text should be _truly_ read-only. Playing around a little bit, this seems to be exactly what happens in practice, as it should. So the _combination_ of the two quotes above looks surprising. Except in the Gnu 'Message' mode. Here you are *not able* to delete the inserted prompt. 'Message' mode always complains 'Text is read only'. I do not use message mode myself and am completely unfamiliar with it. So it is difficult for me to fix this bug, which, at first sight, does not seem to be specific to the comint prompt. At first sight, it would look like message mode does not respect `yank-excluded-properties'. It should. I hope somebody familiar with message mode can look into this. Sincerely, Luc.