git@vger.kernel.org mailing list mirror (one of many)
 help / 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, back to index

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

git@vger.kernel.org mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.org/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox