From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: feature request: text property to prevent font-locking Date: Sun, 31 Aug 2014 14:07:51 -0700 (PDT) Message-ID: <1b3d2a94-3a06-4090-9487-46d4653cf89d@default> 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: quoted-printable X-Trace: ger.gmane.org 1409519302 20800 80.91.229.3 (31 Aug 2014 21:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Aug 2014 21:08:22 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 23:08:15 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 1XOCMA-0003wS-Un for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2014 23:08:15 +0200 Original-Received: from localhost ([::1]:51048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOCMA-0003o5-Cx for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2014 17:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOCLx-0003nS-V2 for emacs-devel@gnu.org; Sun, 31 Aug 2014 17:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOCLp-00051G-8e for emacs-devel@gnu.org; Sun, 31 Aug 2014 17:08:01 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:19322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOCLp-00051B-2D for emacs-devel@gnu.org; Sun, 31 Aug 2014 17:07:53 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s7VL7ova015273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 31 Aug 2014 21:07:51 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7VL7oZD011524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 Aug 2014 21:07:50 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s7VL7oSs011520; Sun, 31 Aug 2014 21:07:50 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:173933 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. >=20 > 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. Doesn't sound particularly simple to use (can you say "usine a gaz"?), even if it is "relatively easy to implement". But I admit that I have only a vague notion of what you have in mind. While waiting for your implementation of that multifaceted feature, perhaps we can adopt the simple change I suggested? (A bug fix, IMO.) But again, I'm OK with just continuing to use the fix in my code, if Emacs doesn't want it.