Hi.

Is there a way for me to change the frequency with which the current buffer
is 
re-parsed by the JDE? Every 2-3 seconds it is locking up my buffer so I have
to 
wait for it to finish. It is becoming extremely tiresome 8-)

I did run the makefile as instructed to speed things up, but that does not
seem 
to have helped.

I am running emacs version 20.6.1 (sparc-sun-solaris2.6, X toolkit) of Thu
Jul 27 2000
The version of the 
- elib-1.0
- jde-2.2.5
- semantic-1.2.1
- speedbar-0.12
I also have jsee, jmaker, jpack, recentf, and jdok modules installed

Here is my .emacs file...
-------------------------
;; 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.
;;
;; BAM NOTE - Changed 'jde-2.1.9' to 'jde',  'semantic-1.2' to 'semantic', 
;;            and 'speedbar-0.11' to 'speedbar'
;;            There are symbolic links to the real installations.
;;(add-to-list 'load-path (expand-file-name "~/emacs/site/jde-2.1.9/lisp"))
;;(add-to-list 'load-path (expand-file-name "~/emacs/site/semantic-1.2"))
;;(add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar-0.11"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/semantic"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/elib"))
;; Java tools for emacs from David Ponce <[EMAIL PROTECTED]>
;; http://perso.wanadoo.fr/david.ponce/
(add-to-list 'load-path (expand-file-name "~/emacs/site/jmaker"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/jpack"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/jsee"))
(add-to-list 'load-path (expand-file-name "~/emacs/site/jjar"))

;; BAM NOTE - These are from the original .emacs from Michael Braverman
;; minus the JDE he had... (see below)
(setq load-path 
      (append '("~/emacs/lisp/"
;               "~/emacs/lisp/custom/"
;               "~/emacs/lisp/cc-mode/"
                ) 
              load-path)
      )


;; 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)
;; BAM NOTE - switched these two statements.

(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)
  (require 'jmaker)
  (require 'jpack)
  (require 'jsee)
  (require 'jjar)
)


;; Sets the basic indentation for Java source files
;; to four spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 4))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

;;
;; Various tools for emacs from David Ponce <[EMAIL PROTECTED]>
;; http://perso.wanadoo.fr/david.ponce/
;;
(add-to-list 'load-path (expand-file-name "~/emacs/site/recentf"))
(require 'recentf)
(recentf-mode 1)
(add-to-list 'load-path (expand-file-name "~/emacs/site/swbuff"))
(require 'swbuff)

;;
;; These are compiling options which specify the shell under which the
;; commands should be run... 
;;
(setq shell-file-name "tcsh")

;; ------------------------------------------------
;; BAM NOTE - Original (pre-JDE) .emacs file. 
;;
;; Added this load-path definition to above list 
;; minus the JDE stuff...
;;
;;(setq load-path 
;;      (append '("~/emacs/lisp/"
;;;             "~/emacs/lisp/custom/"
;;;             "~/emacs/lisp/cc-mode/"
;;;             "~/emacs/lisp/jde/"
;;              ) 
;;            load-path)
;;      )

;; BAM NOTE - Unsure what this does.
(put 'eval-expression 'disabled nil)

;; BAM NOTE - Unsure whether this is current JDE stuff, because it was 
;;            for a different installation. Commenting out for now.
;;
;; ;(load "jde")
;; ;(setq jde-web-browser "netscape")
(setq jde-doc-dir "/rap/tools/default/usr/jdk2.1/")
;(jde-db-set-source-paths "/rap/tools/default/usr/jdk2.1/")

;;
;; Perl stuff...
;;
(autoload 'perl-mode "cperl-mode" "alternate mode for editing Perl programs"
t)
(setq cperl-hairy t)
(setq auto-mode-alist
       (append '(("\\.[pP][Llm]$" . perl-mode) ("\\.module" . perl-mode))
auto-mode-alist))

;;
;; goto line shortcut (from Michael Braverman)
;;
(global-set-key "\C-cl" 'goto-line)

;;
;; Unsure what this does... (from Michael Braverman)
;;
(put 'upcase-region 'disabled nil)

;;
;; From turbine site. Sets tabs to spaces and sets the tab stop to 4 spaces.
;;
(setq-default tab-width 4 indent-tabs-mode nil)

--------------------------------------------------------------------------

Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ben A. Michaud
Oxford Health Plans, 48 Monroe Turnpike, Trumbull, CT 06611 
[EMAIL PROTECTED] || 203.459.7990
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to