emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* custom agenda view with tags-todo not work
@ 2011-02-08 22:38 OSiRiS
  2011-02-10 15:00 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: OSiRiS @ 2011-02-08 22:38 UTC (permalink / raw)
  To: emacs-orgmode

I tried to set the custom view in the calendar, but does not work.

#+BEGIN_SRC elisp

  (setq org-agenda-custom-commands
    '(
      ("f" "FIXED" tags-todo "+bug+TODO=\"DONE\"+STATUS=\"FIXED\"+CLOSED>=\"<today>\"")
    )
  )

#+END_SRC

No error occurs when run:

#+BEGIN_EXAMPLE

  Press key for an agenda command:        <   Buffer, subtree/region restriction
  --------------------------------        >   Remove restriction
  a   Agenda for current week or day      e   Export agenda views
  t   List of all TODO entries            T   Entries with special TODO kwd
  m   Match a TAGS/PROP/TODO query        M   Like m, but only TODO entries
  L   Timeline for current buffer         #   List stuck projects (!=configure)
  s   Search for keywords                 C   Configure custom agenda commands
  /   Multi-occur                         ?   Find :FLAGGED: entries

  f   FIXED         : +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"



  Headlines with TAGS match: +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"
  Press `C-u r' to search again with new search string

  -UUU:%*--F1  *Org Agenda*   All L1     (Org-Agenda  Ddl Grid)---
  No event to add

#+END_EXAMPLE

Can someone tell me where is the error? thanks!


pd: I made a t-shirt with a custom logo of Unicorn [0], enjoy!

[0] http://pub.osiux.com/org-mode/org-mode-is-the-unics-of-organizers.svg

-- 

Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
E1B1 EB8E E37B 10B3 47E9 D73A 2C09 297C FFB9 4410
http://wiki.buenosaireslibre.org/NodoOsiux

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

* Re: custom agenda view with tags-todo not work
  2011-02-08 22:38 custom agenda view with tags-todo not work OSiRiS
@ 2011-02-10 15:00 ` Bastien
  2011-02-11  0:17   ` OSiRiS
  2011-02-22 14:42   ` Bernt Hansen
  0 siblings, 2 replies; 5+ messages in thread
From: Bastien @ 2011-02-10 15:00 UTC (permalink / raw)
  To: OSiRiS; +Cc: emacs-orgmode

Hi Osiris,

OSiRiS <osiux@osiux.com.ar> writes:

> I tried to set the custom view in the calendar, but does not work.
>
> #+BEGIN_SRC elisp
>
>   (setq org-agenda-custom-commands
>     '(
>       ("f" "FIXED" tags-todo "+bug+TODO=\"DONE\"+STATUS=\"FIXED\"+CLOSED>=\"<today>\"")
>     )
>   )
>
> #+END_SRC
>
> No error occurs when run:

Looks good so far...

> #+BEGIN_EXAMPLE
>
>   Press key for an agenda command:        <   Buffer, subtree/region restriction
>   --------------------------------        >   Remove restriction
>   a   Agenda for current week or day      e   Export agenda views
>   t   List of all TODO entries            T   Entries with special TODO kwd
>   m   Match a TAGS/PROP/TODO query        M   Like m, but only TODO entries
>   L   Timeline for current buffer         #   List stuck projects (!=configure)
>   s   Search for keywords                 C   Configure custom agenda commands
>   /   Multi-occur                         ?   Find :FLAGGED: entries
>
>   f   FIXED         : +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"
>
>
>
>   Headlines with TAGS match: +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"
>   Press `C-u r' to search again with new search string
>
>   -UUU:%*--F1  *Org Agenda*   All L1     (Org-Agenda  Ddl Grid)---
>   No event to add
>
> #+END_EXAMPLE
>
> Can someone tell me where is the error? thanks!

I don't understand what is the error.  Can you be more specific?
Also, don't forget to tell us what version of Org and Emacs you
are using.

Thanks!

> pd: I made a t-shirt with a custom logo of Unicorn [0], enjoy!
>
> [0] http://pub.osiux.com/org-mode/org-mode-is-the-unics-of-organizers.svg

Hey, beautiful :)

-- 
 Bastien

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

* Re: custom agenda view with tags-todo not work
  2011-02-10 15:00 ` Bastien
