emacs bash tab-completion doesn't work for commands with complete scripts in /usr/share/bash-completion/completions/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs24 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using emacs with the following two lines in my ~/.emacsrc:
(require 'bash-completion)
(bash-completio
In an emacs shell window, I noticed that the git tab-complete wasn't working; but the stg tab-complete was. In a normal terminal window, both worked just fine.
After doing some investigation, I discovered that there are two places where completion scripts are kept: /usr/share/
All commands with their completion scripts in /etc/bash_
Steps to reproduce:
* Add the above two lines to ~/.emacrc
* Start emacs
* Open a shell (M-x shell)
* Type "git check" and then hit tab.
Expected behavior: emacs completes it to "git checkout"
Actual behavior: emacs says "No completions".
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: emacs 45.0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 17 11:32:34 2014
InstallationDate: Installed on 2012-03-26 (904 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: emacs-defaults
UpgradeStatus: Upgraded to trusty on 2014-09-04 (12 days ago)
affects: | emacs-defaults (Ubuntu) → emacs23 (Ubuntu) |
affects: | emacs23 (Ubuntu) → emacs24 (Ubuntu) |
bash-completion is not a feature which ships with emacs24. Where did you obtain this package? You should probably report this bug to them instead.
If you can suggest something to fix in emacs24 as shipped by Ubuntu, please update your bug report and change its Status back to New. Thanks.