From: Manuel Uberti <manuel.uberti@inventati.org>
To: emacs-devel@gnu.org
Subject: Re: History completion
Date: Thu, 9 Dec 2021 08:51:07 +0100 [thread overview]
Message-ID: <c7f86af3-28a8-bb78-4440-8d7ebd9e6fba@inventati.org> (raw)
In-Reply-To: <86mtlbvuq2.fsf@mail.linkov.net>
On 08/12/21 19:54, Juri Linkov wrote:
> #+begin_src emacs-lisp
> ;; Adapted from ‘minibuffer-complete’:
> (defun minibuffer-complete-history ()
> (interactive)
> (completion-in-region (minibuffer--completion-prompt-end) (point-max)
> (symbol-value minibuffer-history-variable)
> nil))
> (define-key minibuffer-local-map [C-tab] 'minibuffer-complete-history)
> #+end_src
FWIW, I am trying this and I find it very helpful. Thank you for sharing.
--
Manuel Uberti
www.manueluberti.eu
next prev parent reply other threads:[~2021-12-09 7:51 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 ` [External] : " Drew Adams
2021-12-09 7:51 ` Manuel Uberti [this message]
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=c7f86af3-28a8-bb78-4440-8d7ebd9e6fba@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=emacs-devel@gnu.org \
/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.