emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: TRS-80 <trs-80@isnotmyreal.name>
Cc: Emacs-orgmode
	<emacs-orgmode-bounces+orgmode.trs-80=isnotmyreal.name@gnu.org>,
	emacs-orgmode@gnu.org
Subject: Re: org-link-set-parameters :complete how to prompt for description?
Date: Fri, 28 Aug 2020 09:26:01 +0800	[thread overview]
Message-ID: <87wo1j7e8m.fsf@localhost> (raw)
In-Reply-To: <11ea0c4fe8cc3cde08104d3071d902f2@isnotmyreal.name>

> I am guessing you were referring to org-link-make-string?

Well. Not really. But I am glad that you found the function you need.

Normally, org-link-make-description-function should be called for any
link inserted with org-insert-link to generate initial text for the
description prompt. The (possibly empty) prompt should actually be shown
regardless of the value of org-link-make-description-function. But I
guess you can as well directly return the link with description in your
completion function.

Best,
Ihor

TRS-80 <trs-80@isnotmyreal.name> writes:

>> On 2020-08-27 07:37, Ihor Radchenko wrote:
>> 
>>>    Any tips would be greatly appreciated.
>> 
>>   Take a look at org-link-make-description-function
>> 
>>   Best,
>>   Ihor
>
> Hi Ihor,
>
> I am guessing you were referring to org-link-make-string?
>
> I don't know how I missed that.  All I can say is I don't think
> it is actually in the Docs anywhere.  Because I looked and
> looked (as well as searching Internet)!
>
> In either case, I truly am greatly appreciative, as promised.  :)
> Thanks a lot, Ihor!
>
> ---
>
> @All,
>
> Apologies for any duplicates received, I seem to have some
> trouble figuring out the correct thread and method to reply (even
> though I don't usually have problem on other lists).
>
> Assuming I didn't overlook it, perhaps this is an opportunity to
> improve said Docs?
>
> Cheers,
> TRS-80


      reply	other threads:[~2020-08-28  1:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26 15:29 org-link-set-parameters :complete how to prompt for description? TRS-80
2020-08-27 11:37 ` Ihor Radchenko
2020-08-27 20:10   ` TRS-80
2020-08-28  1:26     ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo1j7e8m.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode-bounces+orgmode.trs-80=isnotmyreal.name@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=trs-80@isnotmyreal.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).