From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: Newbie elisp programmer requests a pointer to backtics... Date: Wed, 14 Apr 2010 09:35:43 -0400 Message-ID: <88BCFD2F-7248-4363-8BCE-327282920C21@gmail.com> References: <4BC50A22.608@pinyon.org> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O22kz-00032V-W4 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 09:35:54 -0400 Received: from [140.186.70.92] (port=45701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O22ky-00032M-P1 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 09:35:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O22ku-000467-3v for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 09:35:52 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:54680) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O22kt-000461-SG for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 09:35:48 -0400 Received: by pwi2 with SMTP id 2so111011pwi.0 for ; Wed, 14 Apr 2010 06:35:47 -0700 (PDT) In-Reply-To: <4BC50A22.608@pinyon.org> 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: "Russell L. Carter" Cc: emacs-orgmode@gnu.org A back-quoted form is just like a quoted form, except every ,foo is = substituted by the evaluation of foo. (defvar foo 123) `(foo ,foo) =3D> '(foo 123) They can be nested: `(foo `(foo ,,foo)) And lists can be directly interpolated: (defvar foo '(123 456)) `(foo ,foo) =3D> '(foo (123 456)) `(foo ,@foo) =3D> '(foo 123 456) You can do this to see how any form will expand: M-: (pp-to-string (macroexpand `(foo ,foo))) John=