GNU bug report logs -
#69056
30.0.50; history-add-new-input and recursive minibuffers
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
1. emacs -Q
2. (setq enable-recursive-minibuffers t)
3. M-y
4. In the minibuffer (with the prompt "Yank from kill-ring: "),
type M-x calendar RET (or any other command).
5. M-x M-p
Expected: "calendar" is inserted in the minibuffer.
Observed: error saying "Beginning of history; no preceding item".
The problem is that the minibuffer history of M-x isn't recorded when
you invoke M-x from within the minibuffer of read-from-kill-ring (M-y).
The reason is that read-from-kill-ring let binds history-add-new-input,
and that affects all recursive minibuffers as well, so no minibuffer
history is recorded until you exit the first (non-recursive) minibuffer.
AFAICT This issue affects all uses history-add-new-input, unfortunately,
not only read-from-kill-ring, since it's always used via let-bindings.
This bug report was last modified 1 year and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.