git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git Bash Completion Not Working In Emacs
@ 2018-04-16 15:44 Marko Vasic
  2018-04-16 16:25 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Marko Vasic @ 2018-04-16 15:44 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Bash Completion Not Working In Emacs
  2018-04-16 15:44 Git Bash Completion Not Working In Emacs Marko Vasic
@ 2018-04-16 16:25 ` Andreas Schwab
  2018-04-23 19:51   ` Marko Vasic
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2018-04-16 16:25 UTC (permalink / raw)
  To: Marko Vasic; +Cc: git

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."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Bash Completion Not Working In Emacs
  2018-04-16 16:25 ` Andreas Schwab
@ 2018-04-23 19:51   ` Marko Vasic
  0 siblings, 0 replies; 3+ messages in thread
From: Marko Vasic @ 2018-04-23 19:51 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: git

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:
> 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."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-23 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 15:44 Git Bash Completion Not Working In Emacs Marko Vasic
2018-04-16 16:25 ` Andreas Schwab
2018-04-23 19:51   ` Marko Vasic

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).