|
From: | Emanuel Berg |
Subject: | Re: ask for the value of several variables at once |
Date: | Fri, 09 Mar 2018 11:09:11 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
tomas wrote: >> (defmacro echo-var (var) >> `(list ,(symbol-name var) ,var) ) >> ;; (echo-var fill-column) ; ("fill-column" 47) > > That's a good first step. The question now is > whether to delegate the looping over the list > to a function or not. I don't get it to work with the set functions and &rest. But I almost didn't write a single macro all my Elisp life! Some guys do it all the time and I suspect for them this task is all but trivial... -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |