JDE Complete Menu
I am currently using dabbrev-completion to complete variable names in a Java buffer. How difficult would it be to add this functionality to the JDE Complete Menu function? For example, if there is a ., then the jde-complete-menu as it now would be called and if a . is not present then dabbrev-completion function would be called. Can this be added to the wish list? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Re: JDE Complete Menu
Hello Ole, I copied your code to my init.el file and getting the following error when trying to use the method ( called by M-x jde-indent-complete): Signaling: (void-function mark-or-region-active) (mark-or-region-active) (if (mark-or-region-active) (indent-region (mark) (point) nil) (if (save-excursion ... ...) (indent-for-tab-command) (if ... ... ...))) (lambda nil A special indent/complete function. I calls three different\nfunctions depending on context:\n\n- The region is active:\nreindent the region.\n\n- The point is in front of the text on this line:\ntry to reindent the line. \n\n- The point is directly after a dot character (\.\) or in/at\n the end of a word starting with a dot:\n call `jde-complete'\n\n- Otherwise:\ncall `hippie-expand'\n (interactive) (if (mark-or-region-active) (indent-region ... ... nil) (if ... ... ...)))() call-interactively(jde-indent-complete) command-execute(jde-indent-complete t) execute-extended-command(nil) call-interactively(execute-extended-command) --- Ole Arndt [EMAIL PROTECTED] wrote: Hi Jeba, Hi Paul, Paul Kinnucan [EMAIL PROTECTED] writes: Jeba Bhaskaran writes: I am currently using dabbrev-completion to complete variable names in a Java buffer. How difficult would it be to add this functionality to the JDE Complete Menu function? For example, if there is a ., then the jde-complete-menu as it now would be called and if a . is not present then dabbrev-completion function would be called. Can this be added to the wish list? This would be easy to do but I don't believe it is the right thing to do. I don't see the point of calling dabbrev to complete field and method names defined or inherited by the class in the current buffer. - Paul I have a function `jde-indent-complete' which provides this functionality. Instead of dabbrev-expand I use hippie-expand, because of the support semantic provides for it. Semantic automatically adds `senator-try-expand-semantic' to your `hippie-expand-try-functions-list'. This gives you local member name completion via semantic. If this fails, hippie-expand calls abbrev-expand and dabbrev-expand afterwards. For words with a dot in front `jde-complete' will be called. I have bound this to function to TAB, so completion feels the same as in the shell and in the rest of emacs. I couldn't live without it :-) The function has gone though various changes/optimizations as my elisp knowledge slowly grew from clueless to dilettante, here comes the current version: (defun jde-indent-complete () A special indent/complete function. I calls three different functions depending on context: - The region is active: reindent the region. - The point is in front of the text on this line: try to reindent the line. - The point is directly after a dot character (\.\) or in/at the end of a word starting with a dot: call `jde-complete' - Otherwise: call `hippie-expand' (interactive) (if (mark-or-region-active) (indent-region (mark) (point) nil) (if (save-excursion (skip-chars-backward \t) (bolp)) (indent-for-tab-command) (if (not (equal major-mode 'jde-mode)) (hippie-expand 1) (if (or (char-equal (char-before) ?.) (save-excursion (backward-word 1) (char-equal (char-before) ?.))) (jde-complete) (hippie-expand 1)) ; you probably need this also: (require 'hippie-exp) (setq hippie-expand-try-functions-list '(try-expand-all-abbrevs try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill)) -- Ole Arndt http://www.sugarshark.com --- __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
jde-global-classpath error
I am using jde-global-classpath variable. When compiling, JDE only uses the last part of the path. For example, C:\jars\test.jar comes out as -classpath C:/test.jar. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Error in Modifying JDE Key Bindings
I am getting the following error when I try to customize jde-key-bindings. I am using Emacs 21.2 and Win XP. I was able to do this without getting error in XEmacs. Debugger entered--Lisp error: (error Saving jde-key-bindings: Invalid function: jde-db-menu-debug-applet) signal(error (Saving jde-key-bindings: Invalid function: jde-db-menu-debug-applet)) error(Saving %s: %s jde-key-bindings Invalid function: jde-db-menu-debug-applet) custom-variable-save((custom-variable :documentation-shown t :custom-state modified :tag Jde Key Bindings :value jde-key-bindings :custom-form edit :custom-magic (custom-magic :args (nil) :parent #0 :indent 0 :children (...) :from #marker (before-insertion) at 3037 in *Customize Option: Jde Key Bindings* :to #marker at 3115 in *Customize Option: Jde Key Bindings* :buttons nil :value nil) :buttons ((custom-group-link :args nil :value jde-project :tag Jde Project :parent #0 :indent 0 :button-overlay #overlay from 3621 to 3632 in *Customize Option: Jde Key Bindings* :from #marker (before-insertion) at 3621 in *Customize Option: Jde Key Bindings* :to #marker at 3632 in *Customize Option: Jde Key Bindings*) (documentation-string :args nil :value Specifies key bindings for the JDE.\nThe value of this variable is an association list. The car of\neach element specifies a key sequence. The cdr specifies \nan interactive command that the key sequence executes. To enter\na key with a modifier, type C-q followed by the desired modified\nkeystroke. For example, to enter C-s (Control s) as the key to be\nbound, type C-q C-s in the key field in the customization buffer.\nYou can use the notation [f1], [f2], etc., to specify function keys. :indent 0 :parent #0 :doc-overlay #overlay from 3155 to 3605 in *Customize Option: Jde Key Bindings* :buttons ... :from #marker (before-insertion) at 3115 in *Customize Option: Jde Key Bindings* :to #marker at 3606 in *Customize Option: Jde Key Bindings*) (custom-magic :args ... :parent #0 :indent 0 :children ... :from #marker (before-insertion) at 3037 in *Customize Option: Jde Key Bindings* :to #marker at 3115 in *Customize Option: Jde Key Bindings* :buttons nil :value nil) (visibility :args nil :value t :help-echo Hide the value of this option. :action custom-toggle-parent :parent #0 :indent 0 :button-overlay #overlay from 465 to 469 in *Customize Option: Jde Key Bindings* :from #marker (before-insertion) at 465 in *Customize Option: Jde Key Bindings* :to #marker at 469 in *Customize Option: Jde Key Bindings*) (item :args nil :value Jde Key Bindings :format %{%t%}: :action custom-tag-action :help-echo Change value of this option. :mouse-down-action custom-tag-mouse-down-action :button-face custom-variable-button-face :sample-face custom-variable-tag-face :parent #0 :indent 0 :sample-overlay #overlay from 447 to 463 in *Customize Option: Jde Key Bindings* :from #marker (before-insertion) at 447 in *Customize Option: Jde Key Bindings* :to #marker at 464 in *Customize Option: Jde Key Bindings*)) :comment-widget (custom-comment :parent #0 :value :indent 0 :from #marker at 3606 in *Customize Option: Jde Key Bindings* :to #marker at 3606 in *Customize Option: Jde Key Bindings*) :children ((repeat :args ... :format \n%v%i\n :value ... :parent #0 :indent 0 :value-pos #marker (before-insertion) at 3033 in *Customize Option: Jde Key Bindings* :buttons ... :children ... :from #marker (before-insertion) at 469 in *Customize Option: Jde Key Bindings* :to #marker at 3037 in *Customize Option: Jde Key Bindings*) (custom-comment :parent #0 :value :indent 0 :from #marker at 3606 in *Customize Option: Jde Key Bindings* :to #marker at 3606 in *Customize Option: Jde Key Bindings*)) :from #marker (before-insertion) at 447 in *Customize Option: Jde Key Bindings* :to #marker at 3633 in *Customize Option: Jde Key Bindings*)) widget-apply((custom-variable :documentation-shown t :custom-state modified :tag Jde Key Bindings :value jde-key-bindings :custom-form edit :custom-magic (custom-magic :args (nil) :parent #0 :indent 0 :children (...) :from #marker (before-insertion) at 3037 in *Customize Option: Jde Key Bindings* :to #marker at 3115 in *Customize Option: Jde Key Bindings* :buttons nil :value nil) :buttons ((custom-group-link :args nil :value jde-project :tag Jde Project :parent #0 :indent 0 :button-overlay #overlay from 3621 to 3632 in *Customize Option: Jde Key Bindings* :from #marker (before-insertion) at 3621 in *Customize Option: Jde Key Bindings* :to #marker at 3632 in *Customize Option: Jde Key Bindings*) (documentation-string :args nil :value Specifies key bindings for the JDE.\nThe value of this variable is an association list. The car of\neach element specifies a key sequence. The cdr specifies \nan interactive command that the key sequence executes. To enter\na key with a modifier, type C-q followed by the desired modified\nkeystroke. For example, to enter C-s (Control s) as the key to be\nbound, type C-q C-s in the key field in the customization
Bug Report
Please enter the details of your bug report here I am getting the following backtrace when trying to do build using ant: Signaling: (file-error Searching for program No such file or directory C:\\WINDOWS\\system32\\cmd.exe;c:\\wget) start-process-internal(compilation #buffer *compilation* C:\\WINDOWS\\system32\\cmd.exe;c:\\wget -c c:/ant/bin/ant.bat -Dant.home=C:/jakarta-ant-1.5.1/bin -buildfile \c:/vmis_build5/build.xml\ -emacs ) apply(start-process-internal compilation #buffer *compilation* C:\\WINDOWS\\system32\\cmd.exe;c:\\wget (-c c:/ant/bin/ant.bat -Dant.home=C:/jakarta-ant-1.5.1/bin -buildfile \c:/vmis_build5/build.xml\ -emacs )) start-process(compilation #buffer *compilation* C:\\WINDOWS\\system32\\cmd.exe;c:\\wget -c c:/ant/bin/ant.bat -Dant.home=C:/jakarta-ant-1.5.1/bin -buildfile \c:/vmis_build5/build.xml\ -emacs ) start-process-shell-command(compilation #buffer *compilation* c:/ant/bin/ant.bat -Dant.home=C:/jakarta-ant-1.5.1/bin -buildfile \c:/vmis_build5/build.xml\ -emacs ) compile-internal(c:/ant/bin/ant.bat -Dant.home=C:/jakarta-ant-1.5.1/bin -buildfile \c:/vmis_build5/build.xml\ -emacs No more errors) #compiled-function (buildfile target optional interactive-args) ...(78) [interactive-args target compilation-ask-about-save temp last-nonmenu-event compile-command jde-build-ant-command windows-nt t save-some-buffers nil #compiled-function ... ...(10) ... 4 Ant Server string-match \ replace-match jde-ant-compile-internal No more errors compile-internal buildfile system-type jde-xemacsp compilation-finish-function jde-ant-invocation-method] 6 (c:\\Home\\jde\\jde-2.3.2\\lisp\\jde-ant.elc . 7482) (let (buildfile history target interactive-args) (setq buildfile ...) (setq history ...) (if jde-ant-read-target ...) (jde-ant-add-to-history buildfile history) (setq target ...) (if jde-ant-read-args ...) (setq jde-ant-interactive-buildfile buildfile) (list buildfile target interactive-args))(c:\\vmis_build5\\build.xml nil nil) call-interactively(jde-ant-build) #compiled-function nil ...(5) [jde-build-function call-interactively] 2 (c:\\Home\\jde\\jde-2.3.2\\lisp\\jde.elc . 22334) nil() call-interactively(jde-build) Emacs : XEmacs 21.4 (patch 10) Military Intelligence (RC1) [Lucid] (i586-pc-win32) of Sun Sep 29 2002 on TSUNAMI Package: JDE version 2.3.2 Required packages: semantic-1.4 eieio-0.17 speedbar-0.14beta2 current state: == (setq jde-which-method-class-min-length 4 jde-gen-to-string-method-template '((end-of-line) ' \/**\ ''n \* Retrieve a String representation of this object\ ''n \* \ ''n \* @return a codeString/code representation of this object.\ ''n \* @see Object#toString()\ ''n \*/\ ''n (jde-gen-method-signature \public\ \String\ \toString\ nil ) ' (if jde-gen-kr () 'n) \{\''n ''r'n \}\''n') jde-bug-jre-home jde-bug-debugger-host-address DCB08-460B jde-import-insert-group-names nil jde-help-docsets '((JDK API nil)) jde-complete-signature-display-time 5 jde-gen-junit-test-class-buffer-template '((funcall jde-gen-boilerplate-function) (jde-gen-get-package-statement) \import junit.framework.Test;\ ''n \import junit.framework.TestCase;\ ''n \import junit.framework.TestSuite;\ ''n 'n (progn (require 'jde-javadoc) (jde-javadoc-insert-start-block)) \ * \ \ Unit Test for class \ (jde-gen-junit-class (file-name-nondirectory buffer-file-name)) ''n \ \ (jde-javadoc-insert-empty-line) \ \ (jde-javadoc-insert-empty-line) \ * Created: \ (current-time-string) ''n \ \ (jde-javadoc-insert-empty-line) \ \ (jde-javadoc-insert 'tempo-template-jde-javadoc-author-tag) \ \ (jde-javadoc-insert 'tempo-template-jde-javadoc-version-tag) \ \ (jde-javadoc-insert 'tempo-template-jde-javadoc-end-block \*/\) \public class \ (file-name-sans-extension (file-name-nondirectory buffer-file-name)) \ extends TestCase \ (if jde-gen-kr () ''n) \{\''n 'n \ /** \ ''n \* Creates a new code\ (file-name-sans-extension (file-name-nondirectory buffer-file-name)) \/code instance.\ ''n \*\ ''n \* @param name test name\ ''n \*/\''n \public \ (file-name-sans-extension (file-name-nondirectory buffer-file-name)) \ (String name)\ (if jde-gen-kr () ''n) \{\''n \super(name);\''n \}\'
Re: Bug Report
Thanks Javier. That did the trick. Jeba --- Javier S. Lopez [EMAIL PROTECTED] wrote: Hi Jeba, Your problem is not JDEE related is a system configuration issue. The environment variable COMSPEC is pointing to C:\WINDOWS\system32\cmd.exe;c:\wget. The value of this variable must point to the standard command interpreter (command.com or cmd.exe) So the c:\wget should not be there. Javier Petter Måhlén [EMAIL PROTECTED] writes: I'm not an elisp expert, but that looks pretty weird to me. First of all, where does c:/ant/bin/ant.bat come from? It's not in your environment anywhere according to the error report, and it's not anywhere in the JDE 2.3.2 code as far as I can tell. Also, I don't see why the actual error (not being able to find C:\\WINDOWS\\system32\\cmd.exe;c:\\wget) should happen - there's no reason to tuck C:\\wget onto the the string for launching the shell. Are there any strange settings in your init.jkel or prj.el files? I guess it's remotely possible that the compilation into .elc files has failed somehow. If Javier or somebody doesn't have a better idea, maybe you could try deleting them and trying again? / Petter -- Javier S. Lopez [EMAIL PROTECTED]Forum Systems, Inc. (781) 788-4206 95 Sawyer St., Suite 110, http://www.forumsys.com Waltham, MA 02453 The information contained in this electronic mail and any attached document is the confidential and proprietary business information of Forum Systems, Inc. It is intended solely for the addressed recipient listed above. It may not be distributed in any manner without the express written consent of Forum Systems, Inc. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
Completion problem - Select a class to import
Hello All, A month ago I reported a bug that happens when there are multiple classes that can be imported during completion. That is, lets say I am trying to get methods for Vector and it is not in the import list. JDEE prompts to import the class. Since there are multiple possible classes to import, list is displayed and after I select one, I am again prompted to select a class to import eventhough the class has just been imported. This only happens when there are mulitple choices to import and in Emacs not Xemacs. So my question is how can I turn off importing during completion? Jeba __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
Re: question about turning off auto-formatting...
--- Joseph Jupin [EMAIL PROTECTED] wrote: Okay - I just upgraded to the latest builds on many things in my XEmacs bundle and for some unknown reason, auto-formatting is turned on. That is, if I do an auto-complete of say ife to the proper layout, it then goes through the whole document to reformat it - and it takes FOREVER! Could some direct to which variable to turn off to get rid of this? And to whoever turned it on - you should be flogged with a rubber chicken! Thanx for your help... that was joke for those humorously impaired peace. JOe... The way I got around this was to customize the jde-gen-cflow- to remove the call to the indent function c-indent-defun. Jeba __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
Re: Bug Report JDE2.3.3beta1
--- Andrew Hyatt [EMAIL PROTECTED] wrote: Jeba Bhaskaran [EMAIL PROTECTED] writes: Please enter the details of your bug report here: 1. After installing the beta jde 2.3.3, I have lost syntax highlighting. I installed overlay-fix and stil the syntax highlighting is not working. 2. I am not able to see the jde-xref-... options. I tried M-x jde-xref-customize funtion. When I typed M-x jde-x I only get jde-xemacs-.. completion and do not get any jde-xref-.. completion. I don't know why you are not seeing jde-xref options. Just to be sure, have you restarted emacs after installing the new JDE? Also, try putting this in your .emacs file, and see if it helps: (require 'jde-xref) OK I added (require 'jde-xref) and I can set the xref options. I get a backtrace when I try to run jde-xref-make-.. function. Trace follows: Signaling: (error No such coding system utf-8) encode-coding-region(1 8 utf-8) encode-coding-string(m_homes utf-8) (let* ((len ...) (result ...)) (goto-char (+ len ...)) result) jde-parse-class-get-utf8-constant() (list (quote utf8) (jde-parse-class-get-utf8-constant)) (backquote (utf8 (\, ...))) (cond ((eq const-type 7) (backquote ...)) ((eq const-type 9) (backquote ...)) ((eq const-type 10) (backquote ...)) ((eq const-type 11) (backquote ...)) ((eq const-type 8) (backquote ...)) ((eq const-type 3) (backquote ...)) ((eq const-type 4) (backquote ...)) ((eq const-type 5) (backquote ...)) ((eq const-type 6) (backquote ...)) ((eq const-type 12) (backquote ...)) ((eq const-type 1) (backquote ...))) (let ((const-type ...)) (forward-char) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...))) jde-parse-class-get-next-constant() (let ((const ...)) (aset const-vec i const) (when (or ... ...) (aset const-vec ... nil) (setq i ...))) (while ( i --dotimes-temp--83104) (let (...) (aset const-vec i const) (when ... ... ...)) (incf i)) (let ((--dotimes-temp--83104 count) (i 0)) (while ( i --dotimes-temp--83104) (let ... ... ...) (incf i)) const-vec) (catch (quote --cl-block-nil--) (let (... ...) (while ... ... ...) const-vec)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... const-vec))) (block nil (let (... ...) (while ... ... ...) const-vec)) (dotimes (i count const-vec) (let (...) (aset const-vec i const) (when ... ... ...))) (let* ((count ...) (const-vec ...)) (setq i 0) (goto-char 11) (dotimes (i count const-vec) (let ... ... ...))) jde-parse-class-get-constants() (let* ((constants ...) (version ...) (access ...) (this-class ...) (superclass ...) (interfaces ...) (fields ...) (methods ...) (attributes ...)) (kill-buffer buf) (backquote (... ... ... ... ... ... ... ...))) (let ((buf ...)) (set-buffer buf) (let* (... ... ... ... ... ... ... ... ...) (kill-buffer buf) (backquote ...))) jde-parse-class(c:\\webservices\\classes\\org\\aarp\\common\\ejb\\EJBHelper.class) (let ((info ...)) (jde-xref-add-class-info-to-db info package-data subclasses) (add-to-list (quote --with-all-class-infos-pclasses83065) (jde-parse-class-extract-classname info))) (if (and (not ...) (funcall ... --with-all-class-infos-cfile83066)) (let (...) (jde-xref-add-class-info-to-db info package-data subclasses) (add-to-list ... ...))) (if (string-match .[Cc][Ll][Aa][Ss][Ss]$ --with-all-class-infos-cfile83066) (if (and ... ...) (let ... ... ...))) (lambda (--with-all-class-infos-cfile83066) \nCommon Lisp lambda list:\n (cl-none --WITH-ALL-CLASS-INFOS-CFILE83066)\n\n (if (string-match .[Cc][Ll][Aa][Ss][Ss]$ --with-all-class-infos-cfile83066) (if ... ...)))(c:\\webservices\\classes\\org\\aarp\\common\\ejb\\EJBHelper.class) funcall((lambda (--with-all-class-infos-cfile83066) \nCommon Lisp lambda list:\n (cl-none --WITH-ALL-CLASS-INFOS-CFILE83066)\n\n (if (string-match .[Cc][Ll][Aa][Ss][Ss]$ --with-all-class-infos-cfile83066) (if ... ...))) c:\\webservices\\classes\\org\\aarp\\common\\ejb\\EJBHelper.class) (if (file-directory-p --with-all-class-files-dir2-sym83070) (cl-block-wrapper (catch ... ...)) (funcall (symbol-value G83084) --with-all-class-files-dir2-sym83070)) (lambda (G83084 G83085 G83086 --with-all-class-files-dir2-sym83070) (if (file-directory-p --with-all-class-files-dir2-sym83070) (cl-block-wrapper ...) (funcall ... --with-all-class-files-dir2-sym83070)))(--G83077-- --G83078-- --G83079-- c:\\webservices\\classes\\org\\aarp\\common\\ejb\\EJBHelper.class) apply((lambda (G83084 G83085 G83086 --with-all-class-files-dir2-sym83070) (if (file-directory-p --with-all-class-files-dir2-sym83070) (cl-block-wrapper ...) (funcall ... --with-all-class-files-dir2-sym83070))) --G83077-- --G83078-- --G83079-- c:\\webservices\\classes\\org\\aarp\\common\\ejb\\EJBHelper.class) (lambda (rest --cl-rest--) \nCommon Lisp lambda list:\n (cl-none --WITH-ALL-CLASS-FILES-DIR2-SYM83070)\n\n (apply (quote ...) (quote --G83077--) (quote --G83078--) (quote --G83079--) --cl-rest
Re: Bug Report JDE2.3.3beta1
I commented out the jde-plugin-minor-mode call and now syntax highlighting works. --- Jens Lautenbacher [EMAIL PROTECTED] wrote: On Tue, 2003-06-17 at 19:20, Paul Kinnucan wrote: I also don't get syntax highlighting on XEmacs 21.4 and I have no clue as to why. AFAIK there are no changes related to syntax highlighting in the beta release. I was hoping by releasing this beta that Andy Piper or some other XEmacs maven would take a look at this problem and any other XEmacs incompatibilities and provide me with fixes. If I don't hear from anybody in the next few days, I'll try to track down the problem myself. problem seems to be related to the plugin stuff. It works for me when I comment out the call (jde-plugin-minor-mode 1) in jde.el __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
RE: Bug Report JDE2.3.3beta1
So would I be wrong in saying cross-refrencer will not work in Xemacs on Windows? Jeba --- Andy Piper [EMAIL PROTECTED] wrote: Its probably a mule issue. Did you build your linux version with mule? There is no mule support for XEmacs on windows currently, I think this will be fixed in 22.0. But even so relying on mule features is highly backwardsly incompatible. I suspect that this only works on the very latest Emacsen also. My guess is that this is a limitation of xemacs on Windows. I can use utf-8 as an encoding system on xemacs on Linux. Perhaps on the mailing list that knows a bit more about xemacs can help? andy __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
JDE-2.3.3beta2 - Field and Method Completion
Field and Method completion seems to slow. There seems to be at least 2 to 3 second delay in showing the dialog box for possible completions. Jeba __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Re: [jde] JDE-2.3.3beta2 - Field and Method Completion
Compared to 2.3.2, 2.3.3beta2 Field and Method completion is slow. In 2.3.2, completion was almost instaneous, except the first time completion was called. Jeba --- Paul Kinnucan [EMAIL PROTECTED] wrote: Raul Acevedo writes: Paul Kinnucan wrote: Emacs is not multithreaded. You can try to interleave operations between keystrokes but this is dicey. Further, the current file is not necessarily ever going to be completed in the current session. Emacs Lisp isn't, but Emacs can start asynchronous processes. If JDEE uses Java reflection, I'm assuming this is done in the BSH buffer... Yes. I suppose. One possibility might be to start a process when emacs starts up that builds a completion database for the entire classpath in the background and ships it over to Emacs either via standard I/O or via a temporary file. Provision would need to be made for updating the database as files are compiled. - Paul It's possible create multiple BSH buffers to handle multiple async requests. You create a new one (up to a configurable max) when all others are busy, otherwise you pick the first free one. I did something like this for my MIT undergrad thesis, which was done in Emacs Lisp... it's been a while, but I'm sure something like this is possible. It shouldn't even be that bad to set up, if you properly abstract how you dispatch a subprocess request. One use is for the JDEE to build its own completion database, e.g., semantic, that does not rely on Java reflection. This approach has been discussed at length on this list several times over the last three years. Please refer to the archive for more info. Interesting. I'll have to look it up... Raul __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Variable in Project File
Hello All, Is there a way to define a variable in prj.el and refrence that in the prj.el file? For example, set project_home = c:/someproject then in the classpath {project_home}/classes. Thanks for your help. Jeba __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
JDE Ant Problem
Hello All, I am using Emacs 21.3 with JDEE 2.3.3 on Win XP Pro. I am trying to build using ant and getting the following problem: Emacs puts quotes around the build file name and ant in interpreting the quotes as part of the file name. How to tell Emacs or JDEE not to put quotes around the file name? Example of the error is pasted below: c:/apache-ant-1.6.0/bin/ant.bat -Dant.home=c:/apache-ant-1.6.0 -buildfile 'c:/project/ant/build.xml' -emacs build-project-ejb Buildfile: 'c:\heartbeat\ant\build.xml' does not exist! Build failed __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/