[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request : Tab-completion for 'shell-comand'
From: |
Stefan Monnier |
Subject: |
Re: Feature request : Tab-completion for 'shell-comand' |
Date: |
Tue, 04 Mar 2008 20:55:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> This is a useful feature to add to Emacs, and it is a pity it uses defadvices.
> Perhaps defadvices could be replaced by a new shell-command specific
> minibuffer keymap that just redefines TAB to perform completion on commands
> and file names. What I mean basically is:
> (define-key shell-command-minibuffer-local-map "\t"
> (lambda ()
> (interactive)
> (require 'shell)
> (let ((comint-dynamic-complete-functions
> shell-dynamic-complete-functions))
> (comint-dynamic-complete))))
> and use this map for reading commands in shell-command,
> shell-command-on-region, grep, grep-find and compile.
Yes, that's indeed a desirable change. Better yet would be if someone
could fix/improve the pcomplete code so that it can be used for that
as well.
Stefan
- Feature request : Tab-completion for 'shell-comand', paul r, 2008/03/04
- Re: Feature request : Tab-completion for 'shell-comand', Michael Albinus, 2008/03/04
- Re: Feature request : Tab-completion for 'shell-comand', Juri Linkov, 2008/03/04
- Re: Feature request : Tab-completion for 'shell-comand',
Stefan Monnier <=
- Re: Feature request : Tab-completion for 'shell-comand', TSUCHIYA Masatoshi, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Juri Linkov, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/06
- RE: Feature request : Tab-completion for 'shell-comand', Drew Adams, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Miles Bader, 2008/03/06
- RE: Feature request : Tab-completion for 'shell-comand', Drew Adams, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Stefan Monnier, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Miles Bader, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Juri Linkov, 2008/03/06
- Re: Feature request : Tab-completion for 'shell-comand', Juri Linkov, 2008/03/06