emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Alex Branham <alex.branham@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: How to use org-protocol with text that includes &?
Date: Thu, 30 Aug 2018 09:21:40 +0200	[thread overview]
Message-ID: <87ftyw2ubf.fsf@mbork.pl> (raw)
In-Reply-To: <877ek9kz5l.fsf@gmail.com>


On 2018-08-29, at 16:47, Alex Branham <alex.branham@gmail.com> wrote:

> Hello -
>
> I'm struggling with org-protocol capturing text when it includes the symbol &. Here's an example of what I'm sending:
>
> emacsclient "org-protocol://capture?url=foo.com&title=bar&body=foobar&foobar2"
>
> but the foobar2 doesn't get captured because of the &. Escaping it doesn't seem to help.
>
> How should I format text that includes & so that it gets properly captured?

Would url-encoding help?

Hth,

-- 
Marcin Borkowski
http://mbork.pl

  reply	other threads:[~2018-08-30  7:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 14:47 How to use org-protocol with text that includes &? Alex Branham
2018-08-30  7:21 ` Marcin Borkowski [this message]
2018-08-30 15:55   ` Alex Branham

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=87ftyw2ubf.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=alex.branham@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).