Jumping in a little late here, but in case these 2 points help (and I may be
misunderstanding some of your issues)...

For Cygwin find:
- these are valid:
  find c:/ -name "AUTOEXEC.BAT"
  find c:/. -name "AUTOEXEC.BAT"
  find c:\. -name "AUTOEXEC.BAT"

- this is not valid:
  find c:\ -name "AUTOEXEC.BAT"

Notice using the c:\ requires the period for the current directory, where
c:/ does not.

(I mention this invalid one because the example on Henry's reply has this
invalid syntax, which could be a typo or part of the problem)


IIRC, earlier in the thread someone wondered about the Cygwin drive syntax.
It is this: /cygdrive/c/

I am wondering if using the Cygwin syntax in any Emacs/JDE settings will
help or completely fix the problem(s).

So "d:/MT/source/"'s path in Cygwin-speak is /cygdrive/d/MT/source.


Note that I use NT Emacs, not the Cygwin Emacs, and so have not encountered
these problems; just mentioning a couple of Cygwin-isms in case it helps
:-).


-----Original Message-----
From: Henry S. Thompson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 8:33 AM
To: L�opold Bailly
Cc: [email protected]
Subject: Re: cygwin version of emacs, Windows jvm and paths

=?utf-8?b?TMOpb3BvbGQ=?= Bailly <[EMAIL PROTECTED]> writes:

>> 
>>  '(jde-cygwin-path-converter (quote 
>> (jde-cygwin-path-converter-internal)))
>> 
>> instead -- that's what I have, and
>> 
>>  a) jde-open-class-at-point works;
>>  b) jde-find works.
>
> It's even worse, because / are replaced by \, that is catastrophic for 
> jde-find :
>
> find d:\foo\bar -name "*.java" -type f | xargs grep -i -n "myString" 
> /dev/null /dev/null
> find: d:foobar: No such file or directory
>
> Can you paste an example of your jde-find result ?

cd /home/ht/MT/source/com/markuptech/stdcomponents/
find d:/MT/source -name "*.java" -type f | xargs grep -i n "dirty" /dev/null
/dev/null
d:/MT/source/com/markuptech/tools/mtpl/MTPLApp.java:808: dirtyWhileReading =
false;

etc.

So maybe the additional crucial fact is that I have

 '(jde-sourcepath (quote ("/home/ht/MT/source")))

where /home/ht is mounted as D:

ht
--
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED]
                   URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me
_always_ has this .sig -- mail without it is forged spam]

Reply via email to