From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.help Subject: Re: let-bind a varlist only known at run time Date: Mon, 5 Jun 2017 10:07:22 -0500 Message-ID: <29610.87626.489070.22837@gargle.gargle.HOWL> References: <28921.59572.342625.22836@gargle.gargle.HOWL> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1496675292 15595 195.159.176.226 (5 Jun 2017 15:08:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2017 15:08:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Philipp Stephani Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 05 17:08:09 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHtby-0003oj-Rl for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jun 2017 17:08:06 +0200 Original-Received: from localhost ([::1]:33823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHtc4-0002kE-4m for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jun 2017 11:08:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHtbQ-0002jE-2p for help-gnu-emacs@gnu.org; Mon, 05 Jun 2017 11:07:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHtbK-0001Tt-R1 for help-gnu-emacs@gnu.org; Mon, 05 Jun 2017 11:07:32 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHtbK-0001To-Ng; Mon, 05 Jun 2017 11:07:26 -0400 Original-Received: from lukas.physics.niu.edu ([131.156.224.124]:42324 helo=lukas) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1dHtbJ-0008Ma-Ga; Mon, 05 Jun 2017 11:07:25 -0400 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113359 Archived-At: On Mon Jun 5 2017 Philipp Stephani wrote: > Have you checked `let-alist'? Maybe it already does what you want. Thanks, yes, I had looked at it. It is my understanding that let-alist is intended for sets of bindings that are known at compile time so that one can use the syntax with dotted symbols. What I envision is different: the bindings refer to various options for the code executed inside BODY, where this code may even include calls to customizable functions (i.e., these functions may use options defined by the user that are not known at the compile time for BODY). So it seems that `cl-progv' mentioned by Michael is essentially what I am looking for.