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

[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 17:30:04 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

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

>> On Jan 2, 2020, at 1:26, Jean-Christophe Helary <address@hidden> wrote:
>> 
>>> On Jan 2, 2020, at 0:51, Stefan Monnier <address@hidden> wrote:
>>> 
>>>> I'm looking for a way to add a default value to interactive by just
>>>> using the "string" version:
>>> [...]
>>>> Is that possible ?
>>> 
>>> No: you have to use the "list" version (which is really the
>>> "expression" version).
>> 
>> Thank you Stefan !
>
> 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

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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