emacs-devel
[Top][All Lists]
Advanced

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

Re: Text property searching


From: Eli Zaretskii
Subject: Re: Text property searching
Date: Mon, 16 Apr 2018 21:52:23 +0300

> From: Lars Ingebrigtsen <address@hidden>
> Date: Mon, 16 Apr 2018 20:26:59 +0200
> 
>  -- Function: text-property-search-forward prop value predicate
>      Search for the next region that has text property PROP set to VALUE
>      according to PREDICATE.
> 
>      This function is modelled after ‘search-forward’ and friends in
>      that it moves point, but it returns a structure that describes the
>      match instead of returning it in ‘match-beginning’ and friends.

I thought you were designing a command (since search-forward is a
command).  But t looks like this is just another API, in which case I
must ask how is it different from the existing primitives.

A command will make a lot more sense to me.

Thanks.



reply via email to

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