From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Text property searching Date: Mon, 16 Apr 2018 19:40:34 +0000 Message-ID: <20180416194034.GB5637@ACM> References: <87lgdo5bb3.fsf@mouse.gnus.org> <87in8r16b0.fsf@mouse.gnus.org> <87d0yz15a3.fsf@mouse.gnus.org> <87604r143y.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1523907729 29225 195.159.176.226 (16 Apr 2018 19:42:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2018 19:42:09 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) Cc: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 16 21:42:05 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8A0r-0007Tj-4W for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2018 21:42:05 +0200 Original-Received: from localhost ([::1]:39318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8A2w-00075g-8s for ged-emacs-devel@m.gmane.org; Mon, 16 Apr 2018 15:44:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8A1z-000742-MP for emacs-devel@gnu.org; Mon, 16 Apr 2018 15:43:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8A1u-0000a7-Qb for emacs-devel@gnu.org; Mon, 16 Apr 2018 15:43:15 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:29341 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1f8A1u-0000WP-Ee for emacs-devel@gnu.org; Mon, 16 Apr 2018 15:43:10 -0400 Original-Received: (qmail 24486 invoked by uid 3782); 16 Apr 2018 19:43:08 -0000 Original-Received: from acm.muc.de (p5B147020.dip0.t-ipconnect.de [91.20.112.32]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 16 Apr 2018 21:43:08 +0200 Original-Received: (qmail 6221 invoked by uid 1000); 16 Apr 2018 19:40:34 -0000 Content-Disposition: inline In-Reply-To: <87604r143y.fsf@mouse.gnus.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224670 Archived-At: Hello, Lars. On Mon, Apr 16, 2018 at 18:57:21 +0200, Lars Ingebrigtsen wrote: > João Távora writes: > > OK. In your example tho, I think will need to distinguish the case where > > the property's value is nil from the case where the property isn't set at > > all. > Hm... is that a distinction that makes a difference anywhere? Very much so. If there is a category text property at some point, and the symbol it uses has a foo property, that will normally get seen by the text property primitives. However, if you put a foo text property there with a nil value, that nil value will mask the intent of the category property. It might be worth considering whether the new search function will take account of category properties, and if so, how. > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).