From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to use org-protocol with text that includes &? Date: Thu, 30 Aug 2018 09:21:40 +0200 Message-ID: <87ftyw2ubf.fsf@mbork.pl> References: <877ek9kz5l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvHOD-0002ga-BG for emacs-orgmode@gnu.org; Thu, 30 Aug 2018 03:29:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvHHy-0006sb-8s for emacs-orgmode@gnu.org; Thu, 30 Aug 2018 03:22:49 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]:33237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvHHy-0006or-0d for emacs-orgmode@gnu.org; Thu, 30 Aug 2018 03:22:46 -0400 In-reply-to: <877ek9kz5l.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Alex Branham Cc: Org Mode List On 2018-08-29, at 16:47, Alex Branham 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