[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38317: Buffer-local variables don't work as history for read-from-mi
From: |
Lars Ingebrigtsen |
Subject: |
bug#38317: Buffer-local variables don't work as history for read-from-minibuffer |
Date: |
Fri, 22 Nov 2019 14:33:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Federico Tedin <federicotedin@gmail.com> writes:
> In this case, the variable `local-hist' will end up containing all the
> inputted values (per buffer), but trying to use M-p or M-n to step
> through the input history after invoking `my-command' will not work ("no
> preceding item"). So to summarize, `read-from-minibuffer' doesn't seem
> to work correctly when HIST is buffer-local.
Looking at the code in read_minibuf, it does seem to access the
buffer-local value of the HIST variable, but my guess is that the buffer
it's looking at is the minibuffer? And the variable isn't buffer-local
there.
There doesn't seem to be any way to tell read_minibuf what buffer it
should be looking at to get at the buffer-local value?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Federico Tedin, 2019/11/21
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer,
Lars Ingebrigtsen <=
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Michael Heerdegen, 2019/11/22
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, martin rudalics, 2019/11/22
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Lars Ingebrigtsen, 2019/11/23
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Federico Tedin, 2019/11/23
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Federico Tedin, 2019/11/23
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Federico Tedin, 2019/11/26
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Robert Pluim, 2019/11/27
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Drew Adams, 2019/11/27
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Robert Pluim, 2019/11/27
- bug#38317: Buffer-local variables don't work as history for read-from-minibuffer, Lars Ingebrigtsen, 2019/11/27