From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: question about capture templates Date: Tue, 22 Feb 2011 08:06:17 -0800 Message-ID: <87bp24awau.fsf@berkeley.edu> References: <80ei71o17z.fsf@missioncriticalit.com> <87k4gtpcvp.fsf@berkeley.edu> <80bp255935.fsf@missioncriticalit.com> <87r5b0d5qu.fsf@berkeley.edu> <546EF11C-2E76-4802-A0D6-1584BDDAB550@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60304 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrugQ-0003N0-BP for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:01:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrugP-00077j-BT for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:01:50 -0500 Received: from lo.gmane.org ([80.91.229.12]:58532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrugP-00077M-3i for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 11:01:49 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PrugN-0005H7-8W for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 17:01:47 +0100 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Feb 2011 17:01:47 +0100 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Feb 2011 17:01:47 +0100 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 Carsten Dominik writes: > I do love dynamic scoping, this give a lot of power in Emacs. > Org-mode internals use that power often. This is venturing a bit far afield, at least for this thread, but I'm curious if anyone knows: does the recent work on supporting Elisp in Guile mean that Elisp applications are eventually expected to be ported to Scheme? And if so, what does that mean for Org development? >> One gotcha: S-expressions in templates are apparently always evaluated >> as function calls -- you can't just directly access a string value, like >> %(foo). > > I guess you mean a variable value? Right, yes, a variable with a string value. I guess my point is more properly stated by saying there doesn't seem to be a way to evaluate an atomic S-expression in a template. But this seems like a fair trade for not having to write a second set of parentheses around every non-atomic expression. > The shortest form may be %(symbol-value foo) if you want to access the > value of a variable in a template. That's handy -- thanks! Richard