From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: nested backquotes Date: Fri, 20 May 2005 11:24:53 -0400 Organization: Bell Sympatico Message-ID: <87u0kx53fn.fsf-monnier+gnu.emacs.help@gnu.org> References: <1116431406.143574.87990@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116604088 30012 80.91.229.2 (20 May 2005 15:48:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 15:48:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 20 17:48:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZ9hX-00051O-Ap for geh-help-gnu-emacs@m.gmane.org; Fri, 20 May 2005 17:46:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZ9kP-0001EO-92 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 May 2005 11:49:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.isc.org!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:rxWPB6GeD+NIsWdN1BMXR50Vu/c= Original-Lines: 16 Original-NNTP-Posting-Host: 70.49.81.51 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1116602693 70.49.81.51 (Fri, 20 May 2005 11:24:53 EDT) Original-NNTP-Posting-Date: Fri, 20 May 2005 11:24:53 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131403 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26862 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26862 > The goal would be to implement this: > https://mail.gna.org/public/xtla-el-dev/2004-11/msg00078.html > Or the variant > https://mail.gna.org/public/xtla-el-dev/2004-12/msg00001.html > in Xtla, without droping support for GNU Emacs 22. Maybe I'm way off-base, but lexical-let sounds like a better alternative. When capturing things like the current buffer, you can just replace `(lambda (...) ... ,(current-buffer) ...) with (lexical-let ((buf (current-buffer))) (lambda (...) ... buf ...)) -- Stefan