[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry

From: Stefan Monnier
Subject: bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry points
Date: Thu, 12 Sep 2013 23:35:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> In an erc buffer, I tried to tab-complete a nick: The initial tab completion
> showed many possibilities - I typed an extra character, which should have
> limited it to a small enough number for tab-completion-cycling to kick in...
> but instead TAB just unconditionally completed to the first of the remaining
> candidates, and never offered me the chance to pick any of the others.

> It turns out that pcomplete assumes that the interactive entry point
> (activating command) can only ever be one of a handful of commands,
> and specifically checks for those when deciding whether to enter the
> code path that starts cycling through the remaining completions.

Hmm... but in Emacs-24.1, ERC does not use the `pcomplete' command to do
the completion but completion-at-point (which ends up calling
pcomplete-completions-at-point to get pcomplete to return the set of

So if cycling is to take place, it should presumably not be done by
pcomplete but by completion-at-point (e.g. obeying

IOW, I don't understand how your patch can fix your problem.
Can you provide a reproducible recipe starting from "emacs -Q"?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]