Gary-
>> Okay, but why would this work okay in xemacs for others? Any idea?
Sorry, no idea.
>> Is there a reason expand-file-name is used directly?
Standard Emacs lisp programming. Cygwin emacs should and is able to use
expand-file-name just fine. The problem is when you call non-cygwin aware
windows
apps, such as java and javac. Now you have deal with hybrid file
nomenclature, and
that's when you have to start munging together case-by-case conditionals to
handle the
different apps.
The better solution for everyone, that will hopefully be coming with the
opening of java
source, is we will start to see standard java SDK packages that can compile
and run
natively in cygwin. Then none of the special cygwin conditional lisp is
needed.
You may not be aware as well, but JDEE has been around longer than Cygwin
has
been able to compile Emacs natively. Not much work has been done in JDEE to
find
the special cases where cygwin system-type needs to be considered in the
last 5 years.
I would say this is because the demand (at least from what I've seen) is not
there for
Cygwin Emacs - and there is already so much needing to be done for JDEE and
so
few volunteers. In other words, your mileage may vary.
>> Could it not be wrapped by another (internal to jde) function that
includes the
>> jde-cygpath call when the environment demands it (i.e. when running on
>> Cygwin)?
Well, the beauty of Emacs is ... yes. If you put this in your .emacs then
it will
wrap a call to jde-cygpath after _all_ calls to Emacs expand-file-name:
(defadvice expand-file-name (after my-expand-file-name activate)
(setq ad-return-value (jde-cygpath ad-return-value)))
Of course, this could have other side-effects since it will affect all
calls, and
likely get recursive problems somewhere down the road. You could test if
current buffer is jde-mode type inside the advice, and then it would only be
specific to JDEE calls.
>> The main problem is I'm not really up to speed on lisp of any
>> dialect. ... I also don't know the codebase, so it's a bit like flailing
around
>> in the dark hoping not to break anything valuable.
There's an old saying: 'I never liked computers, until my server broke.'
Have fun fixing and learning! ;)
-jeffrey
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users