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

Re: Git Bash Completion Not Working In Emacs

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Apr 16, 2018, 16:25 UTC
Message-ID
<87tvsb5db1.fsf@linux-m68k.org>
In-Reply-To
<CALH-0NbMxkQewnrr6S_xtyVH0BrC2J6gpB5r-hx8=PpekP1VKw@mail.gmail.com>
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: Marko VasicNext: Marko Vasic
Message 2 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.