* How to use org-protocol with text that includes &?
@ 2018-08-29 14:47 Alex Branham
2018-08-30 7:21 ` Marcin Borkowski
0 siblings, 1 reply; 3+ messages in thread
From: Alex Branham @ 2018-08-29 14:47 UTC (permalink / raw)
To: Org Mode List
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?
Thanks,
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use org-protocol with text that includes &?
2018-08-29 14:47 How to use org-protocol with text that includes &? Alex Branham
@ 2018-08-30 7:21 ` Marcin Borkowski
2018-08-30 15:55 ` Alex Branham
0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2018-08-30 7:21 UTC (permalink / raw)
To: Alex Branham; +Cc: Org Mode List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use org-protocol with text that includes &?
2018-08-30 7:21 ` Marcin Borkowski
@ 2018-08-30 15:55 ` Alex Branham
0 siblings, 0 replies; 3+ messages in thread
From: Alex Branham @ 2018-08-30 15:55 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: Org Mode List
> Would url-encoding help?
Indeed it does, thank you!
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-30 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-29 14:47 How to use org-protocol with text that includes &? Alex Branham
2018-08-30 7:21 ` Marcin Borkowski
2018-08-30 15:55 ` Alex Branham
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).