Re: [Feature proposal] Add :description function to org-link-parameters

2022-10-09 Thread Ihor Radchenko
Ihor Radchenko  writes:

> Hi,
>
> Wondering if anyone is interested in adding a new org-link property to
> customise generating the link description.
>
> For now, there is global org-link-make-description-function, which is
> shared among all the link types. If would be more convenient if the
> description function can be set independently for different link types.
>
> I propose to use :description property in org-link-parameters. A sample
> implementation working with current org version is below:

For record, this feature has been implemented in
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e3a05d09b7398b46e8ef724ae7609eeb8a35346e

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [Feature proposal] Add :description function to org-link-parameters

2020-02-04 Thread Bastien
Hi Ihor,

Ihor Radchenko  writes:

> Wondering if anyone is interested in adding a new org-link property to
> customise generating the link description.

yes, this sounds useful.

Can you propose a patch against current Org master branch?

See https://orgmode.org/worg/org-contribute.html on how to contribute.

If you need to contribute more than 15 lines of code or want to be
able to contribute later on, please fill this form:

https://code.orgmode.org/bzg/org-mode/raw/master/request-assign-future.txt

Also, as John noted already, "desk" is confusing, you can simply use
"description" (long names are not a problem.)

Thanks in advance!

-- 
 Bastien