Re: Git Bash Completion Not Working In Emacs

2018-04-23 Thread Marko Vasic
Thank you Andreas,

Is there a way to use git bash completion with "M-x shell"?

Marko

On Mon, Apr 16, 2018 at 11:25 AM, Andreas Schwab  wrote:
> On Apr 16 2018, Marko Vasic  wrote:
>
>> Git bash completion script works perfectly under the terminal,
>> however, it does not work in Emacs (neither shell nor gui mode). Did
>> anyone encounter this issues and how can it be solved?
>
> Depend on how you run the command in Emacs.  If you use M-x shell then
> Emacs handles special keys like TAB itself (and the started shell
> usually disables its own command line editing).  If you use M-x term
> then Emacs emulates a terminal and lets the running process handle all
> special keys.
>
> Andreas.
>
> --
> Andreas Schwab, sch...@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."


Re: Git Bash Completion Not Working In Emacs

2018-04-16 Thread Andreas Schwab
On Apr 16 2018, Marko Vasic  wrote:

> Git bash completion script works perfectly under the terminal,
> however, it does not work in Emacs (neither shell nor gui mode). Did
> anyone encounter this issues and how can it be solved?

Depend on how you run the command in Emacs.  If you use M-x shell then
Emacs handles special keys like TAB itself (and the started shell
usually disables its own command line editing).  If you use M-x term
then Emacs emulates a terminal and lets the running process handle all
special keys.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


Git Bash Completion Not Working In Emacs

2018-04-16 Thread Marko Vasic
Hello,

Git bash completion script works perfectly under the terminal,
however, it does not work in Emacs (neither shell nor gui mode). Did
anyone encounter this issues and how can it be solved?

System I use:
OS: Ubuntu 17.10
Emacs: 25.2.2

Thanks,
Marko