From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Subject: Re: [babel] What is `, (backquote comma)? Date: Wed, 21 Sep 2011 21:05:12 +0200 Message-ID: <86obydvhqv.fsf@googlemail.com> References: <867h51x0d5.fsf@googlemail.com> <871uv9hgxx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6S6o-00064R-Qz for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:05:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6S6n-0000YZ-Pb for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:05:26 -0400 Received: from lo.gmane.org ([80.91.229.12]:51070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6S6n-0000YV-KZ for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:05:25 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R6S6m-00083W-Q6 for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 21:05:24 +0200 Received: from e178189072.adsl.alicedsl.de ([85.178.189.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Sep 2011 21:05:24 +0200 Received: from quintfall by e178189072.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Sep 2011 21:05:24 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Štěpán Němec writes: > On Wed, 21 Sep 2011 19:37:42 +0200 > Thorsten wrote: > >> in org-babel-expand-body:scheme (and >> e.g. org-babel-expand-body:emacs-lisp) I encounter something like this: >> >> (lambda (var) (format "%S" (print `(,(car var) ',(cdr var))))) >> >> While this part >> `(,(car var) ...) >> is explained in the manual (backquote and unquote), this part >> `(... ',(cdr var)) >> is a bit mysterious to me, and I do not find information about >> backquote( ... backquote comma ()) >> in the manuals or the web. >> >> Is that Emacs Lisp? What does that mean? > > Note it's not "`,", which would indeed be a no-op, but "',", which here > means "evaluate the form after "," and quote the result", IOW, the "'" > is just left there (for the same reason you also get to see the even > more funny-looking "`'," and other variations sometimes). Really nothing > new if you've read the backquote section of the Elisp manual. thanks Nick and Stepan, "evaluate the form after "," and quote the result" that made me understand what its all about. I just read the backquote section Elisp manual, it does not cover these strange combiniations of barely distinguable characters, but I may haved missed it - its a thick book. Cheers Thorsten