From: Max Nikulin <manikulin@gmail.com>
To: Thuna <thuna.cing@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [BUG] org-protocol-store-link does not account for argument type
Date: Thu, 27 Jan 2022 21:49:25 +0700 [thread overview]
Message-ID: <4cbdefbe-4f92-1b6e-fe2f-a8213b742dde@gmail.com> (raw)
In-Reply-To: <871r0u2j8d.fsf@gmail.com>
On 27/01/2022 06:02, Thuna wrote:
> Currently org-protocol-store-link assumes FNAME to be in the old-style.
> Changing the nil in line 467 of org-protocol.el to (listp fname) fixes
> the issue.
Could you, please, describe your actual problem?
I have tried
emacsclient 'org-protocol://store-link?url=http://o.rg/&title=Tt1'
emacsclient 'org-protocol://store-link:/https:%2F%2Fo2.rg/Tt2'
and both links have been stored successfully.
There are even some tests for handling of new and old style URIs by
store-link subprotocol though they are not run by default.
next prev parent reply other threads:[~2022-01-27 14:51 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 [this message]
2022-01-27 15:13 ` Thuna
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=4cbdefbe-4f92-1b6e-fe2f-a8213b742dde@gmail.com \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=thuna.cing@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).