From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: feature request: text property to prevent font-locking Date: Sun, 31 Aug 2014 15:57:14 -0400 Message-ID: References: <20140830092701.GA3351@acm.acm> <34f3e246-bbfb-4864-83e9-4a0c81d4202e@default> <0f746243-e04c-4d07-ace8-2e54625aaffc@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1409515062 5585 80.91.229.3 (31 Aug 2014 19:57:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2014 19:57:42 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 21:57:35 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XOBFk-0001ZD-KQ for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2014 21:57:32 +0200 Original-Received: from localhost ([::1]:50886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOBFk-000092-3K for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2014 15:57:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOBFa-0007u0-GF for emacs-devel@gnu.org; Sun, 31 Aug 2014 15:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOBFT-0002wl-07 for emacs-devel@gnu.org; Sun, 31 Aug 2014 15:57:22 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:7755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOBFS-0002wg-SU for emacs-devel@gnu.org; Sun, 31 Aug 2014 15:57:14 -0400 Original-Received: from fmsmemgm.homelinux.net ([24.37.3.82]) by VL-VM-MR004.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0NB600FGHSRESB70@VL-VM-MR004.ip.videotron.ca> for emacs-devel@gnu.org; Sun, 31 Aug 2014 15:57:14 -0400 (EDT) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 785E2AE171; Sun, 31 Aug 2014 15:57:14 -0400 (EDT) In-reply-to: <0f746243-e04c-4d07-ace8-2e54625aaffc@default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 24.201.245.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173929 Archived-At: >> By, the way, these kinds of problems are the reason why I suggested >> adding "planes" to text-properties. >> It should be relatively easy to implement. > Sorry, that's too vague for me. But I guess it further confirms that > I am not missing something simple. I suggested that there be several planes of properties, so font-lock would place its properties in the plane `font-lock' while other packages can use their own plane. Then you'd separately specify rules for how to merge the various planes (with rules that can be distinct for each kind of property). The merge of properties would not take place during redisplay but instead would take place when the properties are added/removed. Stefan