[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24888: pcomplete/cd returns "../" before "./" and does not include e
From: |
Clément Pit--Claudel |
Subject: |
bug#24888: pcomplete/cd returns "../" before "./" and does not include empty completion in results of pcomplete-at-point |
Date: |
Sun, 6 Nov 2016 20:04:53 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 2016-11-06 19:15, Dmitry Gutov wrote:
> Does it? It seems to go through comint-completion-at-point here,
> which tries comint-c-a-p-replace-by-expanded-history and
> comint-filename-completion, neither of which reference pcomplete.
Putting a breakpoint in that function and running completion doesn't trigger it
for me :)
I see this:
comint-dynamic-complete-functions is a variable defined in ‘comint.el’. Its
value is (comint-c-a-p-replace-by-expanded-history
shell-environment-variable-completion shell-command-completion
shell-c-a-p-replace-by-expanded-directory pcomplete-completions-at-point
shell-filename-completion comint-filename-completion)
pcomplete-completions-at-point comes first, and is missing the "" completion.
There may be a similar problem with comint-filename-completion, of course.
Clément.
signature.asc
Description: OpenPGP digital signature