[Top][All Lists]

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

bug#36486: [PATCH] Add tests for text-property-search to check prop-matc

From: Juri Linkov
Subject: bug#36486: [PATCH] Add tests for text-property-search to check prop-match-value
Date: Mon, 08 Jul 2019 23:51:57 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> +   (let* ((property (completing-read "Search for property: " obarray))
>> +          (property (when (> (length property) 0)
>> +                      (intern property obarray)))
>> +          (value (when property
>> +                   (completing-read "Search for property value: " obarray)))
>> +          (value (when (> (length value) 0)
>> +                   (intern value obarray))))
> Hm...  well, the value doesn't have to be a symbol, so I don't think
> this is quite right -- it could be a string, or, well, anything.  I
> think that's why it doesn't prompt for value in the interactive form,
> because it didn't seem useful.

But searching for a certain font-lock face value is the most useful
application of this command.  How do you do that?

reply via email to

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