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 12:29:00 +0000	[thread overview]
Message-ID: <87sl3iw86r.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20071106215944.4f41c434@maggiejean2.rakestrawmornlocal> (John Rakestraw's message of "Tue, 6 Nov 2007 21:59:44 -0500")

John Rakestraw <lists@johnrakestraw.com> writes:

> When I click on the annotate bookmarklet in firefox pops me into emacs
> (into an already existing buffer) with a message that the link and page
> title are in the kill-ring. Yanking gives me a nice link to the web
> page, with the page title as the link text.

This is all I used myself so far...

> When I click on the remember bookmarklet, I'm taken to my standard
> org-remember template screen asking me to select one of my templates.
> The page link and title don't show up -- can I write a template that
> incorporates this information?

My mistake.  Please replace this

,----
| (cond ((equal proto "remember")
|        (remember (concat "\n\n" orglink)))
`----

by this

,----
| (cond ((equal proto "remember")
|        (org-remember ?f))
`----

`?f' being the key for the Org template you want to use.  You will be
able to yank the link from the kill-ring once Carsten has implemented
this functionnality (as %c -- see recent discussion about this.)

Hope this will work correctly...

-- 
Bastien

  reply	other threads:[~2007-11-07 11:29 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
2007-11-07  2:59     ` John Rakestraw
2007-11-07 12:29       ` Bastien [this message]
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=87sl3iw86r.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).