all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: History completion
Date: Thu, 9 Dec 2021 18:13:53 +0000	[thread overview]
Message-ID: <CO6PR10MB547334AF8ACE503F37A34DA0F3709@CO6PR10MB5473.namprd10.prod.outlook.com> (raw)
In-Reply-To: <86mtl9rb04.fsf@mail.linkov.net>

> >> Wouldn't it be nice to allow completion on previous input
> >> in the minibuffer.
> >
> > Yet another feature that Icicles introduced and has had since 2005...
> >
> > https://www.emacswiki.org/emacs/Icicles_-_History_Enhancements
> 
> What key does Icicles use to complete on the history?

The URL you quoted explains that there are 3 ways
complete against input history, and thus 3 keys.

`M-o', available any time the minibuffer is active
(so not just during input with completion), provides
a form of completion on demand.  It uses a recursive
minibuffer.  You can use it to insert any number of
previous inputs, using completion.  (And you can of
course combine completion with cycling among input
candidates.)  Insertion appends to your minibuffer
input, and you can edit the inserted text, of course.

A prefix arg with `M-o' determines whether to follow
an inserted previous with a space char, and whether
to enclose it with "...".

`M-h' and `M-<pause>' are used during completion.
They each provide completion against previous inputs
for the given (i.e., current) minibuffer history.
Neither uses a recursive minibuffer.  They just
co-opt the current completion to go against candidates
in the current history list.

`M-<pause>' restricts completion to previous inputs 
in the current set of matching candidates.  So you
can narrow the set in various ways before using it.

There are other differences between `M-h' and
`M-<pause>'.  Read the doc you cited for more info.






  reply	other threads:[~2021-12-09 18:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-08 18:54 History completion Juri Linkov
2021-12-08 20:02 ` André A. Gomes
2021-12-09  6:05   ` Manuel Uberti
2021-12-09 17:12   ` Juri Linkov
2021-12-09 22:52     ` André A. Gomes
2021-12-08 20:52 ` [External] : " Drew Adams
2021-12-09  8:30   ` Daniel Fleischer
2021-12-09 17:16   ` Juri Linkov
2021-12-09 18:13     ` Drew Adams [this message]
2021-12-09  7:51 ` Manuel Uberti
2021-12-09 17:18   ` Juri Linkov
2021-12-09 17:40     ` Manuel Uberti
2022-06-09  7:01 ` 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=CO6PR10MB547334AF8ACE503F37A34DA0F3709@CO6PR10MB5473.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.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.