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

From: Chong Yidong <[email-masked]>
Date: Sun, 01 Jan 2012 23:08:56 +0800

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.

In GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0)
 of 2011-12-30 on furball
Windowing system distributor `The X.Org Foundation', version 11.0.11004000
configured using `configure  '--with-x-toolkit=gtk3' 'CFLAGS=-g''