From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: completion should not inherit read-only property Date: Tue, 12 Dec 2006 19:11:52 -0800 Message-ID: <17791.28536.680132.94326@gargle.gargle.HOWL> References: <17784.21266.323656.308120@gargle.gargle.HOWL> Reply-To: raman@users.sf.net NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165979548 14898 80.91.229.10 (13 Dec 2006 03:12:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2006 03:12:28 +0000 (UTC) Cc: raman@users.sf.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 13 04:12:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuKXc-0003a5-RH for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2006 04:12:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuKXb-0007kC-RF for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 22:12:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuKXK-0007hw-Ek for emacs-devel@gnu.org; Tue, 12 Dec 2006 22:12:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuKXI-0007eC-6V for emacs-devel@gnu.org; Tue, 12 Dec 2006 22:12:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuKXI-0007dq-05 for emacs-devel@gnu.org; Tue, 12 Dec 2006 22:12:00 -0500 Original-Received: from [204.127.200.85] (helo=sccrmhc15.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuKXH-0000Rs-6U; Tue, 12 Dec 2006 22:11:59 -0500 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (sccrmhc15) with ESMTP id <200612130311580150071669e>; Wed, 13 Dec 2006 03:11:58 +0000 Original-Received: by localhost (Postfix, from userid 1000) id D9FFF12A4081; Tue, 12 Dec 2006 19:11:52 -0800 (PST) Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.91.13 x-attribution: tvr 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: news.gmane.org gmane.emacs.devel:63666 Archived-At: Hard to create a test case ... mostly because just making a buffer read-only doesn't put the read-only property on a string. But certain Emacs apps emacs-jabber is one that comes to mind, carefully annotate portions of the buffer with the read-only property --- and when completion picks up one of those strings, the bug appears to bite. This is one of those things that happens a couple of times a week while you're using emacs fluently, and it's difficult to reproduce the exact circumstances. >>>>> "Richard" == Richard Stallman writes: Richard> Test: if you have a string in a read-only buffer Richard> e.g. foobarbasbar Richard> Richard> and you then type foo and complete it to Richard> foobarbasbar using command `complete' then the Richard> completed string ends up read-only. Richard> Richard> This is clearly a bug, but the test case is not Richard> clear to me. I am not sure what precisely to type Richard> so as to reproduce the bug. Could you please send a Richard> precise test case to use for debugging? -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs