Re: [QUESTION] What's the ":desk" link parameter?

2020-06-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ihor Radchenko writes: >> I'm not sure `org-link-make-description-function' is used a lot out >> there, but the change may break existing configurations/hacks. > > It should not break anything. I did not remove >

Re: [QUESTION] What's the ":desk" link parameter?

2020-06-02 Thread Ihor Radchenko
> I'm not sure `org-link-make-description-function' is used a lot out > there, but the change may break existing configurations/hacks. It should not break anything. I did not remove `org-link-make-description-function' functionality. Just marked it as deprecated. > Also, is it something we could

Re: [QUESTION] What's the ":desk" link parameter?

2020-06-02 Thread Bastien
Hi Ihor, Ihor Radchenko writes: >> thanks for the patch. I assume you are submitting it against master, >> am I right? > > The patch is against commit 2e96dc639. I see, thanks. >> From reading this, I don't see what bug it fixes, what problem it >> solves or what real user need it responds

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-24 Thread Ihor Radchenko
> thanks for the patch. I assume you are submitting it against master, > am I right? The patch is against commit 2e96dc639. > From reading this, I don't see what bug it fixes, what problem it > solves or what real user need it responds to, but maybe I lost part > of the context. Can you

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-24 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ihor Radchenko writes: >> I remember I found this code on emacs.stackexchange.com website. >> >> I did a Google search now, I found someone indeed proposed this feature. >> Here is >> the email archive: >> >>

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-24 Thread Bastien
Hi Ihor, thanks for the patch. I assume you are submitting it against master, am I right? Ihor Radchenko writes: > +`:description' > + > + Function to use for generating link descriptions from links. This > + function must take two parameters: the first one is the link, the > + second one

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-23 Thread Ihor Radchenko
> I remember I found this code on emacs.stackexchange.com website. > > I did a Google search now, I found someone indeed proposed this feature. Here > is > the email archive: > > https://lists.gnu.org/archive/html/emacs-orgmode/2019-08/msg00013.html > > I saw this thread is stopped. Seems no

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-23 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John Kitchin writes: > Where did you find that code? I recall this was some kind of prototype > code, and maybe it never got fully developed. I think desk was shorthand > for description. I remember I found this code on emacs.stackexchange.com

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-23 Thread John Kitchin
Where did you find that code? I recall this was some kind of prototype code, and maybe it never got fully developed. I think desk was shorthand for description. On Sat, May 23, 2020 at 8:24 AM stardiviner wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > I found some examples

Re: [QUESTION] What's the ":desk" link parameter?

2020-05-23 Thread Bastien
Hi, stardiviner writes: > I found some examples setting org-link-parameters with ":desk", like this: > > #+begin_src emacs-lisp > (defun org-id-link-desk (link desk) > "Description function for id: link." > (let ((id (cadr (split-string link ":" > (org-with-point-at (org-id-find id

[QUESTION] What's the ":desk" link parameter?

2020-05-23 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I found some examples setting org-link-parameters with ":desk", like this: #+begin_src emacs-lisp (defun org-id-link-desk (link desk) "Description function for id: link." (let ((id (cadr (split-string link ":" (org-with-point-at