Carsten> This seems to be a bug in org-annotation-helper.el. Carsten> org-remember must be called like this:
Carsten> (org-remember nil ?w) Carsten> instead of like this: Carsten> (org-remember ?w) Carsten> Furthermore, in order to get %i as the region, you need to Carsten> select the text in the *org-ann* temporary buffer, after inserting Carsten> the text. So after "(insert region)", maybe you need something Carsten> like: Carsten> (insert-region) Carsten> (goto-char (point-max)) Carsten> (set-mark (point-min)) Carsten> An you need to have transient-mark-mode on for this. Carsten> This is a hack, I think it is actually better to use %:region in Carsten> the template instead. Yes, that was a hack. I could not find any other way to "select" the text than to create a new buffer where I set the mark, then pasted the text --that seemed enought for my emacs configuration to have the text selected. I'll look at your suggestions and update the code. Thanks Carsten, --daniel -- -- Daniel M. German http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . _______________________________________________ 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