No file on this line in find-name-dired buffer

Test User <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <CAH7jLrte8YhVEminWu_mvJhNm984ZVe18mUwBR-Z3EDeidCZPQ@mail.gmail.com>
When I run find-name-dired I cannot access the files in the directory
listing. The message is 'No file on this line'. If I just find the
directory name, I can open the files, but I want to find-name-dired to
restrict the number of filenames. The FAQ at
https://www.gnu.org/software/emacs/manual/html_node/efaq/Dired-claims-that-no-file-is-on-this-line.html
says that my choices are to:

1) make `ls -l' return the expected output or
2) change the regular expression used by dired,
directory-listing-before-filename-regexp

without saying how to accomplish either one.

I use MSYS from the MinGW project which give me bash, ls, etc. The MSYS bin
directory is in my PATH early so that the MSYS find is located before the
Windows FIND. I set a system (i.e., not per-user) environment variable
TIME_STYLE=iso. This works for `ls -l' and changes the output from

-rw-r--r-- 1 Test  Administrators 936 Dec 10 08:57 test.file
to
-rw-r--r-- 1 Test  Administrators 936 12-10 08:57 test.file

However, find-name-dired tells me that it executes
`find . "(" -iname "*.sh" ")" -ls'
and this command apparently is not affected by TIME_STYLE.

I am not brave enough to tackle directory-listing-before-filename-regexp by
myself, but I am sure that I could manage if someone tells me what to do.

$ find --version
find (GNU findutils) 4.4.2

$ ls --version
ls (GNU coreutils) 5.97

$ emacs --version
GNU Emacs 25.1.1
Specifically - GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-11-15
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.