[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Status of shell-pcomplete integration?
From: |
Romain FRANCOISE |
Subject: |
Re: Status of shell-pcomplete integration? |
Date: |
Tue, 03 Dec 2002 17:23:07 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Kai Großjohann writes:
> What's the problem with the following?
> (require 'shell)
> (define-key shell-mode-map (kbd "TAB") 'pcomplete)
> (add-hook 'shell-mode-hook 'pcomplete-shell-setup)
> It seems to work. It does not defer loading of pcomplete until
> completion is actually used, but oh, well.
Provided you set pcomplete-cycle-completions to nil, it indeed seems to
work fine, with a few quirks:
- it doesn't complete filenames or directories containing spaces, even
if you escape them with backslashes. (With the completion cycling
turned on, it works)
- it doesn't complete environment variables, e.g.
$ cd $HOME/foo<TAB>
will not complete to
$ cd $HOME/foobar
but I think this is supposed to work with pcomplete, maybe John will
know how to fix it.
Romain.
--
Romain FRANCOISE <address@hidden> | They're nothing but scared
it's a miracle -- http://orebokech.com/ | little mice.
- Re: Status of shell-pcomplete integration?, (continued)
- Re: Status of shell-pcomplete integration?, Kai Großjohann, 2002/12/02
- Re: Status of shell-pcomplete integration?, Kai Großjohann, 2002/12/03
- Re: Status of shell-pcomplete integration?, Romain FRANCOISE, 2002/12/03
- Re: Status of shell-pcomplete integration?, Kai Großjohann, 2002/12/03
- Re: Status of shell-pcomplete integration?, John Wiegley, 2002/12/03
- Re: Status of shell-pcomplete integration?, Stefan Monnier, 2002/12/03
- Re: Status of shell-pcomplete integration?, John Wiegley, 2002/12/03
- Re: Status of shell-pcomplete integration?, Miles Bader, 2002/12/03
- Re: Status of shell-pcomplete integration?, Kai Großjohann, 2002/12/03
- Re: Status of shell-pcomplete integration?, Romain FRANCOISE, 2002/12/03
- Re: Status of shell-pcomplete integration?,
Romain FRANCOISE <=
- Re: Status of shell-pcomplete integration?, John Wiegley, 2002/12/03
- Re: Status of shell-pcomplete integration?, Kai Großjohann, 2002/12/05
Re: Status of shell-pcomplete integration?, Mario Lang, 2002/12/02
Re: Status of shell-pcomplete integration?, Richard Stallman, 2002/12/03