all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Custom agenda view
@ 2008-02-02 17:39 Sebastjan Trepca
  2008-02-02 19:27 ` Sebastjan Trepca
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastjan Trepca @ 2008-02-02 17:39 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm trying to create a custom view that should display agenda for only
items that are scheduled today and include a specific tag together
with tasks that has NEXT todo keyword and the same tag.

Currently I have this:

("h" "Home tasks" ((agenda) (tags "HOME/NEXT")))

The problem is that agenda, it shows all scheduled tasks and not only
those with HOME tag. I tried with org-agenda-skip-entry-if but I can't
make it work.

Thanks.

-- 
Sebastjan

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

* Re: Custom agenda view
  2008-02-02 17:39 Custom " Sebastjan Trepca
@ 2008-02-02 19:27 ` Sebastjan Trepca
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastjan Trepca @ 2008-02-02 19:27 UTC (permalink / raw)
  To: emacs-orgmode

Nevermind. Finally got through the elisp errors :)

(org-add-agenda-custom-command
     '("w" "TODO"
       ((agenda "TODO" ((org-agenda-skip-function
						 (lambda nil
						   (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\:OFFICE\\:")
						   )
						 ))
				)  (tags "OFFICE/NEXT"))))

On 2/2/08, Sebastjan Trepca <trepca@gmail.com> wrote:
> Hi,
>
> I'm trying to create a custom view that should display agenda for only
> items that are scheduled today and include a specific tag together
> with tasks that has NEXT todo keyword and the same tag.
>
> Currently I have this:
>
> ("h" "Home tasks" ((agenda) (tags "HOME/NEXT")))
>
> The problem is that agenda, it shows all scheduled tasks and not only
> those with HOME tag. I tried with org-agenda-skip-entry-if but I can't
> make it work.
>
> Thanks.
>
> --
> Sebastjan
>


-- 
Sebastjan

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

* custom agenda view
@ 2009-12-24 11:10 Yuri Goncharov
  2009-12-24 11:20 ` Manish
  2009-12-24 11:21 ` Matt Lundin
  0 siblings, 2 replies; 6+ messages in thread
From: Yuri Goncharov @ 2009-12-24 11:10 UTC (permalink / raw)
  To: Emacs-orgmode

I try to make custom agenda view with todo keyword STARTED and tag @HOME
I wrote this code

(setq org-agenda-custom-commands
      (quote  
	(("w" "work tasks" tags-todo
	"+STARTED+@WORK" ((org-agenda-todo-ignore-with-date nil))) 
	("h" "home tasks" tags-todo
	"+STARTED+@HOME" ((org-agenda-todo-ignore-with-date nil))) 
	("n" "Notes" tags "NOTE" nil))))

but it's not work.

-- 
Highlink Ltd. St-Peterburg, Russia
+7 812 3341212
http://www.hl.ru

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

* Re: custom agenda view
  2009-12-24 11:10 custom agenda view Yuri Goncharov
@ 2009-12-24 11:20 ` Manish
  2009-12-24 11:21 ` Matt Lundin
  1 sibling, 0 replies; 6+ messages in thread
From: Manish @ 2009-12-24 11:20 UTC (permalink / raw)
  To: Yuri Goncharov; +Cc: Emacs-orgmode

On Thu, Dec 24, 2009 at 4:40 PM, Yuri Goncharov wrote:
> I try to make custom agenda view with todo keyword STARTED and tag @HOME
> I wrote this code
>
> (setq org-agenda-custom-commands
>      (quote
>        (("w" "work tasks" tags-todo
>        "+STARTED+@WORK" ((org-agenda-todo-ignore-with-date nil)))
>        ("h" "home tasks" tags-todo
>        "+STARTED+@HOME" ((org-agenda-todo-ignore-with-date nil)))
>        ("n" "Notes" tags "NOTE" nil))))
>
> but it's not work.

I will and run your scenario later but may be this can be of help too
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

-- 
Manish

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

* Re: custom agenda view
  2009-12-24 11:10 custom agenda view Yuri Goncharov
  2009-12-24 11:20 ` Manish
@ 2009-12-24 11:21 ` Matt Lundin
  2009-12-24 11:36   ` Yuri Goncharov
  1 sibling, 1 reply; 6+ messages in thread
From: Matt Lundin @ 2009-12-24 11:21 UTC (permalink / raw)
  To: Yuri Goncharov; +Cc: Emacs-orgmode

Yuri Goncharov <gy@hl.ru> writes:

> I try to make custom agenda view with todo keyword STARTED and tag @HOME
> I wrote this code
>
> (setq org-agenda-custom-commands
>       (quote  
> 	(("w" "work tasks" tags-todo
> 	"+STARTED+@WORK" ((org-agenda-todo-ignore-with-date nil))) 
> 	("h" "home tasks" tags-todo
> 	"+STARTED+@HOME" ((org-agenda-todo-ignore-with-date nil))) 
> 	("n" "Notes" tags "NOTE" nil))))
>
> but it's not work.

Does the following work? Since STARTED is a todo state, it needs to be
specified with a different syntax.

(setq org-agenda-custom-commands
       (quote  
 	(("w" "work tasks" tags-todo
 	"@WORK/!STARTED" ((org-agenda-todo-ignore-with-date nil))) 
 	("h" "home tasks" tags-todo
 	"@HOME/!STARTED" ((org-agenda-todo-ignore-with-date nil))) 
 	("n" "Notes" tags "NOTE" nil))))

Best,
Matt

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

* Re: custom agenda view
  2009-12-24 11:21 ` Matt Lundin
@ 2009-12-24 11:36   ` Yuri Goncharov
  0 siblings, 0 replies; 6+ messages in thread
From: Yuri Goncharov @ 2009-12-24 11:36 UTC (permalink / raw)
  To: Matt Lundin

В Thu, 24 Dec 2009 06:21:23 -0500
Matt Lundin <mdl@imapmail.org> пишет:


> Does the following work? Since STARTED is a todo state, it needs to be
> specified with a different syntax.
> 
> (setq org-agenda-custom-commands
>        (quote  
>  	(("w" "work tasks" tags-todo
>  	"@WORK/!STARTED" ((org-agenda-todo-ignore-with-date nil))) 
>  	("h" "home tasks" tags-todo
>  	"@HOME/!STARTED" ((org-agenda-todo-ignore-with-date nil))) 
>  	("n" "Notes" tags "NOTE" nil))))

Thanks! It's work.


-- 
С уважением
Юрий Гончаров
Системный администратор
Highlink Ltd. St-Peterburg, Russia
+7 812 3341212
http://www.hl.ru

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

end of thread, other threads:[~2009-12-24 11:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-24 11:10 custom agenda view Yuri Goncharov
2009-12-24 11:20 ` Manish
2009-12-24 11:21 ` Matt Lundin
2009-12-24 11:36   ` Yuri Goncharov
  -- strict thread matches above, loose matches on Subject: below --
2008-02-02 17:39 Custom " Sebastjan Trepca
2008-02-02 19:27 ` Sebastjan Trepca

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.