From: Dmitry Gutov <dgutov@yandex.ru>
To: "Clément Pit--Claudel" <clement.pitclaudel@live.com>,
24888@debbugs.gnu.org
Subject: bug#24888: pcomplete/cd returns "../" before "./" and does not include empty completion in results of pcomplete-at-point
Date: Mon, 7 Nov 2016 02:15:00 +0200 [thread overview]
Message-ID: <74e70af1-2db5-0dbc-c3e4-6b575cd9bc93@yandex.ru> (raw)
In-Reply-To: <c39f133e-e157-e36b-e93e-53e8b0ee5f81@live.com>
On 06.11.2016 01:53, Clément Pit--Claudel wrote:
> This invokes (assuming a low enough completion delay) pcomplete-at-point (the call goes through company-capf, which relies on completion-at-point-functions, which contains comint-dynamic-completion, which includes pcomplete-at-point).
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.
comint-filename-completion seems to be the function to investigate.
> * "../" comes first, which causes the default completion to be "/home/clement/../".
> * pcomplete's list doesn't include "/home/clement/" itself.
>
> Fixing the second problem would fix the first one;
Sounds good to me.
next prev parent reply other threads:[~2016-11-07 0:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-05 23:53 bug#24888: pcomplete/cd returns "../" before "./" and does not include empty completion in results of pcomplete-at-point Clément Pit--Claudel
2016-11-07 0:15 ` Dmitry Gutov [this message]
2016-11-07 1:04 ` Clément Pit--Claudel
2016-11-07 13:48 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74e70af1-2db5-0dbc-c3e4-6b575cd9bc93@yandex.ru \
--to=dgutov@yandex.ru \
--cc=24888@debbugs.gnu.org \
--cc=clement.pitclaudel@live.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.