From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: ask for the value of several variables at once Date: Fri, 9 Mar 2018 11:14:49 +0100 Message-ID: <20180309101449.GB30453@tuxteam.de> References: <87sh9a36pw.fsf@mat.ucm.es> <20180308160838.GA32404@tuxteam.de> <87fu5aqwml.fsf@mat.ucm.es> <86d10dr833.fsf@zoho.com> <86muzhps3c.fsf@zoho.com> <86ina5ppxz.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed X-Trace: blaine.gmane.org 1520590400 8203 195.159.176.226 (9 Mar 2018 10:13:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2018 10:13:20 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 11:13:16 2018 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 1euF1V-0001zA-4G for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2018 11:13:13 +0100 Original-Received: from localhost ([::1]:44278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euF3X-0006GL-WA for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2018 05:15:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euF3A-0006GC-3H for help-gnu-emacs@gnu.org; Fri, 09 Mar 2018 05:14:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euF36-0004Jl-2u for help-gnu-emacs@gnu.org; Fri, 09 Mar 2018 05:14:56 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:48094) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euF35-0004JH-K8 for help-gnu-emacs@gnu.org; Fri, 09 Mar 2018 05:14:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=IPiG1ez5NkQwqR/iMrrx9Czcj6o3fL4+pWY4zTXJ9Sw=; b=oBmYF2TG8aVXaVm6R3rerGHXMcKElxvdxoH3flwN1C/hm0M8iFsnpq8ykuICBEQL8vjamdrz4SOY5sNIib1FYivsHvoKWfXtVRBPb5ucrHKZPjSY11MMzAAlmp+dQ3DrbLQ28VCj5Fr9jkPYhQ7JE1KGkDCEFDgIqbO8UPBl56UnxwJw934cNln2D0a6uS2k/ss6qzfIBIFkMI+EKq7ppMYiyOiHG7UXVt+/mBqVMmi+D2HyLIRkBi/AfM0ZIRaW3WdJSeKVhJcVJrFOOQCV/Etb6Kp534cu08jvwH/6c+kHXkLyPkLDRJDVfEZWbqTOY2fYjqls+R4I9r/9fFiGoQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1euF33-0008OA-UN; Fri, 09 Mar 2018 11:14:49 +0100 In-Reply-To: <86ina5ppxz.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:116145 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Mar 09, 2018 at 10:18:32AM +0100, Emanuel Berg wrote: > > This is how far I got - next step to make it > > work with a list of vars... > > > > (defmacro echo-var (var) > > `(list ,(symbol-name var) ,var) ) > > ;; (echo-var fill-column) ; ("fill-column" 47) > > BTW in general, what is the easiest way to just > prevent a function or arbitrary "in-out data > processing unit" to *not* evaluate the > arguments and then if/when need be do that > manually in the body? In "classical" Lisps the functions always evaluate their args. The "other" way is what macros are for (or special forms). Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlqiXpkACgkQBcgs9XrR2kaQLgCeIn0g5I7wESpO7+qudHFV+TOM U0QAn3l15Sg77up7s4vPg6vBDkxkrv0g =nQ/S -----END PGP SIGNATURE-----