emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maxim Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture config broken
Date: Thu, 26 Aug 2021 21:09:27 +0700	[thread overview]
Message-ID: <sg87at$cj9$1@ciao.gmane.io> (raw)
In-Reply-To: <YSdjWXDJDiEWkn7c@t14s-orm.localdomain>

On 26/08/2021 16:48, Orm Finnendahl wrote:
> 
> Am Mittwoch, den 25. August 2021 um 18:16:15 Uhr (+0200) schrieb Maxim
> Nikulin:
>>
>> Unfortunately you did not specify version of Org you are currently using.
> 
> Sorry, it's 9.4.4.

The changes, I were writing about, landed in 9.4.6. If you were using 
the latest version, perhaps you would not experience a problem with 
old-style URI.

> $ emacsclient org-protocol:/capture?template=m?url=URL&title=TITLE&body=BODY
> Waiting for Emacs...
> *ERROR*: No capture template referred to by "m?url" keys
> 
> Thanks for the hint! If this example is still in the master branch
> maybe that should get fixed (or the code if it should work with a
> question mark).

I just took the example from the manual at the web site. Then I realized 
that it looked strange and fixed it. Unfortunately I missed one question 
mark. The example in master and maint branches is correct. Thank you for 
drawing attention to this issue.




      reply	other threads:[~2021-08-26 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 12:05 org-capture config broken Orm Finnendahl
2021-08-25 16:16 ` org-capture config broken (org-protocol URI syntax) Maxim Nikulin
2021-08-26  9:48 ` org-capture config broken Orm Finnendahl
2021-08-26 14:09   ` Maxim 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='sg87at$cj9$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).