Re: first time emacs and JDE --having problem with JDE Configuration
Sharif Sharif M [EMAIL PROTECTED] writes: i am having problem of configuring JDE. i have installed emacs latestone as well as JDE latest one .. can anyone tell me step by step what i need to do to install all the packegs and where i will be copying all the packegs. thank you so much in advance.. Well, there are installation instructions, but you don't say whether you read them or not. Also, you don't say what's failing. Did you install Emacs? Does it work? What was the next step after installing Emacs? How did you verify that this step worked? Which other steps did you take before things failed? When it failed, what did you attempt to do? What happened when you did that? What did you expect to happen? It isn't nice to answer questions with counter-questions, but I can't think of anything else that might help you. Kai
Re: first time emacs and JDE --having problem with JDE Configuration
man, 2004-12-06 kl. 03:58 skrev Sharif Sharif M: i am having problem of configuring JDE. i have installed emacs latestone as well as JDE latest one .. can anyone tell me step by step what i need to do to install all the packegs and where i will be copying all the packegs. thank you so much in advance.. Well, assuming that GNU/Emacs is installed properly, I give you the URL to install JDE: http://jdee.sunsite.dk/install.html I hope it proves helpfull! Cheers, Morten .
colorize not working on new windows installation
Just downloaded installed win-nt emacs binary (21.3.1), jde supp libs (using the 'install-jde.sh' script under cygwin). Set up per instructions jde won't colorize (tho' batch scripts and lisp will). Have tried both overlay patches. No color. Suggestions?
need help for JDE Installation steps..
i am still having problem when i run .emacs here is what i get when i run a simple .emacs which i got from JDE Install for windows and the only thing i modified was where all the packages located .. first when i run bash:emacs i get ** (c:\emacs-21.3\bin\emacs.exe) An error has occurred while loading `c:/cygwin/home/Owner/.emacs': File error: Cannot open load file, c:/cygdrive/c/emacs-21.3/cedet-1.0beta2a/common/cedet.el To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Start Emacs with the `--debug-init' option to view a complete error backtrace *** Second when i run emacs with debug mode Debugger entered--Lisp error: (file-error Cannot open load file c:/cygdrive/c/emacs-21.3/cedet-1.0beta2a/common/cedet.el) load(c:/cygdrive/c/emacs-21.3/cedet-1.0beta2a/common/cedet.el nil nil t) load-file(c:/cygdrive/c/emacs-21.3/cedet-1.0beta2a/common/cedet.el) eval-buffer(#buffer *load* nil ~/.emacs nil t) load-with-code-conversion(c:/cygwin/home/Owner/.emacs ~/.emacs t t) load(~/.emacs t t) #[nil ,T * when i coment out the error lines i get can not load (required 'jde) *** here is the simple .emacs file i downloaded .. ;; 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 ~/emacs/site/jde/lisp)) ;;(add-to-list 'load-path (expand-file-name ~/emacs/site/cedet/common)) ;;(add-to-list 'load-path (expand-file-name ~/emacs/site/elib)) ;;*** ;;*** (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/lisp/lisp)) (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/jde-2.3.4/lisp/lisp)) (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/cedet-1.0beta2a/semantic)) (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/cedet-1.0beta2a/speedbar)) (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/elib-1.0)) (add-to-list 'load-path (expand-file-name /cygdrive/c/emacs-21.3/cedet-1.0beta2a/eieio)) ;; ;; Initialize CEDET. (load-file (expand-file-name /cygdrive/c/emacs-21.3/cedet-1.0beta2a/common/cedet.el)) ;; 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) ;; Include the following only if you want to run ;; bash as your shell. ;; Setup Emacs to run bash as its primary shell. (setq shell-file-name bash) (setq shell-command-switch -c) (setq explicit-shell-file-name shell-file-name) (setenv SHELL shell-file-name) (setq explicit-sh-args '(-login -i)) (if (boundp 'w32-quote-process-args) (setq w32-quote-process-args ?\)) ;; Include only for MS Windows. THANK YOU, YOUR COOPERATION ON THIS MATTER IS GREATLY APPRECIATED ..
jde-checkstyle and Emacs 21.50.3
Hello, with GNU Emacs 21.3.50.2 and JDE 2.3.4 I get following error with jde-checkstyle: let: Symbol's value as variable is void: compilation-enter-directory-regexp-alist Any ideas? TIA, Christian
jde-checkstyle and Emacs 21.50.3
Christian Plate writes: Hello, with GNU Emacs 21.3.50.2 and JDE 2.3.4 I get following error with jde-checkstyle: let: Symbol's value as variable is void: c Any ideas? Yes, recent CVS versions of Emacs have changed compilation mode, which checkstyle uses. One of the changes eliminates compilation-enter-directory-regexp-alist. I will eventually get around to updating checkstyle to handle this change. Meanwhile, just define the variable yourself in your .emacs file. Paul TIA, Christian
Re: jde-checkstyle and Emacs 21.50.3
Yes, recent CVS versions of Emacs have changed compilation mode, which checkstyle uses. One of the changes eliminates compilation-enter-directory-regexp-alist. I will eventually get around to updating checkstyle to handle this change. Meanwhile, just define the variable yourself in your .emacs file. Ok emacs 21.3 says: compilation-enter-directory-regexp-alist's value is ((.*: Entering directory `\\(.*\\)'$ 1)) How do i set this in my .emacs? I dont know any lisp, sorry for this stupid question. Thanks for helping! Christian
Re: first time emacs and JDE --having problem with JDE Configuration
Hi Kai, yes it does exist the file. Now what i did is i copied that file to my home directory /home/Owner/common/cedet.el then i modified .emacs file. Now i am not getting the same error but i am getting this error now require(inversion).. File error: Cannot open load file, inversion. any idea how to fix this problem.. Thank you in advance. Cheers, sharif (c:\emacs-21.3\bin\emacs.exe) Loading c:/cygwin/home/Owner/common/cedet.el (source)... c:/cygwin/home/Owner/common/ added to `load-path' An error has occurred while loading `c:/cygwin/home/Owner/.emacs': File error: Cannot open load file, inversion To ensure normal operation, you should investigate the cause of the error in your initialization file and remove it. Start Emacs with the `--debug-init' option to view a complete error backtrace
Re: jde-checkstyle and Emacs 21.50.3
Christian Plate writes: Yes, recent CVS versions of Emacs have changed compilation mode, which checkstyle uses. One of the changes eliminates compilation-enter-directory-regexp-alist. I will eventually get around to updating checkstyle to handle this change. Meanwhile, just define the variable yourself in your .emacs file. Ok emacs 21.3 says: compilation-enter-directory-regexp-alist's value is ((.*: Entering directory `\\(.*\\)'$ 1)) How do i set this in my .emacs? I dont know any lisp, sorry for this stupid question. (setq compilation-enter-directory-regexp-alist nil) Paul