GNU bug report logs - #36486
[PATCH] Add tests for text-property-search to check prop-match-value

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Wed, 3 Jul 2019 09:45:01 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 36486 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: bug#36486: [PATCH] Add tests for text-property-search to check prop-match-value
Date: Mon, 08 Jul 2019 23:51:57 +0300
>> +   (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?




This bug report was last modified 6 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.