[Top][All Lists]

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

Re: (interactive) arguments

From: Marcin Borkowski
Subject: Re: (interactive) arguments
Date: Thu, 02 Jan 2020 19:11:16 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2020-01-02, at 17:57, Jean-Christophe Helary <address@hidden> wrote:

>> 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?
> ā†’ 
>> 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 ?

Nope, and now that I know more about Elisp, I'm 99% sure it's
impossible, since `interactive' is not "evaluated" in any sense.  But
I'd like to hear from someone more competent.


Marcin Borkowski

reply via email to

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