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


Message #18 received at 36486 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 36486 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#36486: [PATCH] Add tests for text-property-search to check
 prop-match-value
Date: Mon, 08 Jul 2019 18:18:32 +0200
Juri Linkov <juri <at> linkov.net> writes:

> +   (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.

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




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.