[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Placement of list within an interactive clause
From: |
carlmarcos |
Subject: |
Re: Placement of list within an interactive clause |
Date: |
Sun, 17 Jul 2022 05:02:48 +0200 (CEST) |
Jul 17, 2022, 02:38 by monnier@iro.umontreal.ca:
>> On the other hand if I want to have multiple function arguments, I should
>> have
>>
>> (defun myfun (type other-arg)
>> (interactive
>> (let ( (rqmatch t) (initpk "mixed") (dflt "extended")
>> (cseq '("expression" "mixed")) )
>> (message "This is a message")
>>
>> (list
>> (completing-read "Flare_type: " cseq nil
>> rqmatch initpk nil dflt)
>> (completing-read "Other_arg: " cseq nil
>> rqmatch initpk nil dflt)))))
>>
>
> For example, yes.
>
> There are many other ways to write such code and the shape if the code
> has no importance to `interactive`. All that matters for `interactive`
> is the *value* that is returned when the code is done running.
>
Thank you so very much for the examples. I am now fully conversant
on the details of working with interactive.
- Placement of list within an interactive clause, carlmarcos, 2022/07/14
- Re: Placement of list within an interactive clause, Stefan Monnier, 2022/07/14
- Re: Placement of list within an interactive clause, carlmarcos, 2022/07/14
- Re: Placement of list within an interactive clause, Philip Kaludercic, 2022/07/14
- Re: Placement of list within an interactive clause, Stefan Monnier, 2022/07/14
- Re: Placement of list within an interactive clause, carlmarcos, 2022/07/14
- Re: Placement of list within an interactive clause, Stefan Monnier, 2022/07/14
- Re: Placement of list within an interactive clause, carlmarcos, 2022/07/14
- Message not available
- Re: Placement of list within an interactive clause, carlmarcos, 2022/07/16
- Re: Placement of list within an interactive clause, Stefan Monnier, 2022/07/16
- Message not available
- Re: Placement of list within an interactive clause,
carlmarcos <=
- Re: Placement of list within an interactive clause, Stefan Monnier, 2022/07/17
- RE: [External] : Re: Placement of list within an interactive clause, Drew Adams, 2022/07/14
- Re: Placement of list within an interactive clause, carlmarcos, 2022/07/14
- RE: [External] : Re: Placement of list within an interactive clause, Drew Adams, 2022/07/14
- Message not available
- RE: [External] : Re: Placement of list within an interactive clause, carlmarcos, 2022/07/15
Re: Placement of list within an interactive clause, Jean Louis, 2022/07/15