Re: [O] Unwanted percent-encoding capturing data from Firefox

2011-06-20 Thread Bill Jacobson

On 06/20/2011 12:04 AM, David Maus wrote:

At Sun, 19 Jun 2011 11:43:49 -0500,
Bill Jacobson wrote:


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 24.0.50.1 (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
[[http%3A%2F%2Fwww.tbray.org%2Fongoing%2FWhen%2F201x%2F2011%2F05%2F31%2FBrowsers][ongoing
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'm looking into this issue, but this caught my eyes:


Org-mode version 7.4 (release_7.5.409.g4f3a3) == latest

   

This looks like a mixed up Org mode install, doesn't it?

It would explain the problem you face. The functions for escaping
%-encoded characters has changed significantly and if you run
org-protocol.el from 7.5 together with org.el from 7.4 you would get
exactly what you got.

Could you check if you have a mixed Org install?

Best,
   -- David

David,

I didn't know to see the 7.4 bit as a possible red flag.

In /usr/local/share/emacs, I have installed Emacs 24.0.50, including the 
bundled org-mode 7.4 release.


Into ~/elisp/org-mode I am nightly git pulling and making the latest 7.5 
version


I have been toggling between 7.4 and 7.5 latest—cleanly, I thought—by 
uncommenting or commenting the line

(add-to-list 'load-path ~/elisp/org-mode/lisp/)

Is this enough to tell you what I've mixed up?

Thanks,
Bill





Re: [O] Unwanted percent-encoding capturing data from Firefox

2011-06-20 Thread David Maus
At Mon, 20 Jun 2011 07:17:30 -0500,
Bill Jacobson wrote:
 
  I'm looking into this issue, but this caught my eyes:
 
  Org-mode version 7.4 (release_7.5.409.g4f3a3) == latest
 
 
  This looks like a mixed up Org mode install, doesn't it?
 
  It would explain the problem you face. The functions for escaping
  %-encoded characters has changed significantly and if you run
  org-protocol.el from 7.5 together with org.el from 7.4 you would get
  exactly what you got.
 
  Could you check if you have a mixed Org install?
 
  Best,
 -- David
 David,
 
 I didn't know to see the 7.4 bit as a possible red flag.
 
 In /usr/local/share/emacs, I have installed Emacs 24.0.50, including the 
 bundled org-mode 7.4 release.
 
 Into ~/elisp/org-mode I am nightly git pulling and making the latest 7.5 
 version
 
 I have been toggling between 7.4 and 7.5 latest—cleanly, I thought—by 
 uncommenting or commenting the line
  (add-to-list 'load-path ~/elisp/org-mode/lisp/)
 
 Is this enough to tell you what I've mixed up?

No, AFAIK and according to

http://orgmode.org/manual/Installation.html#Installation 

you'd need a

(require 'org-install)

When using the web version.  This file defines the autoloads for Org,
e.g. sets up the correct place where Emacs will find the correct Elips
files.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp6ErDfh9wDj.pgp
Description: PGP signature


Re: [O] Unwanted percent-encoding capturing data from Firefox

2011-06-20 Thread David Maus
At Mon, 20 Jun 2011 07:17:30 -0500,
Bill Jacobson wrote:
 
  I'm looking into this issue, but this caught my eyes:
 
  Org-mode version 7.4 (release_7.5.409.g4f3a3) == latest
 
 
  This looks like a mixed up Org mode install, doesn't it?
 
  It would explain the problem you face. The functions for escaping
  %-encoded characters has changed significantly and if you run
  org-protocol.el from 7.5 together with org.el from 7.4 you would get
  exactly what you got.
 
  Could you check if you have a mixed Org install?
 
  Best,
 -- David
 David,
 
 I didn't know to see the 7.4 bit as a possible red flag.
 
 In /usr/local/share/emacs, I have installed Emacs 24.0.50, including the 
 bundled org-mode 7.4 release.
 
 Into ~/elisp/org-mode I am nightly git pulling and making the latest 7.5 
 version
 
 I have been toggling between 7.4 and 7.5 latest—cleanly, I thought—by 
 uncommenting or commenting the line
  (add-to-list 'load-path ~/elisp/org-mode/lisp/)
 
 Is this enough to tell you what I've mixed up?

No, AFAIK and according to

http://orgmode.org/manual/Installation.html#Installation 

you'd need a

(require 'org-install)

When using the web version.  This file defines the autoloads for Org,
e.g. sets up the correct place where Emacs will find the correct Elips
files.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de



[O] Unwanted percent-encoding capturing data from Firefox

2011-06-19 Thread Bill Jacobson
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 24.0.50.1 (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
[[http%3A%2F%2Fwww.tbray.org%2Fongoing%2FWhen%2F201x%2F2011%2F05%2F31%2FBrowsers][ongoing 
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




Re: [O] Unwanted percent-encoding capturing data from Firefox

2011-06-19 Thread David Maus
At Sun, 19 Jun 2011 11:43:49 -0500,
Bill Jacobson wrote:
 
 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 24.0.50.1 (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
 [[http%3A%2F%2Fwww.tbray.org%2Fongoing%2FWhen%2F201x%2F2011%2F05%2F31%2FBrowsers][ongoing
  
 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'm looking into this issue, but this caught my eyes:

 Org-mode version 7.4 (release_7.5.409.g4f3a3) == latest
  

This looks like a mixed up Org mode install, doesn't it?

It would explain the problem you face. The functions for escaping
%-encoded characters has changed significantly and if you run
org-protocol.el from 7.5 together with org.el from 7.4 you would get
exactly what you got.

Could you check if you have a mixed Org install?

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpuRQyt9hpRX.pgp
Description: PGP signature