[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Continue cycling from a particular element in collection
From: |
Heime |
Subject: |
Continue cycling from a particular element in collection |
Date: |
Tue, 22 Aug 2023 07:39:00 +0000 |
I am using 'completing-read' with INITIAL-INPUT to prefill the minibuffer with
the first entry "alpha". Hew can I then start at index k from collection as
the
next entry.
Thus, initially I have the minibuffer prefilled with "alpha", and after that I
get the
cycling continue from "gamma".
Thus the cycling would be "alpha" "gamma" "theta" "alpha" "beta" and so on.
(interactive
(let ( (csel '("alpha" "beta" "gamma" "theta"))
(list
(completing-read "Imprint: " csel nil t "alpha")) ))
- Continue cycling from a particular element in collection,
Heime <=
- RE: [External] : Continue cycling from a particular element in collection, Drew Adams, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Heime, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Drew Adams, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Heime, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Heime, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Drew Adams, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Heime, 2023/08/22
- RE: [External] : Continue cycling from a particular element in collection, Drew Adams, 2023/08/22
RE: [External] : Continue cycling from a particular element in collection, Drew Adams, 2023/08/22