Re: storing a link to a task from an agenda view

2020-11-22 Thread Alan Schmitt
On 2020-11-22 13:36, Ihor Radchenko writes: >> Do you have suggestions on how to store such a link from an agenda view? >> It can either end up in ~org-stored-links~ or captured in a variable. > > (org-store-link nil) -> (org-store-link nil 'interactive) > > Or you can just save the return value

Re: storing a link to a task from an agenda view

2020-11-21 Thread Ihor Radchenko
> Do you have suggestions on how to store such a link from an agenda view? > It can either end up in ~org-stored-links~ or captured in a variable. (org-store-link nil) -> (org-store-link nil 'interactive) Or you can just save the return value of (org-store-link nil) Best, Ihor Alan Schmitt wri

storing a link to a task from an agenda view

2020-11-21 Thread Alan Schmitt
Hello, I'm trying to store a link to a task while the cursor is on it in the agenda view. I tried ~org-store-link~ on it, but it tells me there is no method to do so. So I looked at some of the org-agenda code to find a way to get to the underlying task, and I tried this: #+begin_src emacs-lisp (