Subject: Re: bug#10417: 24.0.92; Shell completion regression for shell-completion-execonly

From: Chong Yidong <[email-masked]>
Date: Tue, 03 Jan 2012 14:31:52 +0800

Chong Yidong <[email-masked]> writes:

> Suppose I have a non-executable file named screen.el in the current
> directory.  With latest trunk:
>
> emacs -q
> M-: (setq shell-completion-execonly nil) RET
> M-x shell RET
> ./scr
> TAB
>
> Emacs says "No match" in the minibuffer.  With Emacs 23, the TAB
> completes "./scr" to "./screen.el", which is the expected result for
> shell-completion-execonly nil.

I fixed this by putting pcomplete-completions-at-point last in
shell-dynamic-complete-functions (revno 106763).