From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Org Remember idea Date: Tue, 6 Nov 2007 22:42:55 +0000 Message-ID: <20071106224255.GD13544@atlantic.linksys.moosehall> References: <3d6808890711060842p3ef89421xc03f0ee87257327@mail.gmail.com> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpX8O-0005vU-Io for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 17:43:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpX8N-0005uz-HS for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 17:42:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpX8N-0005uo-AK for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 17:42:59 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IpX8M-0007xX-SY for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 17:42:59 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lA6Mgw73023659 for ; Tue, 6 Nov 2007 16:42:58 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lA6MgvI9023651 for emacs-orgmode@gnu.org; Tue, 6 Nov 2007 22:42:57 GMT Content-Disposition: inline In-Reply-To: <3d6808890711060842p3ef89421xc03f0ee87257327@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 :-)