emacs-devel
[Top][All Lists]
Advanced

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

Re: Text property searching


From: Lars Ingebrigtsen
Subject: Re: Text property searching
Date: Mon, 16 Apr 2018 22:31:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> In C++ and Java Modes, < and > which are template/generic delimiters are
> given category text properties, symbols foo and bar, whose syntax-table
> properties gives the < and > parenthesis syntax.  This parenthesis syntax
> is regularly "switched off" on all such characters simply by changing
> the value of foo's and bar's syntax-table properties to punctuation.
> This enables syntactic searching where template/generic < and > need not
> to be seen.

I see; thanks for the explanation.

So it would be nice to use this function to search for characters that
have a property set to nil (as opposed to not being set at all).  But
how to express that to the predicate function?  Hm...  We need more
forms of `nil'.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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