From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: inserting files within remember templates Date: Wed, 07 Nov 2007 02:47:17 +0000 Message-ID: <87sl3ipya2.fsf@bzg.ath.cx> References: <20071105181739.GB13544@atlantic.linksys.moosehall> <8A730AEC-45F4-4A2F-BD38-24DEBF937445@science.uva.nl> <20071106163647.GC13544@atlantic.linksys.moosehall> <20071106223950.GA6033@atlantic.linksys.moosehall> 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 1Ipa0v-0003s9-07 for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 20:47:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ipa0t-0003rH-GF for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 20:47:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ipa0t-0003rE-AG for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 20:47:27 -0500 Received: from nf-out-0910.google.com ([64.233.182.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ipa0s-0003tO-Sg for emacs-orgmode@gnu.org; Tue, 06 Nov 2007 20:47:27 -0500 Received: by nf-out-0910.google.com with SMTP id f5so2162047nfh for ; Tue, 06 Nov 2007 17:47:26 -0800 (PST) In-Reply-To: <20071106223950.GA6033@atlantic.linksys.moosehall> (Adam Spiers's message of "Tue, 6 Nov 2007 22:39:50 +0000") 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 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. -- Bastien