emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Fri, 28 Jan 2022 19:21:49 +0700	[thread overview]
Message-ID: <0755acb3-ba82-e29d-3814-c5f6f2880cf8@gmail.com> (raw)
In-Reply-To: <87r18t11w7.fsf@gmail.com>

On 28/01/2022 01:15, Thuna wrote:
> 
>> See the last paragraph of the docstring:
>>
>>> FNAME should be a property list.  If not, an old-style link of the
>>                       ^^^^^^^^^^^^^^
>>> form URL/TITLE can also be used."
>>
>> You pass a string for *new* URI style.
> 
> I see, it seems I have misunderstood the documentation then.  My
> apologies for the inconvenience.

I think, you have missed an opportunity to get a suggestion concerning 
you actual problem. You original report and the response were so brief 
that it is impossible to guess the context of the question and your goal.

Code org-protocol has enough hacks and the functions unlikely should be 
called from outside. Defining new subprotocol is likely the only case 
when it is necessary to understand arguments of functions. I suspect a 
function appropriate for your purpose is defined somewhere else.


      reply	other threads:[~2022-01-28 13:13 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
2022-01-27 16:47     ` Max Nikulin
2022-01-27 18:15       ` Thuna
2022-01-28 12:21         ` Max Nikulin [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=0755acb3-ba82-e29d-3814-c5f6f2880cf8@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).