[Conkeror] Getting informations about the current buffer in interactive commands

Tassilo Horn tassilo at member.fsf.org
Mon Apr 6 04:28:23 PDT 2009

Hi all,

I'd like to write an interactive conkeror command which remembers the
current page using emacs' org-mode [1], more concrete, the org-protocol
extension [2].  Therefore I need to gather the following informations:

  - The URL the buffer is currently visiting.  That I already know:

  - The title of the buffer

  - The text that is currently selected

How do I get the last two informations?

Additionally, I need to url-encode these informations.  How do I do

Thanks for any pointers,
[1] http://orgmode.org
[2] http://orgmode.org/worg/org-contrib/org-protocol.php

More information about the Conkeror mailing list