From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: inserting files within remember templates Date: Wed, 7 Nov 2007 09:43:03 +0100 Message-ID: <8E49B7B1-388C-4B02-8DFC-625A56CB492F@science.uva.nl> References: <20071105181739.GB13544@atlantic.linksys.moosehall> <8A730AEC-45F4-4A2F-BD38-24DEBF937445@science.uva.nl> <20071106163647.GC13544@atlantic.linksys.moosehall> <20071106223950.GA6033@atlantic.linksys.moosehall> <87sl3ipya2.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpgVE-0007cY-2P for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 03:43:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpgVD-0007c1-1e for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 03:43:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpgVC-0007bp-TI for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 03:43:10 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IpgVC-0007vo-3l for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 03:43:10 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpgVB-0008C4-FJ for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 03:43:09 -0500 Received: by ug-out-1314.google.com with SMTP id a2so82857ugf for ; Wed, 07 Nov 2007 00:43:08 -0800 (PST) In-Reply-To: <87sl3ipya2.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org On 7Nov2007, at 3:47 AM, Bastien wrote: > Adam Spiers writes: > >> OK, it turns out that this was easy to implement, and I think the >> patch is small enough that it could be accepted even though I haven't >> got around to sending back the copyright assignment form yet (sorry - >> this *will* happen at some point!) > > This patch is nice, thanks! > > Just a small caveat: If Carsten accepts it (or implements this > function) > then we should make clear for beginners that the elisp code will > only be > executed in the remember buffer, not in the buffer where `org- > remember' > was invoked. > >> There might need to be some debate about how to handle read errors in >> the case of invalid syntax. Or perhaps some people already have >> `%(...)' within their remember templates for some really unusual >> reason, and don't want it interpreted? > > Maybe %^(...) is clearer then. In both %^{...} and %^(...) the ^ char > would mean that some action is undertaken. Hmmm, no, ^ means interactive..... - Carsten