all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juri Linkov <juri@linkov.net>
Cc: 10477@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#10477: zap-to-char should allow picking from history
Date: Mon, 28 Oct 2019 11:48:30 +0100	[thread overview]
Message-ID: <87r22xb0xt.fsf@gnus.org> (raw)
In-Reply-To: <87o8y124xc.fsf@mail.linkov.net> (Juri Linkov's message of "Mon,  28 Oct 2019 00:34:55 +0200")

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	other threads:[~2019-10-28 10:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  3:27 bug#10477: zap-to-char should allow picking from history jidanni
2012-01-15  1:23 ` Drew Adams
2012-01-15  1:38 ` jidanni
2012-01-15  3:47   ` Drew Adams
2019-10-14  3:11 ` Lars Ingebrigtsen
2019-10-27 21:30   ` Juri Linkov
2019-10-27 22:14     ` Lars Ingebrigtsen
2019-10-27 22:34       ` Juri Linkov
2019-10-28 10:48         ` Lars Ingebrigtsen [this message]
2019-10-28 22:17           ` Juri Linkov
2019-10-29 11:32             ` Lars Ingebrigtsen
2019-10-29 23:01             ` Lars Ingebrigtsen
2019-10-30  0:00               ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r22xb0xt.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=10477@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.