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: Wed, 07 Nov 2007 02:22:07 +0000	[thread overview]
Message-ID: <874pfyre0g.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20071106154907.5d68b019@dhcp-296-6> (John Rakestraw's message of "Tue, 6 Nov 2007 15:49:07 -0500")

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

John Rakestraw <lists@johnrakestraw.com> writes:

> I used planner mode for a while before switching to org mode, and still
> occasionally look in on planner to see what they're doing. A couple of
> weeks ago I stumbled on this in the list planner-el-discuss:

I had seen this as well and tried to adapt it for Org immediately.  I
didn't post the code here because I'm not using/testing it a lot, but
since others seem interested, here it is.


[-- Attachment #2: org-annotation-helper --]
[-- Type: application/octet-stream, Size: 657 bytes --]

#!/bin/sh
# org-annotation-helper -- pass a remember-url to emacs
#
# Author: Geert Kloosterman <g.j.kloosterman@gmail.com>
# Date: Sat Nov 19 22:33:18 2005

if [ -z "$1" ]; then
    echo "$0: Error: no arguments given!" 1>&2
    exit 1
fi

# For years I've been using Martin Schwenke's dtemacs script to start
# Emacs.  The script uses gnuclient to connect to Emacs and starts a
# new Emacs process when necessary.
# See http://www.meltin.net/hacks/emacs/
#
# dtemacs -batch -eval "(progn (gjk/planner-annotation-helper \"$1\" ) \"\")"

# As of Emacs 22 emacsclient will work too
emacsclient --eval "(progn (bzg/org-annotation-helper \"$1\" ) nil)"

# EOF

[-- Attachment #3: org-annotation-helper.el --]
[-- Type: application/emacs-lisp, Size: 4189 bytes --]

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


> I would really like to have something like this for org. The poster
> actually included the lisp code, the browser protocols, and the script
> that did all this.

I would summarize the step like this:

1. put org-annotation-helper in a path for executables

2. ~$ chmod +x org-annotation-helper

3. add the Org bookmarklet (right click on Firefox Personnal Toolbar to
   create a bookmark -- see the screenshot)


[-- Attachment #5: bookmarklet.png --]
[-- Type: image/png, Size: 14891 bytes --]

[-- Attachment #6: Type: text/plain, Size: 187 bytes --]


4. test it!

> In hopes that someone will look at it, I've posted the code below.

Please tell me if the code above is working for you.  As I said, I
didn't test it enough.

-- 
Bastien

[-- Attachment #7: 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-07  1:22 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 [this message]
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
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=874pfyre0g.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).