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: Combining face and map stuff Date: Thu, 07 Oct 2010 20:08:26 +0200 Message-ID: References: <8739slfqg6.fsf@catnip.gol.com> <83y6acnfaw.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286891952 31582 80.91.229.12 (12 Oct 2010 13:59:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 13:59:12 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 12 15:59:10 2010 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.69) (envelope-from ) id 1P5fNO-0007RL-EA for ged-emacs-devel@m.gmane.org; Tue, 12 Oct 2010 15:59:08 +0200 Original-Received: from localhost ([127.0.0.1]:39417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5fN2-0001VK-OZ for ged-emacs-devel@m.gmane.org; Tue, 12 Oct 2010 09:58:24 -0400 Original-Received: from [140.186.70.92] (port=51588 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5egR-0006As-12 for emacs-devel@gnu.org; Tue, 12 Oct 2010 09:14:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5egO-0007Jh-VO for emacs-devel@gnu.org; Tue, 12 Oct 2010 09:14:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4587 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5egN-0007Id-GK; Tue, 12 Oct 2010 09:14:19 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkEJAG78s0xMCpJQ/2dsb2JhbACgVHxyvTeFSASSDQ X-IronPort-AV: E=Sophos;i="4.57,320,1283745600"; d="scan'208";a="78668979" Original-Received: from 76-10-146-80.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.146.80]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2010 09:14:18 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 2BA3DAE514; Thu, 7 Oct 2010 20:08:26 +0200 (CEST) In-Reply-To: (Eli Zaretskii's message of "Thu, 07 Oct 2010 09:56:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:131632 Archived-At: >> Here are some problems that this protocol solves: >> - there can currently only be one owner of a text-property, which >> creates conflicts. > What do you mean by "owner" in this context? Package foo wants to add `face' stuff and package bar also wants to add `face' stuff. If both add it to the same piece of text, we have a problem, and if they want to update it later they have to know who "owns" the particular value (i.e. who it comes from) to know whether it should be updated or not. >> - there is no way currently to combine various property values (the OP's >> question). > What's wrong with add-text-properties? It never combines values of a single property, just overwrites an old value with a new one. Stefan