John Rakestraw <[EMAIL PROTECTED]> writes:

> I ask because it would be great to block (and perhaps copy) a section
> of a web page, click on the bookmarklet, and then see a template with
> the link/title and the section of text that I blocked/copied already
> entered.

I tried to do that.  Here's an updated version of org-annotation-helper.

Attachment: org-annotation-helper.el
Description: application/emacs-lisp

The template I used is

  (?f "* %^{Paste the link}%?\n\n%:region")

The bookmarklet:

  javascript:location.href='remember://' + location.href + '%1C' + \
    escape(document.title) + '%1C' + escape(window.getSelection())

This basically add a :region property to the link created by the
bookmarklet, :region containing data from window.getSelection()

> I don't know whether others will use this functionality.

Would be nice to know... I didn't use it a lot myself for now;  I can
put the file somewhere on the web if needed.

-- 
Bastien
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to