Hi, I'm using for months Org-capture, with a lot of interest. In the beginning, it was on Firefox/Ubuntu, now it is (for external reasons) on Firefox/Windows XP. I think I can relate the limitation I'll expose with the switch from Linux to Windows. However, that does not necessarily mean that Windows is the culprit, as there are so many (little) differences between the two systems. 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" button still does not do anything. On the same page (whichever, in fact) as the one exhibiting the above problem, selecting a shorter region of text makes the behavior of the button come back to life. So, it really is related somehow to the length of the copied text (words, lines, bytes, ...?). Any idea or workaround for this? Best regards, Seb -- Sébastien Vauban
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes: Hi, Sébastien, > > 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" button still > does not do anything. would you please share some details and a brief tutorial so that I can try to reproduce this behaviour? tia, Giovanni
Hi Giovanni, Giovanni Ridolfi wrote: > Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> 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" button >> 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 =.reg= file: #+begin_src txt :tangle org-protocol-setup.reg REGEDIT4 [HKEY_CLASSES_ROOT\org-protocol] @="URL:Org Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\org-protocol\shell] [HKEY_CLASSES_ROOT\org-protocol\shell\open] [HKEY_CLASSES_ROOT\org-protocol\shell\open\command] @="\"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*: - =org-capture= #+BEGIN_SRC javascript javascript:location.href='org-protocol://capture://'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURIComponent(window.getSelection()) #+END_SRC - =org-store-link= #+BEGIN_SRC javascript javascript:location.href='org-protocol://store-link://'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title)+'/'+encodeURIComponent(window.getSelection()) #+END_SRC - =org-open-source= #+BEGIN_SRC javascript javascript:location.href='org-protocol://open-source://'+encodeURIComponent(location.href) #+END_SRC Best regards, Seb -- Sébastien Vauban
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes: > Hi Giovanni, > > Giovanni Ridolfi wrote: >> Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes: >>> Org-capture, [...] on Firefox/Windows XP. [...] >>> [...] > In particular, for Windows, I created the following =.reg= file: :-( Sorry, I don't have the permission to change registry files, I can't help. Giovanni