From: Ihor Radchenko <firstname.lastname@example.org>
To: Max Nikulin <email@example.com>, Bastien <firstname.lastname@example.org>
Subject: Re: [PATCH] ol.el: Always prompt for description in `org-insert-link'
Date: Fri, 16 Sep 2022 11:55:44 +0800 [thread overview]
Message-ID: <875yhoug5b.fsf@localhost> (raw)
Max Nikulin <email@example.com> writes:
> I have an idea how to fix the code to bypass the description prompt if
> path is completed by description discarding identical path and
> description, but I prefer to drop the confusing variable and not depend
> on the means how the link was selected from the list of stored items.
> Have I missed something and unconditional prompt to edit link
> description may be undesired in some cases?
AFAIU, this particular behaviour is undocumented. If it is used by some
other code, let's make tests for it, document, and fix in a better, more
I am unaware about the code using this link==description behaviour.
Applied onto main.
Could you please check the ongoing changes in this area
(storing/inserting links)? The code in this area is old, confusing, and
not fully documented. I'm afraid that we may break something in the
process of refactoring. If you see some dangerous changes, please let us
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
next prev parent reply other threads:[~2022-09-16 3:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 16:11 [PATCH] ol.el: Always prompt for description in `org-insert-link' Max Nikulin
2022-09-16 3:55 ` Ihor Radchenko [this message]
2022-09-17 12:22 ` Bastien Guerry
2022-09-17 12:40 ` Ihor Radchenko
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).