emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Org Remember idea
Date: Thu, 08 Nov 2007 03:57:40 +0000	[thread overview]
Message-ID: <877iktmlsb.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20071107161734.6786e2d5@maggiejean2.rakestrawmornlocal> (John Rakestraw's message of "Wed, 7 Nov 2007 16:17:34 -0500")

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

John Rakestraw <lists@johnrakestraw.com> 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 #2: org-annotation-helper.el --]
[-- Type: application/emacs-lisp, Size: 4624 bytes --]

[-- Attachment #3: Type: text/plain, Size: 543 bytes --]


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

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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	other threads:[~2007-11-08  2:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06 16:42 Org Remember idea Tim O'Callaghan
2007-11-06 18:38 ` Leo
2007-11-06 18:39 ` Carsten Dominik
2007-11-06 19:42   ` Tim O'Callaghan
2007-11-06 19:43     ` Tim O'Callaghan
2007-11-06 19:43       ` Tim O'Callaghan
2007-11-06 20:49 ` John Rakestraw
2007-11-07  2:22   ` Bastien
2007-11-07  2:59     ` John Rakestraw
2007-11-07 12:29       ` Bastien
2007-11-07 21:17         ` John Rakestraw
2007-11-08  3:57           ` Bastien [this message]
2007-11-09  3:27             ` John Rakestraw
2007-11-08  4:59           ` Bastien
2007-11-09  3:30             ` John Rakestraw
2008-01-14 11:35         ` Adam Spiers
2007-11-06 22:42 ` Adam Spiers
2007-11-07  8:43 ` Carsten Dominik
2007-11-09  5:56 ` Dmitri Minaev

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=877iktmlsb.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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