From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>
Cc: Daniel Mendler <mail@daniel-mendler.de>, Ergus <spacibba@aol.com>,
Augusto Stoffel <arstoffel@gmail.com>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: Completions and history
Date: Tue, 12 Apr 2022 19:49:52 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488F90B3E31C42D0D28F18AF3ED9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <86k0burxd4.fsf@mail.linkov.net>
> Does Icicles support history completion in eshell and comint?
Yes, I believe so.
Command `icicle-comint-search':
Use `icicle-search' to pick up a previous input for reuse.
Use this in a `comint-mode' buffer, such as *shell* or
*inferior-lisp*.
This searches your interactive history in the buffer for a
match to your current input, which you can change dynamically.
When you choose a previous input, it is copied to the current
prompt, for reuse.
If the region is active, then only it is searched; otherwise,
the entire buffer is searched.
...
https://www.emacswiki.org/emacs/Icicles_-_Other_Search_Commands#IciclesShell
Command `icicle-comint-command':
Retrieve a previously used command.
Use this in a `comint-mode' buffer such as `*shell*' or
`*inferior-lisp*'.
Option `icicle-comint-dynamic-complete-replacements':
A list of function replacements, for
`icicle-comint-dynamic-complete' to replace the functions in
`comint-dynamic-complete-functions'. You can use this to
provide Icicles completion for various modes that inherit from
Comint mode. By default, it treats Comint mode and Shell mode.
And there's some support for completion at point in these
contexts. But in general, Icicles is about minibuffer
completion, not so much buffer-text completion.
https://www.emacswiki.org/emacs/Icicles_-_Defining_Completion_for_Comint_Modes
___
Anyway, my post was about _minibuffer_ history.
And about the history of text you've had in the
minibuffer at some point, but that you never entered
as input (chose with `RET', as opposed to acted on
in some other way or edited with).
The latter is important in the context of completion
and cycling, as I explained earlier. AFAIK, only
Icicles gives you access to such a history. (I'll
be pleased to learn that other libraries also offer
this now.)
next prev parent reply other threads:[~2022-04-12 19:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220411112901.kv3lsyvx6yxwjbph.ref@Ergus>
2022-04-11 11:29 ` Completions and history Ergus
2022-04-11 16:56 ` Juri Linkov
2022-04-11 17:40 ` Ergus
2022-04-12 16:20 ` Juri Linkov
2022-04-12 16:53 ` Ergus
2022-04-12 16:59 ` Ergus
2022-04-12 17:12 ` Juri Linkov
2022-04-12 17:35 ` Ergus
2022-04-12 18:10 ` Juri Linkov
2022-04-12 17:24 ` Augusto Stoffel
2022-04-12 17:50 ` [External] : " Drew Adams
2022-04-12 18:05 ` Juri Linkov
2022-04-12 19:49 ` Drew Adams [this message]
2022-04-13 7:50 ` Juri Linkov
2022-04-13 12:00 ` Augusto Stoffel
2022-04-13 12:12 ` Po Lu
2022-04-14 2:56 ` Richard Stallman
2022-04-13 16:40 ` Drew Adams
2022-04-13 17:58 ` Juri Linkov
2022-04-13 17:57 ` Juri Linkov
2022-04-13 15:49 ` Drew Adams
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=SJ0PR10MB5488F90B3E31C42D0D28F18AF3ED9@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=arstoffel@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=mail@daniel-mendler.de \
--cc=spacibba@aol.com \
/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.