Hi Geert,

Thanks, very handy. There are a couple of things I needed to change to
get it working on windows:

1. Adding this preference has no effect on windows (see
http://kb.mozillazine.org/Network.protocol-handler.app.%28protocol%29).
 Instead you need to add the protocol to the OS by following the
instructions in http://kb.mozillazine.org/Register_protocol.  Here's
the .reg script I used:

REGEDIT4

[HKEY_CLASSES_ROOT\remember]
@="URL:remember Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\remember\shell]

[HKEY_CLASSES_ROOT\remember\shell\open]

[HKEY_CLASSES_ROOT\remember\shell\open\command]
@="\"C:\\Program
Files\\Emacs\\site-lisp\\planner-annotation\\remember.bat\" \"%1\""

2. The batch file (remember.bat) I used is simply:

"c:\Program Files\Emacs\emacs\bin\emacsclient" --eval "(progn
(gjk/planner-annotation-helper \"%1\" ) nil)"

(I needed the full path because there was another emacsclient lurking
in my cygwin /usr/bin directory).

Regards
David Lord

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to