Subject: Re: bug#34330: 27.0.50; shell auto-complete cannot handle special characters

From: Alex Branham <[email-masked]>
Date: Thu, 15 Aug 2019 11:06:59 -0500

tags 34330 + patch
quit

On Tue 05 Feb 2019 at 13:48, Tadeus Prastowo <[email-masked]> wrote:

> M-x shell<enter>
> mkdir -p /tmp/A\ \&\ B/ABC<enter>
> cd /tmp/A<tab>
> cd /tmp/A\ \&\ B/ # auto-complete successful
> cd /tmp/A\ \&\ B/A<tab> # cannot auto-complete to ABC

This happens because `pcomplete-completions-at-point' comes before the
shell and comint filename completion in
`shell-dynamic-complete-functions'. I propose moving it to the end. This
has already been the source of a previous bug report (bug#10417). Patch attached.

Thanks,
Alex