[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using pcomplete for read-shell-command
From: |
Stefan Monnier |
Subject: |
Re: Using pcomplete for read-shell-command |
Date: |
Wed, 25 Nov 2009 12:52:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> I tried, and it doesn't complete command names at the beginning of
> the command line. For instance, without your patch `M-! ca TAB'
> displayed a list of command names. But with your patch it displays
> a list of files in the current directory.
Good point. Shouldn't be hard to fix.
> BTW, I now noticed that switch-to-completions is not bound to
> M-v/<prior> in minibuffer-local-shell-command-map. Maybe
> minibuffer-local-shell-command-map should inherit from
> minibuffer-local-completion-map where M-v/<prior> are bound?
I'd say "yes" at first, but minibuffer-local-completion-map also binds
all kinds of other keys (such as ? or SPC) to commands which don't work
correctly in that minibuffer. We probably want to make such commands
work there (or provide alternatives that do), but that's for later.
Stefan