[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal for shell completion in M-x shell RET
From: |
Stefan Monnier |
Subject: |
Re: Proposal for shell completion in M-x shell RET |
Date: |
Mon, 10 Sep 2007 10:29:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> The way this would work would be when TAB is pressed to send the
>> partial line up to the cursor as input to the shell, followed by TAB,
> It would most likely have to be another key, because shell.el cannot know if
> the command is sent to bash or to some other application, so it could only
> be the user's choice to either get local completion or to send "prefix string
> plus TAB" to the application.
BTW, maybe we can do it the way `gdb' does it: instead of sending TAB, we
send a "list_all_completions" command, presuming that bash offers such
a function.
Stefan