emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sander Boer <sanboer@gmail.com>
To: emacs-orgmode@gnu.org
Subject: how to sanitize org-protocol text ?
Date: Wed, 08 Apr 2015 16:05:00 +0200	[thread overview]
Message-ID: <5525358C.6040005@gmail.com> (raw)

Hi,

I just set up org-protocol and it works fine. However, when I have text 
selected to have it end up in the body of the new note I get presented 
with two problems:

- Every linebreak has a trailing ^M, this does not happen when I paste 
the text.
- Unicode quote symbols ? The text is speckled with \222 ("there’s" 
becomes "there\222s")  or \221  (‘quote’ becomes \221quote\222)

Is there a solution ?

gr
S

             reply	other threads:[~2015-04-08 14:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 14:05 Sander Boer [this message]
     [not found] ` <871tjuq8p5.fsf@turing.flintfam.org>
2015-04-10  7:29   ` how to sanitize org-protocol text ? Sander Boer
2015-04-10  8:32     ` Fabrice Popineau

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=5525358C.6040005@gmail.com \
    --to=sanboer@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).