emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thuna <thuna.cing@gmail.com>
To: Max Nikulin <manikulin@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [BUG] org-protocol-store-link does not account for argument type
Date: Thu, 27 Jan 2022 18:13:54 +0300	[thread overview]
Message-ID: <87v8y51aa5.fsf@gmail.com> (raw)
In-Reply-To: <4cbdefbe-4f92-1b6e-fe2f-a8213b742dde@gmail.com>


> Could you, please, describe your actual problem?

Currently, org-protocol-store-link, as a function, fails to work for
new-style links.

Doing the following:
1. M-: (org-protocol-store-link "url=U&title=T")
2. M-x org-insert-link

and accepting the suggestions for the link and the description inserts
"[[url=U&title=T]]" instead of "[[U][T]]", which should be the expected
behavior according to the documentation of the function, unless I am
misunderstanding it.


  reply	other threads:[~2022-01-27 15:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 23:02 [BUG] org-protocol-store-link does not account for argument type Thuna
2022-01-27 14:49 ` Max Nikulin
2022-01-27 15:13   ` Thuna [this message]
2022-01-27 16:47     ` Max Nikulin
2022-01-27 18:15       ` Thuna
2022-01-28 12:21         ` Max Nikulin

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=87v8y51aa5.fsf@gmail.com \
    --to=thuna.cing@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    /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).