[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Going through a list using the minibuffer
From: |
Yuri Khan |
Subject: |
Re: Going through a list using the minibuffer |
Date: |
Sun, 13 Jun 2021 22:09:45 +0700 |
On Sun, 13 Jun 2021 at 20:55, <arvid-harnack@lavache.com> wrote:
> Suppose I define a list namely '("alpha" "beta" "gamma")
>
> I would like to get the minibuffer to show me the options one by
> one as the down and up arrow keys are pressed. Then in my
> function I get the equivalent position "k" of the string in the
> list.
You basically want ‘(completing-read "Choose a Greek letter: "
'("alpha" "beta" "gamma") nil t)’, except that it will give you the
selected option value rather than its index.
- Going through a list using the minibuffer, arvid-harnack, 2021/06/12
- Re: Going through a list using the minibuffer, Emanuel Berg, 2021/06/12
- Going through a list using the minibuffer, arvid-harnack, 2021/06/13
- Re: Going through a list using the minibuffer,
Yuri Khan <=
- Going through a list using the minibuffer, arvid-harnack, 2021/06/13
- Going through a list using the minibuffer, arvid-harnack, 2021/06/13
- Re: Going through a list using the minibuffer, Yuri Khan, 2021/06/13
- Re: Going through a list using the minibuffer, Emanuel Berg, 2021/06/13
- Re: Going through a list using the minibuffer, Jean Louis, 2021/06/13
- Re: Going through a list using the minibuffer, Emanuel Berg, 2021/06/13
- Re: Going through a list using the minibuffer, Jean Louis, 2021/06/13