help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] No file on this line in find-name-dired buffer


From: Test User
Subject: [h-e-w] No file on this line in find-name-dired buffer
Date: Sat, 10 Dec 2016 11:57:26 -0500

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




reply via email to

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