emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text property searching


From: Alan Mackenzie
Subject: Re: Text property searching
Date: Mon, 16 Apr 2018 19:40:34 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

Hello, Lars.

On Mon, Apr 16, 2018 at 18:57:21 +0200, Lars Ingebrigtsen wrote:
> João Távora <address@hidden> 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]