From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: How the backquote and the comma really work? Date: Tue, 11 Aug 2015 19:20:12 +0200 Message-ID: <87wpx1d9o3.fsf@gmail.com> References: <87vbebg1fs.fsf@mbork.pl> <87r3ozy9pf.fsf@web.de> <87si9ffys0.fsf@mbork.pl> <87d20jbqbj.fsf@web.de> <87pp4jfx9y.fsf@mbork.pl> <87615sxn1a.fsf@mbork.pl> <87zj318j7z.fsf@web.de> <87mvz1b16h.fsf@mbork.pl> <87k2u5azfi.fsf@mbork.pl> <87bnf5npml.fsf@web.de> <87io8mgmhk.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439313665 17313 80.91.229.3 (11 Aug 2015 17:21:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2015 17:21:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 19:20:51 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZPDEF-00054f-Sq for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 19:20:48 +0200 Original-Received: from localhost ([::1]:35381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPDEF-0008WC-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 13:20:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPDDv-0008V9-P5 for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 13:20:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPDDp-00062B-VF for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 13:20:27 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPDDp-00061p-Np for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 13:20:21 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZPDDn-0004tA-Cx for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 19:20:19 +0200 Original-Received: from x55b3b3a5.dyn.telefonica.de ([85.179.179.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2015 19:20:19 +0200 Original-Received: from tjolitz by x55b3b3a5.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2015 19:20:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x55b3b3a5.dyn.telefonica.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:6gDy7+y4FGninzZvMvnT95f1Occ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106472 Archived-At: Marcin Borkowski writes: Hi, ,---- | How the backquote and the comma really work? `---- funny enough, this was discussed recently on the PicoLisp mailing list too, and I was surprised to find out that in Emacs Lisp 'Read Macros' like backquote/comma rather seem to work at run time, while the PicoLisp equivalents quote/backquote work at read time. > PicoLisp: > > ,---- > | $ pil + > | : (let X (+ 2 3) '(3 4 `X)) > | -> (3 4 NIL) > | : '(3 4 `(+ 2 3)) > | -> (3 4 5) > `---- > > vs Emacs Lisp: > > ,---- > | (let ((X (+ 2 3))) `(3 4 ,X)) > | -> (3 4 5) > | > | `(3 4 ,(+ 2 3)) > | -> (3 4 5) > `---- How does this work in Emacs Lisp? Is the backquote/comma actually a function call at runtime? [I did not follow the whole discussion, I hope I don't ask something already answered] -- cheers, Thorsten