@ 2011-02-11  0:17   ` OSiRiS
  2011-02-12 22:47     ` Bastien
  2011-02-22 14:42   ` Bernt Hansen
  1 sibling, 1 reply; 5+ messages in thread
From: OSiRiS @ 2011-02-11  0:17 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2725 bytes --]

On jue, 10 feb 2011, Bastien wrote:

> Hi Osiris,
> 
> OSiRiS <osiux@osiux.com.ar> writes:
> 
> > I tried to set the custom view in the calendar, but does not work.
> >
> > #+BEGIN_SRC elisp
> >
> >   (setq org-agenda-custom-commands
> >     '(
> >       ("f" "FIXED" tags-todo "+bug+TODO=\"DONE\"+STATUS=\"FIXED\"+CLOSED>=\"<today>\"")
> >     )
> >   )
> >
> > #+END_SRC
> >
> > No error occurs when run:
> 
> Looks good so far...
> 
> > #+BEGIN_EXAMPLE
> >
> >   Press key for an agenda command:        <   Buffer, subtree/region restriction
> >   --------------------------------        >   Remove restriction
> >   a   Agenda for current week or day      e   Export agenda views
> >   t   List of all TODO entries            T   Entries with special TODO kwd
> >   m   Match a TAGS/PROP/TODO query        M   Like m, but only TODO entries
> >   L   Timeline for current buffer         #   List stuck projects (!=configure)
> >   s   Search for keywords                 C   Configure custom agenda commands
> >   /   Multi-occur                         ?   Find :FLAGGED: entries
> >
> >   f   FIXED         : +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"
> >
> >
> >
> >   Headlines with TAGS match: +bug+TODO="DONE"+STATUS="FIXED"+CLOSED>="<today>"
> >   Press `C-u r' to search again with new search string
> >
> >   -UUU:%*--F1  *Org Agenda*   All L1     (Org-Agenda  Ddl Grid)---
> >   No event to add
> >
> > #+END_EXAMPLE
> >
> > Can someone tell me where is the error? thanks!
> 
> I don't understand what is the error.  Can you be more specific?
> Also, don't forget to tell us what version of Org and Emacs you
> are using.

The Match only show results when =bugs.org= is open, execute =C-c C-a m= and paste:
+TODO="DONE"+STATUS="FIXED"+CLOSED>="<2011-02-10>"

When execute =C-c C-a f= only show *event to add* in the minibuffer, then
press =C-u r=, paste the same pattern and again show *event to add* and
none results.

I tried using =(setq org-agenda-files '("~/org/bugs.org"))= in the
=.emacs= file.


# emacs --version
GNU Emacs 23.2.1

# git log | head
commit 809b505ef07829e5b14ff4fdf7f459c126348642
Author: Bastien Guerry <bzg@altern.org>
Date:   Thu Feb 3 20:03:51 2011 +0100

# Org-mode version 7.4 (release_7.4.308.g809b5)

> Thanks!
Thank You!
 
> > pd: I made a t-shirt with a custom logo of Unicorn [0], enjoy!
> >
> > [0] http://pub.osiux.com/org-mode/org-mode-is-the-unics-of-organizers.svg
> 
> Hey, beautiful :)
The logo is designed to cut in vinyl :-D

-- 

Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar
E1B1 EB8E E37B 10B3 47E9 D73A 2C09 297C FFB9 4410
http://wiki.buenosaireslibre.org/NodoOsiux

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: custom agenda view with tags-todo not work
  2011-02-11  0:17   ` OSiRiS
@ 2011-02-12 22:47     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-02-12 22:47 UTC (permalink / raw)
  To: OSiRiS; +Cc: emacs-orgmode

Hi OSiRiS,

OSiRiS <osiux@osiux.com.ar> writes:

> The Match only show results when =bugs.org= is open, execute =C-c C-a m= and paste:
> +TODO="DONE"+STATUS="FIXED"+CLOSED>="<2011-02-10>"

Can you reproduce the problem with a *minimal* example?

-- 
 Bastien

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

* Re: custom agenda view with tags-todo not work
  2011-02-10 15:00 ` Bastien
  2011-02-11  0:17   ` OSiRiS
@ 2011-02-22 14:42   ` Bernt Hansen
  1 sibling, 0 replies; 5+ messages in thread
From: Bernt Hansen @ 2011-02-22 14:42 UTC (permalink / raw)
  To: Bastien; +Cc: OSiRiS, emacs-orgmode

Bastien <bastien.guerry@wikimedia.fr> writes:

> Hi Osiris,
>
> OSiRiS <osiux@osiux.com.ar> writes:
>
>> I tried to set the custom view in the calendar, but does not work.
>>
>> #+BEGIN_SRC elisp
>>
>>   (setq org-agenda-custom-commands
>>     '(
>>       ("f" "FIXED" tags-todo "+bug+TODO=\"DONE\"+STATUS=\"FIXED\"+CLOSED>=\"<today>\"")
>>     )
>>   )
>>
>> #+END_SRC
>>
>> No error occurs when run:
>
> Looks good so far...
>

>> Can someone tell me where is the error? thanks!
>
> I don't understand what is the error.  Can you be more specific?
> Also, don't forget to tell us what version of Org and Emacs you
> are using.

The problem is tags-todo will not match closed states.  I ran into the
same problem trying to make an agenda view for tasks to archive.  My
solution was to change to a tags match not a tags-todo match.

HTH,
Bernt

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

end of thread, other threads:[~2011-02-22 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 22:38 custom agenda view with tags-todo not work OSiRiS
2011-02-10 15:00 ` Bastien
2011-02-11  0:17   ` OSiRiS
2011-02-12 22:47     ` Bastien
2011-02-22 14:42   ` Bernt Hansen

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).