From: Carsten Dominik <dominik@science.uva.nl>
To: Peter Westlake <peter.westlake@pobox.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: org-annotation-helper
Date: Mon, 1 Sep 2008 13:27:18 +0200 [thread overview]
Message-ID: <1EBADC4C-6252-4AE0-B974-2F7301FB6DB5@uva.nl> (raw)
In-Reply-To: <1220268040.22076.1271531427@webmail.messagingengine.com>
On Sep 1, 2008, at 1:20 PM, Peter Westlake wrote:
>
> On Sun, 31 Aug 2008 12:19:23 +0200, "Richard G Riley"
> <rileyrgdev@googlemail.com> said:
>>
>> caveat : I do not know if this is optimal or even recommended but
>> it now
>> works for me.
>>
>> I have modified the code a little to remove hex from the actual
>> link. > I have "boxquoted" all code so you will need to remove that.
>>
>> firefox/iceweasel : To set up the bookmark link, simple create a new
>> book mark called "remember" in firefox and make this the location
>> code:
>>
>> ,----
>> |
>> javascript:location.href='remember://%20'+location.href
>> +'%1C'+escape(document.title)+'%1C'+escape(window.getSelection())
>> `----
>
> I have a slightly different link, which works too:
>
> javascript:location.href='remember://'+location.href
> +'::remember::'+escape(document.title)
> +'::remember::'+escape(window.getSelection())
>
> On the subject of org-annotation-helper, the code has this comment
> about
> %a:
>
>> | ;; FIXME can't access %a in the template -- how to set
>> annotation? (raise-frame)
>
> While I was trying to make this work, using a slightly earlier
> version,
> I found that the %a would work if I had an active region selected at
> the
> time. Before I could find out how to make a region active, or stop it
> being needed, I found the new version of the code, and now I use
> %:region. But it would be interesting to know why org-mode tests for
> there being an active region; it seems to do it quite a lot. You
> need an
> active region to convert a table with C-c |, for instance. Carsten, is
> there any reason why it works this way?
Hi Peter,
how else should Org know the range of lines to convert?
Or maybe I misunderstand your question?
- Carsten
next prev parent reply other threads:[~2008-09-01 11:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-30 22:46 org-annotation-helper Richard G Riley
2008-08-31 2:14 ` org-annotation-helper Nick Dokos
2008-08-31 9:14 ` org-annotation-helper Richard G Riley
2008-08-31 10:19 ` org-annotation-helper Richard G Riley
2008-09-01 11:20 ` org-annotation-helper Peter Westlake
2008-09-01 11:27 ` Carsten Dominik [this message]
2008-09-01 11:35 ` org-annotation-helper Peter Westlake
2008-09-01 14:14 ` org-annotation-helper Richard G Riley
-- strict thread matches above, loose matches on Subject: below --
2009-05-03 9:50 org-annotation-helper thierry.volpiatto
2009-05-04 9:43 ` org-annotation-helper Sebastian Rose
2009-05-04 12:04 ` org-annotation-helper thierry.volpiatto
2008-09-04 21:06 org-annotation-helper Robert Goldman
2008-09-06 16:19 ` org-annotation-helper Christopher Suckling
[not found] <200805161527.m4GFRMGN010370@dog.comp.uvic.ca>
2008-05-17 0:16 ` org-annotation-helper Daniel M German
2008-05-17 11:13 ` org-annotation-helper Carsten Dominik
2008-05-18 21:38 ` org-annotation-helper John Rakestraw
2008-05-19 12:28 ` org-annotation-helper Carsten Dominik
2008-05-19 17:19 ` org-annotation-helper Cezar Halmagean
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1EBADC4C-6252-4AE0-B974-2F7301FB6DB5@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=peter.westlake@pobox.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.