unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to use find-dired with MinGW?
@ 2012-11-28  9:07 Matthias Meulien
  2012-11-28 10:41 ` Matthias Meulien
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Meulien @ 2012-11-28  9:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

After setting the following defaults (GNU Emacs 24.2.1 running on 
Windows XP Professional with a working MinGW installation):

(setq find-program "C:\\GNU\\MinGW\\msys\\1.0\\bin\\find.exe"
       grep-program "C:\\GNU\\MinGW\\msys\\1.0\\bin\\grep.exe")

I can `(find-dired "." "-name '*.gcda'")' but in the resulting buffer 
Dired fails to identify files due to a unexpected column (the first 
one); Here are the first 4 lines of that buffer:

   c:/Users/mmeulien.CELAD-F037/Documents/share/devel/:
   C:\GNU\MinGW\msys\1.0\bin\find.exe . "(" -name '*.gcda' ")" -ls
   11895183    3 -rw-r--r--   1 mmeulien Administrateurs     5320 Nov
08:23 
atts-service-build-desktop-Qt_4_7_3__mingw__Debug/plugins/geoplugin/debug/dgeodatainterface.gcda
(...)

Do you know to get rid of that column?
-- 
Matthias


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use find-dired with MinGW?
  2012-11-28  9:07 How to use find-dired with MinGW? Matthias Meulien
@ 2012-11-28 10:41 ` Matthias Meulien
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Meulien @ 2012-11-28 10:41 UTC (permalink / raw)
  To: help-gnu-emacs

> Do you know to get rid of that column?

The following solves my problem:

(setq find-ls-option '("-exec ls -ldh {} +" . "-ldh"))

It looks like there is a bug with inode parsing. I'll try to debug that 
later.
-- 
Matthias Meulien


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-28 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  9:07 How to use find-dired with MinGW? Matthias Meulien
2012-11-28 10:41 ` Matthias Meulien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).