emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Filtering properties in agenda view
@ 2015-10-30 15:10 Georg Otto
  2015-10-30 17:18 ` Eric S Fraga
  2015-10-30 17:25 ` Subhan Michael Tindall
  0 siblings, 2 replies; 8+ messages in thread
From: Georg Otto @ 2015-10-30 15:10 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

I am trying to filter my entries in agenda view by properties

According to the orgmode manual, this can be done with C-c a m

However for me, C-c a m filters only on tags, not on properties. Also
the commands C-c / m and C-c \ give me an error, saying they are
undefined.

Has anybody an idea what is going on? How can I filter properties in
agenda view. and vice versa, how can I exclude a property from agenda
view?

I am running emacs 24.3.1 and orgmode 7.9.3f 

Cheers,

Georg

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-10-30 15:10 Filtering properties in agenda view Georg Otto
@ 2015-10-30 17:18 ` Eric S Fraga
  2015-10-30 17:25 ` Subhan Michael Tindall
  1 sibling, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2015-10-30 17:18 UTC (permalink / raw)
  To: Georg Otto; +Cc: emacs-orgmode

On Friday, 30 Oct 2015 at 15:10, Georg Otto wrote:
> Dear all,
>
> I am trying to filter my entries in agenda view by properties
>
> According to the orgmode manual, this can be done with C-c a m
>
> However for me, C-c a m filters only on tags, not on properties. Also
> the commands C-c / m and C-c \ give me an error, saying they are
> undefined.

I cannot answer the first part (about properties) but the C-c / commands
are not agenda commands; they are commands available within an org
buffer directly.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-209-gba4d33

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-10-30 15:10 Filtering properties in agenda view Georg Otto
  2015-10-30 17:18 ` Eric S Fraga
@ 2015-10-30 17:25 ` Subhan Michael Tindall
  2015-11-01 21:04   ` Georg Otto
  1 sibling, 1 reply; 8+ messages in thread
From: Subhan Michael Tindall @ 2015-10-30 17:25 UTC (permalink / raw)
  To: Georg Otto, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

Read a little further down.  It's all in the syntax, you have to specify a
property name and value.
From the org manual:

C-c a m
Match: BIB_AUTHOR="Walter Evensong"


On Fri, Oct 30, 2015 at 8:13 AM Georg Otto <g.otto@ucl.ac.uk> wrote:

> Dear all,
>
> I am trying to filter my entries in agenda view by properties
>
> According to the orgmode manual, this can be done with C-c a m
>
> However for me, C-c a m filters only on tags, not on properties. Also
> the commands C-c / m and C-c \ give me an error, saying they are
> undefined.
>
> Has anybody an idea what is going on? How can I filter properties in
> agenda view. and vice versa, how can I exclude a property from agenda
> view?
>
> I am running emacs 24.3.1 and orgmode 7.9.3f
>
> Cheers,
>
> Georg
>
>
>

[-- Attachment #2: Type: text/html, Size: 1517 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-10-30 17:25 ` Subhan Michael Tindall
@ 2015-11-01 21:04   ` Georg Otto
  2015-11-01 21:49     ` Brenda Butler
  0 siblings, 1 reply; 8+ messages in thread
From: Georg Otto @ 2015-11-01 21:04 UTC (permalink / raw)
  To: Subhan Michael Tindall, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

Thanks for your answer! Unfortunately, it does not work for me as
described in the manual.

For example I have an entry with the Property "Test"

* TODO test
SCHEDULED: <2015-11-01 Sun>
:PROPERTIES:
:CATEGORY: Test
:END:


C-c am

Match: Category=Test

I get a buffer that is empty except for the lines:

