help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (interactive) arguments


From: Jean-Christophe Helary
Subject: Re: (interactive) arguments
Date: Fri, 3 Jan 2020 01:57:56 +0900


> On Jan 3, 2020, at 1:30, Marcin Borkowski <address@hidden> wrote:
> 
>> Now, when I use the "expression" version, it looks like the arguments are 
>> not assigned to variables as they are input, so for ex, I can't use a 
>> default value for the input based on the first input...
>> 
>> Is there a way around that ?
> 
> Does this help?
> 
> http://mbork.pl/2015-09-12_A_trick_with_argument_for_interactive_call

ā†’ 
> The point is that the form right after interactive should return a list of 
> two elements, and that is everything interactive cares for ā€“ what the (local) 
> variables inside let* are called is none if its business.


That's really clever ! :)

> Now Iā€™m quite sure that you could cook up a macro interactive*, which would 
> wrap all this in a nice syntax. That, though, I will try some other day.

Have you tried ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

[Prev in Thread] Current Thread [Next in Thread]