{"thread":{"id":"48300","subject":"Git Bash Completion Not Working In Emacs","startedAt":"2018-04-16T15:44:47Z","lastAt":"2018-04-23T19:51:16Z","messageCount":3,"participants":["Marko Vasic","Andreas Schwab"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"344798","messageId":"CALH-0NbMxkQewnrr6S_xtyVH0BrC2J6gpB5r-hx8=PpekP1VKw@mail.gmail.com","threadId":"48300","inReplyTo":null,"subject":"Git Bash Completion Not Working In Emacs","fromName":"Marko Vasic","fromEmail":"vasic@utexas.edu","sentAt":"2018-04-16T15:44:41Z","receivedAt":"2018-04-16T15:44:47Z","isPatch":false,"sender":{"key":"vasic@utexas.edu","avatar":null},"body":"Hello,\n\nGit bash completion script works perfectly under the terminal,\nhowever, it does not work in Emacs (neither shell nor gui mode). Did\nanyone encounter this issues and how can it be solved?\n\nSystem I use:\nOS: Ubuntu 17.10\nEmacs: 25.2.2\n\nThanks,\nMarko\n"},{"id":"344804","messageId":"87tvsb5db1.fsf@linux-m68k.org","threadId":"48300","inReplyTo":"CALH-0NbMxkQewnrr6S_xtyVH0BrC2J6gpB5r-hx8=PpekP1VKw@mail.gmail.com","subject":"Re: Git Bash Completion Not Working In Emacs","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2018-04-16T16:25:06Z","receivedAt":"2018-04-16T16:25:13Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"On Apr 16 2018, Marko Vasic <vasic@utexas.edu> wrote:\n\n> Git bash completion script works perfectly under the terminal,\n> however, it does not work in Emacs (neither shell nor gui mode). Did\n> anyone encounter this issues and how can it be solved?\n\nDepend on how you run the command in Emacs.  If you use M-x shell then\nEmacs handles special keys like TAB itself (and the started shell\nusually disables its own command line editing).  If you use M-x term\nthen Emacs emulates a terminal and lets the running process handle all\nspecial keys.\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1\n\"And now for something completely different.\"\n"},{"id":"345506","messageId":"CALH-0Nbh1-ckO1O7zayjXZ1gMRBKFv3RtSSkGS=4Tu23uqM-ZA@mail.gmail.com","threadId":"48300","inReplyTo":"87tvsb5db1.fsf@linux-m68k.org","subject":"Re: Git Bash Completion Not Working In Emacs","fromName":"Marko Vasic","fromEmail":"vasic@utexas.edu","sentAt":"2018-04-23T19:51:00Z","receivedAt":"2018-04-23T19:51:16Z","isPatch":false,"sender":{"key":"vasic@utexas.edu","avatar":null},"body":"Thank you Andreas,\n\nIs there a way to use git bash completion with \"M-x shell\"?\n\nMarko\n\nOn Mon, Apr 16, 2018 at 11:25 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:\n> On Apr 16 2018, Marko Vasic <vasic@utexas.edu> wrote:\n>\n>> Git bash completion script works perfectly under the terminal,\n>> however, it does not work in Emacs (neither shell nor gui mode). Did\n>> anyone encounter this issues and how can it be solved?\n>\n> Depend on how you run the command in Emacs.  If you use M-x shell then\n> Emacs handles special keys like TAB itself (and the started shell\n> usually disables its own command line editing).  If you use M-x term\n> then Emacs emulates a terminal and lets the running process handle all\n> special keys.\n>\n> Andreas.\n>\n> --\n> Andreas Schwab, schwab@linux-m68k.org\n> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1\n> \"And now for something completely different.\"\n"}]}