GNU bug report logs -
#26661
compile, shell etc. should use bash-completion !
Previous Next
Full log
Message #8 received at 26661 <at> debbugs.gnu.org (full text, mbox):
tags 26661 + notabug wontfix
close 26661
thanks
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> M-x compile prompt,
> Compile command: cat --<TAB>
>
> M-x shell,
> $ cat --<TAB>
>
> etc. etc.
> should all use bash-completion !
>
> If the user has it turned on in his shell, emacs should recognize it.
> https://www.google.com/search?q=bash-completion+emacs
Note that `shell' already supports pcomplete, which extends to
`compile' (and `shell-command', etc.) AFAICT. Try typing:
M-x compile RET make SPC TAB
and enjoy...
I'm also not exactly sure how integrating bash completion with Emacs
would work. Bash completion consists of a number of highly
bash-specific scripts. It would take significant effort to write an
Emacs parser for them.
It seems like a better idea for people to spend time on making pcomplete
extensions for more commands. But that would be outside the scope of
this feature request, I think.
I'm therefore closing this bug report.
This bug report was last modified 4 years and 230 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.