Hi,
I have this annoying little problem while editing java files.
The buffer is re-parsed whenever i make a change in the code and the
minibuffer displays ...
Test.java: [#########################################################]
...done.
I tried disabling the auto parse buffer. but it does not work.
Please help me. I want to disable the re-parsing completely.
My platform is Windows NT 4.0
jde-2.2.5
NTEmacs 20.7
My complete .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)
(setq make-backup-files nil)
(global-font-lock-mode t)
(global-set-key "\C-q" 'goto-line)
(setq user-full-name "Kumar Gopalakrishnan")
(setq user-mail-address "[EMAIL PROTECTED]")
(setq smtpmail-default-smtp-server "inkt-2.inktomi.com")
(setq smtpmail-local-domain nil)
(setq send-mail-function 'smtpmail-send-it)
(setq smtpmail-debug-info nil)
(setq jde-parse-buffer-changed-p nil)
(setq jde-auto-parse-buffer-timer nil)
(setq jde-auto-parse-enable nil)
;; (setq jde-auto-parse-buffer-interval 60)
(setenv "MAILHOST" "inkt-2.inktomi.com")
(setq rmail-primary-inbox-list
'("po:kaswamy") rmail-pop-password-required t)
(load-library "smtpmail")
;; (set-background-color "black")
;; (set-foreground-color "white")
;; (set-cursor-color "white")
(set-default-font "-*-Andale Mono-normal-i-*-*-13-*-*-*-c-ansi-")
(setq default-frame-alist '((width . 60) (height . 70)))
;; 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:/emacs/add-on/jde-2.2.5/lisp"))
(add-to-list 'load-path (expand-file-name
"d:/emacs/site/semantic/semantic-1.2.1"))
(add-to-list 'load-path (expand-file-name
"d:/emacs/site/speedbar/speedbar-0.12"))
(add-to-list 'load-path (expand-file-name
"d:/emacs/site/elib/elib-1.0"))
(add-to-list 'load-path (expand-file-name "d:/emacs/site/ep3m-098"))
(require 'jde)
(defun javadoc-method-comment ()
;; Insert a javadoc method comment at the cursor position
(interactive)
(insert
"/**
*
*
*
*
* @param
* @return
* @exeption
* @see
*/
")/
(previous-line 8)
(end-of-line))
(define-key java-mode-map [f2] 'javadoc-method-comment)
(defun copyright-comment ()
;; insert a copyright code at the top of the class at cursor position
(interactive)
(insert
"/**
*
*
*
*
* @author Kumar Gopalakrishnan ([EMAIL PROTECTED])
* @version
*
* <br>Copyright (c) 2000 Inktomi Corporation. All rights reserved.
*/
")/
(previous-line 8)
(end-of-line))
(define-key java-mode-map [f1] 'copyright-comment)
;; 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)
(show-paren-mode 1)
(custom-set-variables
'(jde-run-option-verbose (quote (nil nil nil)))
'(jde-compile-option-classpath (quote ("d:/inktomi")))
'(jde-run-option-application-args (quote ("5555 12000 200 10")))
'(jde-compile-option-directory "d:/inktomi"))
(custom-set-faces)
;;color themes
(require 'color-theme)
(color-theme-jonadabian)
;;display time on mode line
(display-time)
---------------------
but still the problems persist.
help me.
thanks in advance
--
Kumar Gopalakrishnan [EMAIL PROTECTED]
Software Applications Developer
650.653.6916
Inktomi Corporation