all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.