emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* a link to launch a todo view?
@ 2015-09-26 10:07 Xebar Saram
  2015-09-26 15:12 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2015-09-26 10:07 UTC (permalink / raw)
  To: org mode

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

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

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

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

* Re: a link to launch a todo view?
  2015-09-26 10:07 a link to launch a todo view? Xebar Saram
@ 2015-09-26 15:12 ` Nick Dokos
  2015-09-26 18:42   ` Xebar Saram
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2015-09-26 15:12 UTC (permalink / raw)
  To: emacs-orgmode

Xebar Saram <zeltakc@gmail.com> 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

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

* Re: a link to launch a todo view?
  2015-09-26 15:12 ` Nick Dokos
@ 2015-09-26 18:42   ` Xebar Saram
  2015-09-26 19:12     ` Nicolas Girard
  0 siblings, 1 reply; 5+ messages in thread
From: Xebar Saram @ 2015-09-26 18:42 UTC (permalink / raw)
  To: Nick Dokos; +Cc: org mode

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

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

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

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

* Re: a link to launch a todo view?
  2015-09-26 18:42   ` Xebar Saram
@ 2015-09-26 19:12     ` Nicolas Girard
  2015-09-26 22:20       ` Xebar Saram
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Girard @ 2015-09-26 19:12 UTC (permalink / raw)
  To: Xebar Saram; +Cc: Nick Dokos, org mode

2015-09-26 20:42 GMT+02:00 Xebar Saram <zeltakc@gmail.com>:
>
> 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

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

* Re: a link to launch a todo view?
  2015-09-26 19:12     ` Nicolas Girard
@ 2015-09-26 22:20       ` Xebar Saram
  0 siblings, 0 replies; 5+ messages in thread
From: Xebar Saram @ 2015-09-26 22:20 UTC (permalink / raw)
  To: Nicolas Girard; +Cc: Nick Dokos, org mode

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

perfect!

thx

z

On Sat, Sep 26, 2015 at 10:12 PM, Nicolas Girard <girard.nicolas@gmail.com>
wrote:

> 2015-09-26 20:42 GMT+02:00 Xebar Saram <zeltakc@gmail.com>:
> >
> > 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
>

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

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

end of thread, other threads:[~2015-09-26 22:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26 10:07 a link to launch a todo view? Xebar Saram
2015-09-26 15:12 ` Nick Dokos
2015-09-26 18:42   ` Xebar Saram
2015-09-26 19:12     ` Nicolas Girard
2015-09-26 22:20       ` Xebar Saram

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