From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Text property 'intangible and fontification Date: Tue, 27 Feb 2007 02:05:06 +0100 Message-ID: <45E383C2.2060600@gmail.com> References: <45E359A3.1080209@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172538380 21012 80.91.229.12 (27 Feb 2007 01:06:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 01:06:20 +0000 (UTC) Cc: Emacs Devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 27 02:06:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLqnE-0006Uu-Rq for ged-emacs-devel@m.gmane.org; Tue, 27 Feb 2007 02:06:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLqnE-0007RR-To for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2007 20:06:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLqmv-0007LT-Vq for emacs-devel@gnu.org; Mon, 26 Feb 2007 20:05:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLqmu-0007KX-FR for emacs-devel@gnu.org; Mon, 26 Feb 2007 20:05:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLqmu-0007KT-5n for emacs-devel@gnu.org; Mon, 26 Feb 2007 20:05:52 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HLqmt-0004jj-Hv for emacs-devel@gnu.org; Mon, 26 Feb 2007 20:05:51 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:59971 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HLqmr-00080y-6Q; Tue, 27 Feb 2007 02:05:50 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 In-Reply-To: X-Antivirus: avast! (VPS 000717-1, 2007-02-26), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HLqmr-00080y-6Q. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HLqmr-00080y-6Q 4ad63ce7154ff77b333b61ba818ef25c X-detected-kernel: Linux 2.6? (barebone, rare!) 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:66892 Archived-At: Stefan Monnier wrote: >> I think I noticed a problem with nxml-mode (not part of Emacs) and >> fontification when an overlay has the property 'intangible. > > Since `intangible' is known to have many adverse effects, it's important to > describe this overlay: who made it, why, ... I made it. I removed it. >> nxml-mode does its own fontification since it anyway parses the buffer >> contents. What should fontification code do when there are some overlays >> like this? Or text properties. Should it let bind >> inhibit-point-motion-hooks' to t, or? What does other fontification code do >> in Emacs? > > I strongly recommend to not touch `intangible' even with a ten foot pole. Yes, it is not very well implemented as you might remember I thought earlier. I was just looking for an advice how to handle it with fontification.