emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org Remember idea


From: Adam Spiers
Subject: Re: [Orgmode] Org Remember idea
Date: Tue, 6 Nov 2007 22:42:55 +0000
User-agent: Mutt/1.5.14 (2007-02-12)

On Tue, Nov 06, 2007 at 05:42:03PM +0100, Tim O'Callaghan wrote:
> I've started using Remember mode more and more, and it has given me an
> idea for new piece of functionality.
> 
> %c - insert clipboard/kill-ring at point
> 
> This is for 'auto' pasting links or snippets of text from my browser
> into an org file.
> 
> What do you think?
> 
> Tim.

With the patch I just posted to the concurrent thread concerning
embedding elisp in remember templates, this should easily be achieved
via something like

  %(x-clipboard-yank)

or you could even define a wrapper function `x-clipboard-yank-safely'
which watches out for the case where the clipboard contents are large
and handles the situation accordingly, then use it via

  %(x-clipboard-yank-safely)

Though `%c' is easier to type, of course :-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]