Re: [O] a link to launch a todo view?

2015-09-26 Thread Xebar Saram
perfect!

thx

z

On Sat, Sep 26, 2015 at 10:12 PM, Nicolas Girard 
wrote:

> 2015-09-26 20:42 GMT+02:00 Xebar Saram :
> >
> > so something like this:
> >
> > [[elisp:(org-agenda)][TO-COOK]]
> >
> > this will bring up the dispatcher, how does one make it auto issue lets
> say
> > 'w' in the dispatcher
> >
>
> Just try
> (org-agenda nil "w")
> instead.
>
> Cheers,
>
> Nicolas
>


Re: [O] a link to launch a todo view?

2015-09-26 Thread Nicolas Girard
2015-09-26 20:42 GMT+02:00 Xebar Saram :
>
> so something like this:
>
> [[elisp:(org-agenda)][TO-COOK]]
>
> this will bring up the dispatcher, how does one make it auto issue lets say
> 'w' in the dispatcher
>

Just try
(org-agenda nil "w")
instead.

Cheers,

Nicolas



Re: [O] a link to launch a todo view?

2015-09-26 Thread Xebar Saram
Thx so much Nick

so something like this:

[[elisp:(org-agenda)][TO-COOK]]

this will bring up the dispatcher, how does one make it auto issue lets say
'w' in the dispatcher

thx so much

Z


Re: [O] a link to launch a todo view?

2015-09-26 Thread Nick Dokos
Xebar Saram  writes:

> Hi list
>
> I was wondering if one can use a orgmode link to launch (via C-c o)  a 
> defined todo view (ie dispatcher t). anyone has done anything like that 
> before?
>

Yes, you can use an elisp: type link to execute arbitrary lisp code:

[[elisp:(message "Hello")][hello]]

And since the next question will be "Can I skip the confirmation?",
I will point you to

C-h v org-confirm-elisp-link-function

-- 
Nick




[O] a link to launch a todo view?

2015-09-26 Thread Xebar Saram
Hi list

I was wondering if one can use a orgmode link to launch (via C-c o)  a
defined todo view (ie dispatcher t). anyone has done anything like that
before?

best

Z