git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Bash Completion Not Working In Emacs

From
MVMarko Vasic <vasic@utexas.edu>
Date
Apr 23, 2018, 19:51 UTC
Message-ID
<CALH-0Nbh1-ckO1O7zayjXZ1gMRBKFv3RtSSkGS=4Tu23uqM-ZA@mail.gmail.com>
In-Reply-To
<87tvsb5db1.fsf@linux-m68k.org>
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 <schwab@linux-m68k.org> wrote:
Show 18 quoted lines
> On Apr 16 2018, Marko Vasic <vasic@utexas.edu> 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, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
Previous: Andreas Schwab
Message 3 of 3 in “Git Bash Completion Not Working In Emacs”
  1. Marko VasicApr 16, 2018
  2. Andreas SchwabApr 16, 2018
  3. Marko VasicApr 23, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.