emacs-pretest-bug
[Top][All Lists]
Advanced

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

problem with find-dired and find-name-dired


From: Peter Lee
Subject: problem with find-dired and find-name-dired
Date: Tue, 23 Mar 2004 15:44:18 -0600
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


Can anyone tell me why I'm getting these errors?  I'm using cvs Gnu
Emacs.  

"GNU Emacs 21.3.50.1 (i386-msvc-nt5.1.2600) of 2004-03-19 on
WISHIWASFASTER"

find-name-dired RET ~/somepath RET *.mak

,----
|   ~/somepath/:
|   find . \( -name "*.mak" \) -exec ls -ld {} \;
|   warning: extra args ignored after 'find . \\( -name "*.mak'
|   blah.mak
|   blah2.mak
|   find: \(: No such file or directory
|   
|   find exited abnormally with code 1 at Tue Mar 23 09:29:55
`----

find-dired RET ~/somepath RET -iname "*.mak"

,----
|   ~/somepath/:
|   find . \( -iname "*.mak" \) -exec ls -ld {} \;
|   warning: extra args ignored after 'find . \\( -name "*.mak'
|   blah.mak
|   blah2.mak
|   find: \(: No such file or directory
|   
|   find exited abnormally with code 1 at Tue Mar 23 09:39:28
`----

Relevant options are:

find-dired-find-program's value is "find"

find-ls-option's value is 
("-exec ls -ld {} \\;" . "-ld")

shell-file-name's value is 
"E:/cvs/emacs/bin/cmdproxy.exe"

If I run the above commands from eshell, it works fine as long as I
escape the * like: find . \( -iname "\*.mak" \) -exec ls -ld {} \;

If I open a cmdproxy and run it from there I get an error unless I
remove the backslash from the trailing ';' like:
find . \( -iname "*.mak" \) -exec ls -ld {} ;

If I change my find-ls-option to be ("-exec ls -ld {} ;" . "-ld")
it then fails with:
find-name-dired RET ~/somepath RET *.mak
  ~/somepath/:
,----
|   find . \( -name "*.mak" \) -exec ls -ld {} ;
|   warning: extra args ignored after 'find . \\( -name "*.mak'
|   blah.mak
|   blah2.mak
|   find: \(: No such file or directory
|   
|   find exited abnormally with code 1 at Tue Mar 23 09:53:40
`----

Anyone else had a problem like this?  Thanks.


In GNU Emacs 21.3.50.1 (i386-msvc-nt5.1.2600)
 of 2004-03-19 on WISHIWASFASTER
configured using `configure --with-msvc (12.00) --cflags -Ie:/gnuwin32/include 
--ldflags /LIBPATH:e:/gnuwin32/lib'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: EShell

Minor modes in effect:
  cua-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
q <return> q <return> / o 1 0 <return> C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-p C-p SPC SPC SPC C-x o M-< 
C-n C-n C-n C-n C-n C-n C-SPC C-n M-> M-w q q y C-\ 
C-g M-x s u m <backspace> b m i t e <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
s e n d SPC b u <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> b u 
g SPC <backspace> <backspace> <backspace> r e p o r 
t SPC <return>

Recent messages:
Marking spam as expired without moving it
Are you sure you want to quit reading news? (y or n) 
Saving file d:/src/.spam-stat.el...
Wrote d:/src/.spam-stat.el
Wrote d:/src/.newsrc
Saving d:/src/.newsrc.eld...
Saving file d:/src/.newsrc.eld...
Wrote d:/src/.newsrc.eld
Saving d:/src/.newsrc.eld...done
Loading emacsbug...done




reply via email to

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