From: Eli Zaretskii <eliz@gnu.org>
To: sthfrnth <sthfrnth@gmail.com>
Cc: help-emacs-windows@gnu.org, emacs-devel@gnu.org
Subject: Re: find-dired does not work on emacs24 + win + mingw
Date: Fri, 27 Jan 2012 09:12:55 +0200 [thread overview]
Message-ID: <83r4ylzki0.fsf@gnu.org> (raw)
In-Reply-To: <CAArLTGYUinV==qyWNV2cnjtV1OhR_Q86tncLWX645kp35tgj=g@mail.gmail.com>
> Date: Fri, 27 Jan 2012 13:26:10 +0800
> From: sthfrnth <sthfrnth@gmail.com>
>
> My env. is Window 7 64bit + MinGW.
> I find that find-dired of emacs24 does not work on this env. (I got emacs24
> from http://alpha.gnu.org/gnu/**emacs/windows/<http://alpha.gnu.org/gnu/emacs/windows/>
> )
And where did you get the port of GNU Find?
> The output of find-dired is like below:
>
> * c:/emacs/lisp/:*
> * find . "(" -name "*find-dired*" ")" -ls*
> * 227084 7 -rw-r--r-- 1 sthfrnth Administrators 12792 Jan 19:38 find-dired.el*
> * 956351 6 -rw-r--r-- 1 sthfrnth Administrators 11411 Jan 05:35 find-dired.el.ok*
> * 227085 5 -rw-r--r-- 1 sthfrnth Administrators 8669 Jan 19:38 find-dired.elc*
> * 3731074 4 -rw-r--r-- 1 sthfrnth Administrators 7530 Jan 13:35 find-dired.elc.ok*
> * *
> * find finished at Fri Jan 27 13:09:23*
This output is wrong: it doesn't show the date after the month, only
the hour. "Jan 13:35" etc. is not a valid date-time format.
With the port of GNU Findutils I have, I don't see that problem.
> When enter pressed on file line, it prompted "Unrecognized line! Check
> directory-listing-before-filename-regexp".
With my find.exe, this error doesn't happen. I'm quite sure you see
the error message because of the invalid date format.
> I replaced find-dired.el with emacs23's version, it works ok. The output is
> like below:
>
> * c:/emacs/lisp/:*
> * find . "(" -name "*find-dired*" ")" -exec ls -ld "{}" ";"*
> * -rw-r--r-- 1 sthfrnth Administrators 11411 Jan 11 05:35 find-dired.el*
As you see, Emacs 23 instructed find.exe to invoke ls, instead of
using the built-in -ls option. Your ls.exe produces valid date
format, so the command works.
> I think the output of "*find . "(" -name "*find-dired*" ")" -ls*" is not
> matching some parsing functions in find-dired.el.
> I tried to modify it but did not succeed.
>
> Can anyone fix this?
See above: you need to "fix" your Findutils. E.g., try this port:
http://sourceforge.net/projects/ezwinports/files/findutils-4.2.30-w32-bin.zip/download
next prev parent reply other threads:[~2012-01-27 7:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-27 5:26 find-dired does not work on emacs24 + win + mingw sthfrnth
2012-01-27 7:12 ` Eli Zaretskii [this message]
2012-01-27 13:04 ` sthfrnth
2012-01-27 15:24 ` Eli Zaretskii
2012-01-28 6:12 ` sthfrnth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r4ylzki0.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=help-emacs-windows@gnu.org \
--cc=sthfrnth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.