Jean-Jacques Gourrier writes:
 > I installed JDE with the correct Paths (not compiled) and i followed the way to run 
 >it (the minimal _emacs file) :
 > 
 > ;; This .emacs file illustrates the minimul setup
 > ;; required to run the JDE.
 > 
 > ;; Set the debug option to enable a backtrace when a
 > ;; problem occurs.
 > (setq debug-on-error t)
 > 
 > ;; Update the Emacs load-path to include the path to
 > ;; the JDE and its require packages. This code assumes
 > ;; that you have installed the packages in the emacs/site
 > ;; subdirectory of your home directory.
 > (add-to-list 'load-path (expand-file-name "D:\Developpement\Emacs\Package\jde\lisp"))
                                                ^
Read about backslash as an escape character in the Emacs online documentation.

- Paul



 > (add-to-list 'load-path (expand-file-name "D:\Developpement\Emacs\Package\semantic"))
 > (add-to-list 'load-path (expand-file-name "D:\Developpement\Emacs\Package\speedbar"))
 > (add-to-list 'load-path (expand-file-name "D:\Developpement\Emacs\Package\elib"))
 > (add-to-list 'load-path (expand-file-name "D:\Developpement\Emacs\Package\eieio"))
 > 
 > 
 > ;; If you want Emacs to defer loading the JDE until you open a 
 > ;; Java file, edit the following line
 > (setq defer-loading-jde nil)
 > ;; to read:
 > ;;
 > ;;  (setq defer-loading-jde t)
 > ;;
 > 
 > (if defer-loading-jde
 >     (progn
 >       (autoload 'jde-mode "jde" "JDE mode." t)
 >       (setq auto-mode-alist
 >      (append
 >       '(("\\.java\\'" . jde-mode))
 >       auto-mode-alist)))
 >   (require 'jde))
 > 
 > 
 > ;; Sets the basic indentation for Java source files
 > ;; to two spaces.
 > (defun my-jde-mode-hook ()
 >   (setq c-basic-offset 2))
 > 
 > (add-hook 'jde-mode-hook 'my-jde-mode-hook)
 > 
 > 
 > But i still have the message on the emacs screen displayed "Invalid escape character 
 >syntaxt".
 > The version of my pachages are :
 > jde 2.2.8
 > semantic 1.4 beta 12
 > speedbar 0.13a
 > elib 1.0
 > eieio 0.16
 > 
 > Thanks for any help
 > 
 > 
 > 
 > 
 > 
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 > <HTML><HEAD>
 > <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
 > <META content="MSHTML 5.00.2920.0" name=GENERATOR>
 > <STYLE></STYLE>
 > </HEAD>
 > <BODY bgColor=#ffffff>
 > <DIV><FONT face="Comic Sans MS" size=2>I installed JDE with the correct Paths 
 > (not compiled) and i followed the way to run it (the minimal _emacs file) 
 > :</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>;; This .emacs file illustrates the 
 > minimul setup<BR>;; required to run the JDE.</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>;; Set the debug option to enable a 
 > backtrace when a<BR>;; problem occurs.<BR>(setq debug-on-error t)</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>;; Update the Emacs load-path to include 
 > the path to<BR>;; the JDE and its require packages. This code assumes<BR>;; that 
 > you have installed the packages in the emacs/site<BR>;; subdirectory of your 
 > home directory.<BR>(add-to-list 'load-path (expand-file-name 
 > "D:\Developpement\Emacs\Package\jde\lisp"))<BR>(add-to-list 'load-path 
 > (expand-file-name "D:\Developpement\Emacs\Package\semantic"))<BR>(add-to-list 
 > 'load-path (expand-file-name 
 > "D:\Developpement\Emacs\Package\speedbar"))<BR>(add-to-list 'load-path 
 > (expand-file-name "D:\Developpement\Emacs\Package\elib"))<BR>(add-to-list 
 > 'load-path (expand-file-name 
 > "D:\Developpement\Emacs\Package\eieio"))</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2><BR>;; If you want Emacs to defer loading 
 > the JDE until you open a <BR>;; Java file, edit the following line<BR>(setq 
 > defer-loading-jde nil)<BR>;; to read:<BR>;;<BR>;;&nbsp; (setq defer-loading-jde 
 > t)<BR>;;</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>(if 
 > defer-loading-jde<BR>&nbsp;&nbsp;&nbsp; (progn<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 > (autoload 'jde-mode "jde" "JDE mode." t)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (setq 
 > auto-mode-alist<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
 > (append<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '(("\\.java\\'" . 
 > jde-mode))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auto-mode-alist)))<BR>&nbsp; 
 > (require 'jde))</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2><BR>;; Sets the basic indentation for 
 > Java source files<BR>;; to two spaces.<BR>(defun my-jde-mode-hook ()<BR>&nbsp; 
 > (setq c-basic-offset 2))</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>(add-hook 'jde-mode-hook 
 > 'my-jde-mode-hook)</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2></FONT>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2></FONT>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>But i still have the message on the emacs 
 > screen displayed "Invalid escape character syntaxt".</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>The version of my pachages are 
 > :</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>jde 2.2.8</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>semantic 1.4 beta 12</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>speedbar 0.13a</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>elib 1.0</FONT></DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>eieio 0.16</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2>Thanks for any help</FONT></DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV><FONT face="Comic Sans MS" size=2></FONT>&nbsp;</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>&nbsp;</DIV></BODY></HTML>

Reply via email to