Hi Paul,
Paul Kinnucan wrote:
Ed Mooney writes:
> I installed 2.3.4beta4 on Solaris 9 and have these comments.
> > * I had to make this change to get lisp/makefile to work:
> > all:
> test -d $(SEMANTIC) -a -d $(SPEEDBAR) -a -d $(ELIB) -a -d > $(EIEIO)
> ***************
> *** 25,31 ****
> echo "(setq debug-on-error t)" >> jde-compile-script-init
> echo "(require 'jde-compat)" >> jde-compile-script-init
> echo "(require 'jde)" >>jde-compile-script-init
> ! if test `echo "$(EMACS)" | grep -w xemacs` ; \
> then $(EMACS) -batch -l jde-compile-script-init -f > batch-byte-compile `echo *.el` ; \
> else $(EMACS) -batch -l jde-compile-script-init \
> -f batch-byte-compile `ls -1 *.el | egrep -v > 'jde-xemacs.el'`; \
> --- 25,31 ----
> echo "(setq debug-on-error t)" >> jde-compile-script-init
> echo "(require 'jde-compat)" >> jde-compile-script-init
> echo "(require 'jde)" >>jde-compile-script-init
> ! if echo "$(EMACS)" | grep -w xemacs ; \
> then $(EMACS) -batch -l jde-compile-script-init -f > batch-byte-compile `echo *.el` ; \
> else $(EMACS) -batch -l jde-compile-script-init \
> -f batch-byte-compile `ls -1 *.el | egrep -v > 'jde-xemacs.el'`; \
>
I don't understand why you eliminated the test operator or how the script can work without it. In any case, the script won't work with cedet, which the JDEE now requires. I have submitted a version that does work to the JDEE CVS repository.
Thanks.
> * I had to make these changes to jde.el:
> > *** jde.el 2004/06/01 18:17:56 1.1
> --- jde.el 2004/06/01 19:57:42
> ***************
> *** 38,43 ****
> --- 38,46 ----
> > > ;;;###autoload
> + (defconst cedet-version "1.0beta2b"
> + "Cedet version number.")
> +
> (defconst jde-version "2.3.4beta4"
> "JDE version number.")
> > Without this change, emacs complained that cedet-version is an
> undefined variable (or some such). This was true even though I
> had set jde-check-version-flag to nil.
>
cedet-version is defined by cedet.el in the cedet package. The recommended way for loading the cedet package is adding the following line to
your .emacs file.
(load-file (expand-file-name "~/emacs/site-lisp/cedet/common/cedet.el"))
This should eliminate the undefined variable problem.
Yes, it does. However, I had been able to rely on EMACSLOADPATH up until now, which is my preferred way of finding emacs components.
> > ***************
> *** 1252,1257 ****
> --- 1255,1262 ----
> (defvar jde-cygwin-root-cache nil
> "Cache of converted cygwin root directory paths.")
> > + (defun jde-cygwin-path-converter-noop (path) path)
> +
> (defun jde-cygwin-path-converter-cygpath (path)
> (interactive "sPath: ")
> (if (string-match "^[a-zA-Z]:" path)
> > This change lets me set jde-cygwin-path-converter to
> jde-cygwin-path-converter-noop, disabling conversion of paths
> beginning with /cygdrive to DOS format. Comments in jde.el led
> me to think that setting jde-cygwin-path-converter to
> jde-cygwin-path-converter-cygpath would disable such
> conversions on my Solaris system, but that seemed not to be
> the case.
>
This should not be a problem on Solaris unless you have directories that begin with cygdrive, which seems unlikely. In any case, I think the correct way to handle this is for the JDEE to do cygwin path conversion only if the system-type is cygwin32, which is the designation for the version of XEmacs designed to run with Cygwin..
Hmmm ... sounds sensible. It certainly would be good not to do path conversion on Solaris. For example, I install emacs into /cygdrive/c on my Solaris box. That lets me maintain identical .emacs' on cygwin and Solaris (provided I'm able to rely on EMACSLOADPATH :-( ).
Anyway, I've put
(defun jde-cygwin-path-converter-noop (path) path)
in my my-jde-mode-hook, so I don't have to tweek JDE code at all.
Paul
[ ... ]
Thanks for all your great work, Paul.
-- Ed