Headlines with TAGS match: Category=Test
Press `C-u r' to search again with new search string

Any idea?

Georg


On 30/10/2015 17:25, Subhan Michael Tindall wrote:
> Read a little further down.  It's all in the syntax, you have to
> specify a property name and value.
> From the org manual:
> C-c a m 
> Match: BIB_AUTHOR="Walter Evensong"
>
> On Fri, Oct 30, 2015 at 8:13 AM Georg Otto <g.otto@ucl.ac.uk
> <mailto:g.otto@ucl.ac.uk>> wrote:
>
>     Dear all,
>
>     I am trying to filter my entries in agenda view by properties
>
>     According to the orgmode manual, this can be done with C-c a m
>
>     However for me, C-c a m filters only on tags, not on properties. Also
>     the commands C-c / m and C-c \ give me an error, saying they are
>     undefined.
>
>     Has anybody an idea what is going on? How can I filter properties in
>     agenda view. and vice versa, how can I exclude a property from agenda
>     view?
>
>     I am running emacs 24.3.1 and orgmode 7.9.3f
>
>     Cheers,
>
>     Georg
>
>


[-- Attachment #2: Type: text/html, Size: 3204 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-11-01 21:04   ` Georg Otto
@ 2015-11-01 21:49     ` Brenda Butler
  2015-11-02  9:35       ` Georg Otto
  0 siblings, 1 reply; 8+ messages in thread
From: Brenda Butler @ 2015-11-01 21:49 UTC (permalink / raw)
  To: Georg Otto; +Cc: emacs-orgmode, Subhan Michael Tindall

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

On Sun, Nov 1, 2015 at 4:04 PM, Georg Otto <g.otto@ucl.ac.uk> wrote:

> Thanks for your answer! Unfortunately, it does not work for me as
> described in the manual.
>
> For example I have an entry with the Property "Test"
>
> * TODO test
> SCHEDULED: <2015-11-01 Sun>
> :PROPERTIES:
> :CATEGORY: Test
> :END:
>
>
> C-c am
>
> Match: Category=Test
>

Try putting the value in double-quotes:

Match: Category="Test"

bjb


On 30/10/2015 17:25, Subhan Michael Tindall wrote:

> Read a little further down.  It's all in the syntax, you have to specify a
> property name and value.
> From the org manual:
>
> C-c a m
> Match: BIB_AUTHOR="Walter Evensong"
>
>
> On Fri, Oct 30, 2015 at 8:13 AM Georg Otto < <g.otto@ucl.ac.uk>
> g.otto@ucl.ac.uk> wrote:
>
>> Dear all,
>>
>> I am trying to filter my entries in agenda view by properties
>>
>> According to the orgmode manual, this can be done with C-c a m
>>
>> However for me, C-c a m filters only on tags, not on properties. Also
>> the commands C-c / m and C-c \ give me an error, saying they are
>> undefined.
>>
>> Has anybody an idea what is going on? How can I filter properties in
>> agenda view. and vice versa, how can I exclude a property from agenda
>> view?
>>
>> I am running emacs 24.3.1 and orgmode 7.9.3f
>>
>> Cheers,
>>
>> Georg
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3274 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-11-01 21:49     ` Brenda Butler
@ 2015-11-02  9:35       ` Georg Otto
  2015-11-02 13:40         ` Nick Dokos
  2015-11-02 15:53         ` Brenda Butler
  0 siblings, 2 replies; 8+ messages in thread
From: Georg Otto @ 2015-11-02  9:35 UTC (permalink / raw)
  To: Brenda Butler; +Cc: emacs-orgmode, Subhan Michael Tindall

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

On 01/11/2015 21:49, Brenda Butler wrote:
>
>
> On Sun, Nov 1, 2015 at 4:04 PM, Georg Otto <g.otto@ucl.ac.uk
> <mailto:g.otto@ucl.ac.uk>> wrote:
>
>     Thanks for your answer! Unfortunately, it does not work for me as
>     described in the manual.
>
>     For example I have an entry with the Property "Test"
>
>     * TODO test
>     SCHEDULED: <2015-11-01 Sun>
>     :PROPERTIES:
>     :CATEGORY: Test
>     :END:
>
>
>     C-c am
>
>     Match: Category=Test
>
>
> Try putting the value in double-quotes:
>
> Match: Category="Test"
>

