* emacs 24 find-dired problems on Windows
@ 2012-04-29 22:23 Xah Lee
2012-04-30 4:30 ` Eli Zaretskii
[not found] ` <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 6+ messages in thread
From: Xah Lee @ 2012-04-29 22:23 UTC (permalink / raw)
To: help-gnu-emacs
there seems to be a problem of emacs 24's find-dired.
when using GNU Emacs 24.1.50.1, calling find-dired, i got one of this:
2533274790481547 2 -rwx------ 1 h3 None 2994 Apr
28 20:52 xx\ saga\ of\ bsof\ 2011-07-22.html
note the backslash there.
when i move the cursor to that line and press Enter, i get:
dired-get-file-for-visit: File no longer exists; type `g' to update
dired buffer
update doesn't help. Somehow, filenames with spaces causes the
problem.
The problem also happens when calling dired-do-query-replace-regexp
【Q】, it'll stop dead reporting file doesn't exist.
What could possibly be the problem?
GNU Emacs 24.1.50.1 (i386-mingw-nt6.1.7601) of 2012-04-23 on MARVIN
(if starting emacs with -Q, then another problem occur. It calls
Microsoft cmd.exe's find. (thanks to Yuri Khan .)
Xah
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs 24 find-dired problems on Windows
2012-04-29 22:23 emacs 24 find-dired problems on Windows Xah Lee
@ 2012-04-30 4:30 ` Eli Zaretskii
[not found] ` <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2012-04-30 4:30 UTC (permalink / raw)
To: help-gnu-emacs
> From: Xah Lee <xahlee@gmail.com>
> Date: Sun, 29 Apr 2012 15:23:43 -0700 (PDT)
>
> there seems to be a problem of emacs 24's find-dired.
>
> when using GNU Emacs 24.1.50.1, calling find-dired, i got one of this:
>
> 2533274790481547 2 -rwx------ 1 h3 None 2994 Apr
> 28 20:52 xx\ saga\ of\ bsof\ 2011-07-22.html
>
> note the backslash there.
>
> when i move the cursor to that line and press Enter, i get:
>
> dired-get-file-for-visit: File no longer exists; type `g' to update
> dired buffer
My crystal ball says that you are using a Cygwin build of Find, which
produces file names with spaces escaped in a style suitable for a
Unixy shell, which the native Windows Emacs cannot grok (because
backslashes are directory separators in native Windows file names).
Solution: use a native Windows port of Find.
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>]
* Re: emacs 24 find-dired problems on Windows
[not found] ` <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>
@ 2012-04-30 6:13 ` Xah Lee
2012-04-30 14:59 ` Bug Dout
1 sibling, 0 replies; 6+ messages in thread
From: Xah Lee @ 2012-04-30 6:13 UTC (permalink / raw)
To: help-gnu-emacs
On Apr 29, 9:30 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Xah Lee <xah...@gmail.com>
> > Date: Sun, 29 Apr 2012 15:23:43 -0700 (PDT)
>
> > there seems to be a problem of emacs 24's find-dired.
>
> > when using GNU Emacs 24.1.50.1, calling find-dired, i got one of this:
>
> > 2533274790481547 2 -rwx------ 1 h3 None 2994 Apr
> > 28 20:52 xx\ saga\ of\ bsof\ 2011-07-22.html
>
> > note the backslash there.
>
> > when i move the cursor to that line and press Enter, i get:
>
> > dired-get-file-for-visit: File no longer exists; type `g' to update
> > dired buffer
>
> My crystal ball says that you are using a Cygwin build of Find, which
> produces file names with spaces escaped in a style suitable for a
> Unixy shell, which the native Windows Emacs cannot grok (because
> backslashes are directory separators in native Windows file names).
>
> Solution: use a native Windows port of Find.
hi Eli,
your crystal ball is correct. :)
Xah
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs 24 find-dired problems on Windows
[not found] ` <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>
2012-04-30 6:13 ` Xah Lee
@ 2012-04-30 14:59 ` Bug Dout
2012-04-30 15:26 ` Óscar Fuentes
1 sibling, 1 reply; 6+ messages in thread
From: Bug Dout @ 2012-04-30 14:59 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
> Solution: use a native Windows port of Find.
Where might one be found?
--
Every anarchist is a baffled dictator.
~ Benito Mussolini
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-04-30 15:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-29 22:23 emacs 24 find-dired problems on Windows Xah Lee
2012-04-30 4:30 ` Eli Zaretskii
[not found] ` <mailman.295.1335760211.855.help-gnu-emacs@gnu.org>
2012-04-30 6:13 ` Xah Lee
2012-04-30 14:59 ` Bug Dout
2012-04-30 15:26 ` Óscar Fuentes
2012-04-30 15:50 ` Eli Zaretskii
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).