emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Jacobson <gabedad@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Unwanted percent-encoding capturing data from Firefox
Date: Sun, 19 Jun 2011 11:43:49 -0500	[thread overview]
Message-ID: <itl905$i4c$1@dough.gmane.org> (raw)

For some months now, I've been successfully capturing Firefox data as 
explained here: http://orgmode.org/worg/org-contrib/org-protocol.html
But the results below demonstrate a problem. The 2nd and 3rd represent 
what was captured into Emacs, the quoted line in each case being what 
was highlighted in Firefox.
Emacs version is: GNU Emacs (x86_64-unknown-linux-gnu, GTK+ 
Version 2.22.0) of 2011-05-03

Manually copied:
[[http://www.tbray.org/ongoing/When/201x/2011/05/31/Browsers][ongoing by 
Tim Bray · Me and My Browsers]]
"I like that Chrome’s fast, and I really like that it’s robust"

Org-mode version 7.4:
[[http://www.tbray.org/ongoing/When/201x/2011/05/31/Browsers][ongoing by 
Tim Bray · Me and My Browsers]]
"I like that Chrome’s fast, and I re­-ally like that it’s ro­-bust"

Org-mode version 7.4 (release_7.5.409.g4f3a3) == latest
by Tim Bray %C2%B7 Me and My Browsers]]
"I like that Chromeâ%80%99s fast%2C and I re%C2%ADally like that 
itâ%80%99s ro%C2%ADbust"

I don't yet have the Elisp chops to see where this should be mended.

(The bogus hyphens are only a minor concern but they're a puzzle. 
Apparently some Javascript is sprinkling the text with soft hyphens 
which are removed when copying via the browser but not when capture 
copies using window.getSelection())

Thanks, Bill

             reply	other threads:[~2011-06-19 16:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 16:43 Bill Jacobson [this message]
2011-06-20  5:04 ` David Maus
2011-06-20 12:17   ` Bill Jacobson
2011-06-20 19:42     ` David Maus
2011-06-20 19:42     ` David Maus

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:

  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='itl905$i4c$1@dough.gmane.org' \
    --to=gabedad@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Unwanted percent-encoding capturing data from Firefox' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).