[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Operating the HIST feature of completing-read
From: |
Jean Louis |
Subject: |
Re: [External] : Re: Operating the HIST feature of completing-read |
Date: |
Wed, 13 Jul 2022 05:04:46 +0300 |
User-agent: |
Mutt/+ () (2022-06-11) |
* carlmarcos@tutanota.com <carlmarcos@tutanota.com> [2022-07-13 04:16]:
>
> Jul 12, 2022, 16:40 by drew.adams@oracle.com:
>
> >> Does the history remember the user input associated
> >> with each specific completing-read call?
> >>
> >
> > Only each specific history variable.
> >
> > If each `completing-read' (or `read-from-minibuffer'
> > or whatever) call used a different history variable
> > then the answer to your question would be yes.
> >
>
> Have done as suggested
>
> (defvar myhist nil
> "Stores previous minibuffer inputs so the user can reuse them.")
>
> (let* ( (cseq '("bracemk" "expression" "extended" "mixed" "hlsexp"
> "disable"))
> (csel (completing-read "Glowvis: " cseq nil t "mixed" myhist
> "extended"))
> nn
> When I go through the list in the minibuffer I am also getting the variable
> myhist
> showing up but its value stays nil.
It should be 'myhist instead of myhist in completing-read
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Operating the HIST feature of completing-read, carlmarcos, 2022/07/10
- Re: Operating the HIST feature of completing-read, Jean Louis, 2022/07/11
- Message not available
- Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/11
- Re: Operating the HIST feature of completing-read, Jean Louis, 2022/07/12
- RE: [External] : Re: Operating the HIST feature of completing-read, Drew Adams, 2022/07/12
- RE: [External] : Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/12
- RE: [External] : Re: Operating the HIST feature of completing-read, Drew Adams, 2022/07/12
- Message not available
- RE: [External] : Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/12
- Message not available
- RE: [External] : Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/12
- Re: [External] : Re: Operating the HIST feature of completing-read, Yuri Khan, 2022/07/13
- Re: [External] : Re: Operating the HIST feature of completing-read,
Jean Louis <=
- Message not available
- Re: [External] : Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/13
- RE: [External] : Re: Operating the HIST feature of completing-read, Drew Adams, 2022/07/13
- Message not available
- RE: [External] : Re: Operating the HIST feature of completing-read, carlmarcos, 2022/07/12
- RE: [External] : Re: Operating the HIST feature of completing-read, Drew Adams, 2022/07/13