emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Best way to implement Keywords feature


From: Matthew Lundin
Subject: [Orgmode] Re: Best way to implement Keywords feature
Date: Sun, 08 Nov 2009 13:51:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

Paul Mead <address@hidden> writes:

> Matt Lundin <address@hidden> writes:
>
>>
>> http://orgmode.org/manual/Matching-tags-and-properties.html
>>
>> - Matt
>>

> Thanks Matt, although that allows me to search for a single property (if
> I use 'Keyword' as an example, this will return a match if I search for
> 'Keyword="example"'. It doesn't, however work if I want to use more that
> one keyword.
>
> For example, if I set a property 'Keyword: keyword1 keyword2' and search for
> 'Keyword="example1"' org doesn't find it.

It will if you use brackets to perform a regexp match. E.g.,

Keyword={example1}

(...assuming the property is "Keyword: example1 example2".)

>From the manual page above:

,----
|   * If the comparison value is enclosed in curly braces, a regexp match
|     is performed, with '=' meaning that the regexp matches the property
|     value, and '<>' meaning that it does not match.
`----

Best,
Matt




reply via email to

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