emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Rakestraw <lists@johnrakestraw.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org Remember idea
Date: Wed, 7 Nov 2007 16:17:34 -0500	[thread overview]
Message-ID: <20071107161734.6786e2d5@maggiejean2.rakestrawmornlocal> (raw)
In-Reply-To: <87sl3iw86r.fsf@bzg.ath.cx>


[-- Attachment #1.1: Type: text/plain, Size: 2171 bytes --]

On Wed, 07 Nov 2007 12:29:00 +0000
Bastien <bzg@altern.org> wrote:

> Hope this will work correctly...

Yes, it works great. However, to make the remember function work I had
to add a line to the lisp, so that the relevant section now reads:

	(cond ((equal proto "remember")
	(kill-new orglink) ;; added to put the link in the kill-ring  
	(org-remember ?w))        
              ((equal proto "annotation")
               (message "Copied '%s' to the kill-ring." orglink)
               (kill-new orglink))

I don't fully understand why I needed to add the line -- all I know is
that without it the link isn't in the kill-ring when I yank it.

I couple this with this template:

("web-clip" ?w "* %^{Paste page title/URL}\n %u\n  :PROPERTIES:
\n  :END: \n  %?" "~/plans/webclips.org") 

I suspect I'll use this a lot -- thanks for setting it up. (And I
understand that once we have the functionality in the template to yank
the kill-ring to a point indicated by %c it will be simpler still.)

The next question is whether the link and perhaps other bits of
information can be passed as variables instead of via the kill-ring. I
ask because it would be great to block (and perhaps copy) a section of
a web page, click on the bookmarklet, and then see a template with the
link/title and the section of text that I blocked/copied already
entered. Something like this:

---->
* <link:[[http://www.nytimes.com/2007/11/07/][A news article]]
  [2007-11-07 Wed]
  :PROPERTIES:
  Here is the text I blocked/copied from the web page. It might be 3 or
  4 sentences, and it might be set off somehow either by quotation
  marks or perhaps a different indent level.

  <point is here for any notes I want to add to the entry>
---->

I don't know whether others will use this functionality. I confess that
part of my interest stems from my experience with the only program I
miss from my days using windows software -- a program called Zoot
(http://www.zootsoftware.com/). Zoot does many things, but one thing I
really like is that it makes it very easy to store, annotate, and
organize links to web pages. 

-- 
John Rakestraw

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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 21:17 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
2007-11-07 21:17         ` John Rakestraw [this message]
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=20071107161734.6786e2d5@maggiejean2.rakestrawmornlocal \
    --to=lists@johnrakestraw.com \
    --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).