[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help create function alias
From: |
Stefan Monnier |
Subject: |
Re: help create function alias |
Date: |
Wed, 08 Dec 2010 15:29:36 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
>> (define-key minibuffer-local-completion-map
>> [(meta tab)] 'minibuffer-force-complete)
[...]
> would it be nice to have a general mechanism to execute commands with
> just their inits?
It should be fairly easy to come up with an ad-hoc completion command
for intitials-only based on the `initials' completion-style, coupled
with minibuffer-force-complete. I.e. something along the lines of
(defun 100%-untested-initials-completion-command ()
"No docstring."
(interactive)
(let ((completion-styles '(initials)))
(minibuffer-force-complete)))
which you then would want to bind somewhere in the keymap used by M-x
Stefan
- Re: help create function alias, (continued)
- Re: help create function alias, Adam, 2010/12/09
- Re: help create function alias, Adam, 2010/12/09
- Re: help create function alias, Pascal J. Bourguignon, 2010/12/08
- Re: help create function alias, Adam, 2010/12/09
- Re: help create function alias, Andreas Politz, 2010/12/08
- Re: help create function alias, Adam, 2010/12/09
- Re: help create function alias, Barry Margolin, 2010/12/08
- Re: help create function alias, Pascal J. Bourguignon, 2010/12/08
Re: help create function alias, Stefan Monnier, 2010/12/08