bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10477: zap-to-char should allow picking from history


From: Lars Ingebrigtsen
Subject: bug#10477: zap-to-char should allow picking from history
Date: Mon, 28 Oct 2019 11:48:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> I tried the up arrow because this is what OP asked to implement:
>
>   "zap-to-char should allow typing e.g., the up arrow to pick a recently used
>    character, and then RET."

I wasn't aware that <up> traversed the history -- I've always used
`M-p'.  But, yes, <up> should work in zap-to-char, too, then.

> Using read-from-minibuffer would allow this for free.

How would you implement read-char-with-history using
read-from-minibuffer?  Rebind self-insert-command?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]