From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Org-capture does not work with "long" extracts of text Date: Fri, 25 Mar 2011 10:55:10 +0100 Message-ID: <80sjuba5j5.fsf@somewhere.org> References: <80ipv8r04r.fsf@somewhere.org> <8339mb4lmj.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Giovanni, Giovanni Ridolfi wrote: > S=C3=A9bastien Vauban writes: >> Org-capture, [...] on Firefox/Windows XP. [...] >> >> So, what's the limitation? I can only capture _short text_ extracts from >> the Web. Once it gets over 20 lines of text or so, the "Org-capture" but= ton >> still does not do anything. > > would you please share some details and a brief tutorial so that I can try > to reproduce this behaviour? I followed quite precisely the instructions given on http://orgmode.org/worg/org-contrib/org-protocol.php In particular, for Windows, I created the following =3D.reg=3D file: #+begin_src txt :tangle org-protocol-setup.reg REGEDIT4 [HKEY_CLASSES_ROOT\org-protocol] @=3D"URL:Org Protocol" "URL Protocol"=3D"" [HKEY_CLASSES_ROOT\org-protocol\shell] [HKEY_CLASSES_ROOT\org-protocol\shell\open] [HKEY_CLASSES_ROOT\org-protocol\shell\open\command] @=3D"\"C:\\Program Files\\Emacs\\emacs\\bin\\emacsclientw.exe\" \"%1\"" #+end_src and double-click it. Then I created JavaScript bookmarklets, by adding new bookmarks, with the following *names* and *addresses*: - =3Dorg-capture=3D #+BEGIN_SRC javascript javascript:location.href=3D'org-protocol://capture://'+encodeURIComponent= (location.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURICompone= nt(window.getSelection()) #+END_SRC - =3Dorg-store-link=3D #+BEGIN_SRC javascript javascript:location.href=3D'org-protocol://store-link://'+encodeURICompon= ent(location.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURIComp= onent(window.getSelection()) #+END_SRC - =3Dorg-open-source=3D #+BEGIN_SRC javascript javascript:location.href=3D'org-protocol://open-source://'+encodeURICompo= nent(location.href) #+END_SRC Best regards, Seb --=20 S=C3=A9bastien Vauban