I should have mentioned that I tried quotes and upper case/ lower case,
but no avail... My impression given the message

> Headlines with TAGS match: Category="Test"
> Press `C-u r' to search again with new search string
is that for some reason it only searches for tags.


G

[-- Attachment #2: Type: text/html, Size: 2279 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-11-02  9:35       ` Georg Otto
@ 2015-11-02 13:40         ` Nick Dokos
  2015-11-02 15:53         ` Brenda Butler
  1 sibling, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-11-02 13:40 UTC (permalink / raw)
  To: emacs-orgmode

Georg Otto <g.otto@ucl.ac.uk> writes:

> On 01/11/2015 21:49, Brenda Butler wrote:
>
>     On Sun, Nov 1, 2015 at 4:04 PM, Georg Otto <g.otto@ucl.ac.uk> wrote:
>    
>         Thanks for your answer! Unfortunately, it does not work for me as described in the manual.
>        
>     Try putting the value in double-quotes:
>    
>     Match: Category="Test"
>
> I should have mentioned that I tried quotes and upper case/ lower case, but no avail... My impression given the message
>
>     Headlines with TAGS match: Category="Test"
>     Press `C-u r' to search again with new search string
>
> is that for some reason it only searches for tags.
>

See

 (info "(org) Matching tags and properties")

for the syntax.

-- 
Nick

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Filtering properties in agenda view
  2015-11-02  9:35       ` Georg Otto
  2015-11-02 13:40         ` Nick Dokos
@ 2015-11-02 15:53         ` Brenda Butler
  1 sibling, 0 replies; 8+ messages in thread
From: Brenda Butler @ 2015-11-02 15:53 UTC (permalink / raw)
  To: Georg Otto; +Cc: emacs-orgmode, Subhan Michael Tindall

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]

On Mon, Nov 2, 2015 at 4:35 AM, Georg Otto <g.otto@ucl.ac.uk> wrote:

> On 01/11/2015 21:49, Brenda Butler wrote:
>
>
>
> On Sun, Nov 1, 2015 at 4:04 PM, Georg Otto <g.otto@ucl.ac.uk> wrote:
>
>> Thanks for your answer! Unfortunately, it does not work for me as
>> described in the manual.
>>
>> For example I have an entry with the Property "Test"
>>
>> * TODO test
>> SCHEDULED: <2015-11-01 Sun>
>> :PROPERTIES:
>> :CATEGORY: Test
>> :END:
>>
>>
>> C-c am
>>
>> Match: Category=Test
>>
>
> Try putting the value in double-quotes:
>
> Match: Category="Test"
>
>
> I should have mentioned that I tried quotes and upper case/ lower case,
> but no avail...
>

I tried a few times with different case in the keyword and in the value -
it seems both are case-sensitive and must match the item in the entries
exactly.  And the double-quotes around the value are required.

Now that I look back at your example, I see the search term should be

CATEGORY="Test"


> My impression given the message
>
> Headlines with TAGS match: Category="Test"
> Press `C-u r' to search again with new search string
>
> is that for some reason it only searches for tags.
>

But, on the prompt before you get to this one, it says:

m     match a TAGS/PROP/TODO query

bjb

[-- Attachment #2: Type: text/html, Size: 3182 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-02 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30 15:10 Filtering properties in agenda view Georg Otto
2015-10-30 17:18 ` Eric S Fraga
2015-10-30 17:25 ` Subhan Michael Tindall
2015-11-01 21:04   ` Georg Otto
2015-11-01 21:49     ` Brenda Butler
2015-11-02  9:35       ` Georg Otto
2015-11-02 13:40         ` Nick Dokos
2015-11-02 15:53         ` Brenda Butler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).