On Thu, Jun 24, 1999 at 08:45:08AM -0400, Paul Kinnucan wrote:
> >
> >BeanShell 0.96 beta - by Pat Niemeyer ([EMAIL PROTECTED]) 
> >(list "java.lang.System") 
> >bsh %
> >
> 
> Interactions between internal JDE code and the BeanShell do not appear
> in the bsh window. 
> 

Then I guess I see the ouput because jde has already given up by the
time bsh starts.

> 1)  .emacs file
attached

> 
> 2)  Version of the JDK you are using.
> 
jdk 1.1.6 and/or 1.1.8

> 3)  Path to the JDK javadoc directory on your system.
/usr/local/jdk/docs, also tried
/usr/local/jdk/docs/apis wasn't sure which.

relevent .emacs section but whole thing is attached:

(require 'jde)
(setq-default jde-db-source-directories nil)
(setq-default jde-run-applet-doc nil)
(custom-set-variables 
.
.
ler "/home/bgiaccio/jikes/jikes")
 '(jde-compile-option-debug t)
 '(jde-global-classpath (quote ("/home/bgiaccio/work/genoa" 
"/usr/local/dmif/dmif2/JSDT-1.4-eval/lib/jsdt.jar" "/usr/local/vbroker/lib/vbjorb.jar" 
"/usr/local/vbroker/lib/vbjapp.jar" "/home/bgiaccio/work/dmif2/beans/beans-devel/" 
"/home/slubenec/proj/dmif2/baseline/beans-devel/" "/home/bgiaccio/work/dmif2/" 
"/home/slubenec/proj/dmif2/baseline/classes/" "/usr/local/jdk/lib/classes.zip" 
"/usr/local/dmif/dmif2/swing/swingall.jar" "/home/bgiaccio/cs_classes/cs555/")))
 '(jde-help-javadoc-dirs (quote ("/usr/local/jdk/docs" "/usr/local/jdk/docs/api")))
 '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"public class \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" {\" 'n> 'n>" "\"public \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" "'n>" "\"}\" 'n>" "'n>" 
"\"public static void main(String[] args) {\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"} // 
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'n>" 
"(jpack-package-update)")))
 '(jde-gen-try-catch (quote ("'n>" "\"try {\" 'n>" "'p 'n >" "\"} catch (Exception ex) 
{\" 'n>" "\"ex.printStackTrace();\" 'n>" "\"}\" 'n>")))
 '(jde-gen-get-set-var-template (quote ("'& (P \"Variable type: \" type) \" \"" "(P 
\"Variable name: \" name) \";\" 'n> 'n>" "\"public \" (s type) \" get\" (capitalize 
(jde-gen-lookup-named 'name))" "\"() {return \" (s name) \";}\" 'n> 'n>" "\"public 
void set\" (capitalize (jde-gen-lookup-named 'name))" "\"(\" (s type) \"  v) {\" (s 
name) \" = v;}\" 'n>")))
 '(jde-gen-buffer-boilerplate (quote ("/** 
*************************************************************" " * $Source: 
/home/bgiaccio/RCS/.emacs,v $" " * $Revision: 1.32 $" " * $Date: 1999/05/14 16:27:45 
$" " * Most Recent $Author: bgiaccio $" " *" " * Usage: " " 
***************************************************************/ " "package ;" "")))
 '(jde-mode-abbreviations (quote (("bo" . "boolean") ("con" . "continue") ("impl" . 
"implements") ("impo" . "import") ("ins" . "instanceof") ("inte" . "interface") ("pri" 
. "private") ("pro" . "protected") ("pub" . "public") ("su" . "super") ("sync" . 
"synchronized"))))
 '(jde-compile-option-classpath nil)
 '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"public class \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" \" (jde-gen-get-super-class) \" {\" 'n> 'n>" "\"public \"" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" 
"'p 'n>" "\"}\" 'n>" "'n>" "\"} // \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "'n>" "(jpack-package-update)")))
 '(jde-enable-abbrev-mode t)
 '(jde-db-source-directories (quote ("../" "../../" 
"/home/bgiaccio/work/dmif2/beans-devel/")))
 '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"import java.awt.*;\" 'n" "\"import java.awt.event.*;\" 'n" "\"import 
com.sun.java.swing.*;\" 'n 'n" "\"public class \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\" extends JFrame {\" 'n> 'n>" "\"public 
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"() {\" 
'n>" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" 'n>" "\"setSize(600, 400);\" 
'n>" "\"addWindowListener(new WindowAdapter() {\" 'n>" "\"public void 
windowClosing(WindowEvent e) {System.exit(0);}\" 'n>" "\"public void 
windowOpened(WindowEvent e) {}});\" 'n>" "\"}\" 'n>" "'n>" "\"public static void 
main(String[] args) {\" 'n>" "'n>" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\"();\" 'n>" "\"f.show();\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"} // 
\"" "(file-nam!
 e-sans-extension (file-name-nondirectory buffer-file-name))" "'n>" 
"(jpack-package-update)")))
.


;; Options Menu Settings
;; =====================
(cond
 ((and (string-match "XEmacs" emacs-version)
       (boundp 'emacs-major-version)
       (or (and
            (= emacs-major-version 19)
            (>= emacs-minor-version 14))
           (>= emacs-major-version 20))
       (fboundp 'load-options-file))
  (load-options-file "/home/bgiaccio/.xemacs-options")))
;; ============================
;; End of Options Menu Settings
(cond ((string-match ":0" (getenv "DISPLAY"))
                     (load-default-sounds)
                     (setq bell-volume 25))
                    (t
                     (setq bell-volume 25)
                     (setq sound-alist
                           (append sound-alist '((no-completion :pitch 100))))
                     ))
;;load style
(load-file "/home/bgiaccio/.emacs-style")

;;{{{ Pathes

;;set load path
(setq-default load-path (append
                                '("/home/bgiaccio/elisp")
                                '("/home/bgiaccio/java/speedbar")
                                '("/home/bgiaccio/java/jde")
                                load-path))

;;find local info nodes
(setq Info-default-directory-list
      (append Info-default-directory-list
              '("/home/bgiaccio/teTeX/info")
              '("/home/bgiaccio/fileutils/info")
              ))

(setq-default data-directory-list (append
                                   '("/home/bgiaccio/java/")
                                   data-directory-list))

;;}}}

;;{{{ Environment

(require 'uniquify)
(load "bubble" nil t)

;;{{{ Folding

(load "folding" 'nomessage 'noerror)
(folding-mode-add-find-file-hook)
(fold-add-to-marks-list 'xrdb-mode "!{{ " "!}}")

;;}}}

;;{{{ Hideshow

(load-library "hideshow")
(defun my-hs-setup () "enables hideshow and binds some commands"
  (hs-minor-mode 1)
  (define-key hs-minor-mode-map "\C-c," 'hs-hide-block)
  (define-key hs-minor-mode-map "\C-c." 'hs-show-block)
  (hs-hide-all))
;(add-hook 'c-mode-hook 'my-hs-setup t)   ; other modes similarly

(require 'ctypes)
(setq ctypes-write-types-at-exit t)
(ctypes-read-file nil nil t t)
(ctypes-auto-parse-mode 1)

;;}}}

(setq viper-mode t)
(require 'viper)
(setq-default viper-auto-indent t)
(setq-default track-eol t)
(setq indent-tabs-mode nil)

(load "buffermenu")
(iswitchb-default-keybindings)


(setq mouse-yank-at-point t)
(setq options-save-faces 't)

;;{{{ move all backups to one directory

;;;; creates dir if not there
(require 'backup-dir)
(setq bkup-backup-directory-info
      '((t "~/.backups/" ok-create full-path)))

;;}}}
(setq-default compile-command "make")
(setq-default special-display-buffer-names
           '("*compilation*" "dired" "*grep*"))
(setq minibuffer-confirm-incomplete t)
(setq-default grep-null-device "")

(line-number-mode 1)
(column-number-mode 1)
;;compatible gets rid of the mail icon
;;and show load as a number instead of pic
(setq-default display-time-compatible t)
(setq-default display-time-24hr-format 1)
;(display-time)

(gnuserv-start)

(require 'dired)
(load "recent-files")
(recent-files-initialize)

(require 'jka-compr)
(toggle-auto-compression t)

(require 'jde)
(setq-default jde-db-source-directories nil)
(setq-default jde-run-applet-doc nil)
(require 'jdok)
(require 'jpack)
(load "jde-cflow")

(setq-default tex-dvi-view-command "xdvi")
(setq-default tex-dvi-print-command "dvips")
(setq-default x-symbol-image-colormap-allocation nil)
(if (eq (console-type) 'x) (load "x-symbol-site"))
(setq TeX-parse-self t) ; Enable parse on load.
(setq TeX-auto-save t) ; Enable parse on save.

;; Removes all trailing whitespace at the end of all lines--this setting
;; makes it ask you by default.
;;
(require 'rm-tspaces)
(setq-default rm-trailing-spaces 1)

;; Turn it on unconditionally for various programming modes
;;
(add-hook 'emacs-lisp-mode-hook 'rm-trailing-spaces-always)
(add-hook 'cperl-mode-hook 'rm-trailing-spaces-always)
(add-hook 'c-mode-common-hook 'rm-trailing-spaces-always)
(add-hook 'makefile-mode-hook 'rm-trailing-spaces-always)
;;Turn it off
(add-hook 'LaTeX-mode-hook  'rm-trailing-spaces-never)

(setq-default url-be-asynchronous t)
(setq w3-delay-image-loads t
      w3-user-fonts-take-precedence t
      w3-honor-stylesheets nil
      w3-do-incremental-display t)

(require 'session)
(add-hook 'after-init-hook 'session-initialize)
;; If you want to use both desktop and session, use:
;;   (setq desktop-globals-to-save '(desktop-missing-file-warning))

;;Default xemacs put the line and column right beofre the %p
;; due to screen layout this made it tough to see the line numbers
;; when working with the file and a compile window
(setq-default
 modeline-format
 (list
  (purecopy "")
  (cons modeline-modified-extent 'modeline-modified)
  (purecopy '(line-number-mode "L%l--"))
  (purecopy '(column-number-mode "C%c--"))
  (cons modeline-buffer-id-extent 'modeline-buffer-identification)
  (purecopy "   ")
  'global-mode-string
  (purecopy "   %[(")
  (cons modeline-minor-mode-extent (list "" 'mode-name 'minor-mode-alist))
  (cons modeline-narrowed-extent "%n")
  'modeline-process
  (purecopy ")%]----")
  (purecopy '(-3 . "%p"))
  (purecopy "-%-")))

;;}}}

;;{{{ define keys

(define-key help-map "x" 'help-mode-quit)
(global-set-key "\C-xw" 'what-line)
(global-set-key "\C-x\C-c" nil)
(global-set-key "\C-xc" 'compile)
(global-set-key "\C-xr" 'remote-compile)
(global-set-key "\C-`" 'next-error)
(global-set-key "\C-q" 'kill-buffer)
(global-set-key "\C-x\C-e" 'kill-emacs)
(define-key folding-mode-map "\C-c>" 'fold-enter)
(define-key folding-mode-map "\C-c." 'fold-enter)
(define-key folding-mode-map "\C-c<" 'fold-exit)
(define-key folding-mode-map "\C-c," 'fold-exit)

(define-key global-map [f2] 'speedbar-get-focus)
(define-key global-map [f3] 'gud-next)
(define-key global-map [f4] 'gud-step)
(define-key global-map [f5] 'gud-print)

(global-set-key [f20] 'bubble-buffer) ; or some such pair of keys
(global-set-key [f19] 'bubble-buffer-back)

;;}}}

;;{{{ custom

(custom-set-variables
 '(gnus-inhibit-startup-message t)
 '(recent-files-menu-path nil)
 '(jde-compiler "/home/bgiaccio/jikes/jikes")
 '(speedbar-show-unknown-files t)
 '(TeX-macro-global (quote ("/usr/local/lib/texmf/tex/" 
"/home/bgiaccio/teTeX/texmf/tex/")))
 '(jde-compile-option-debug t)
 '(allow-deletion-of-last-visible-frame nil)
 '(jde-global-classpath (quote ("/home/bgiaccio/work/genoa" 
"/usr/local/dmif/dmif2/JSDT-1.4-eval/lib/jsdt.jar" "/usr/local/vbroker/lib/vbjorb.jar" 
"/usr/local/vbroker/lib/vbjapp.jar" "/home/bgiaccio/work/dmif2/beans/beans-devel/" 
"/home/slubenec/proj/dmif2/baseline/beans-devel/" "/home/bgiaccio/work/dmif2/" 
"/home/slubenec/proj/dmif2/baseline/classes/" "/usr/local/jdk/lib/classes.zip" 
"/usr/local/dmif/dmif2/swing/swingall.jar" "/home/bgiaccio/cs_classes/cs555/")))
 '(speedbar-update-speed 2)
 '(uniquify-buffer-name-style (quote forward) nil (uniquify))
 '(auto-raise-frame nil)
 '(minibuf-frame-height 2)
 '(jde-help-javadoc-dirs (quote ("/usr/local/jdk/docs" "/usr/local/jdk/docs/api")))
 '(TeX-check-path (quote ("./" "/usr/local/lib/texmf/tex/" 
"/home/bgiaccio/teTeX/texmf/tex/")))
 '(gnus-local-domain "psrw.com" t)
 '(remote-compile-run-before "source ~/work/dmif2/env_siteconfig")
 '(session-set-file-name-exclude-regexp "/\\.overview\\|.emacs\\|mail/")
 '(recent-files-number-of-entries 10)
 '(speedbar-frame-plist (quote (minibuffer nil width 41 border-width 0 left 638 top 90 
internal-border-width 0 unsplittable t default-toolbar-visible-p nil has-modeline-p 
nil menubar-visible-p nil text-pointer-glyph [cursor-font :data "top_left_arrow"] 
nontext-pointer-glyph [cursor-font :data "top_left_arrow"] selection-pointer-glyph 
[cursor-font :data "hand2"])))
 '(grep-command "glimpse -z -n -F java ")
 '(compilation-mouse-motion-initiate-parsing nil)
 '(remote-compile-host "deela")
 '(ssh-explicit-args (quote ("-l topic4")))
 '(words-include-escapes t)
 '(x-symbol-image-convert-colormap (expand-file-name 
"/usr/local/dmif/dmif2/xemacs-21.0/lib/xemacs/xemacs-packages/etc/x-symbol/colormap66.xpm"))
 '(jde-gen-console-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"public class \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" {\" 'n> 'n>" "\"public \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" "'n>" "\"}\" 'n>" "'n>" 
"\"public static void main(String[] args) {\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"} // 
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "'n>" 
"(jpack-package-update)")))
 '(dired-show-ls-switches t)
 '(jde-gen-try-catch (quote ("'n>" "\"try {\" 'n>" "'p 'n >" "\"} catch (Exception ex) 
{\" 'n>" "\"ex.printStackTrace();\" 'n>" "\"}\" 'n>")))
 '(x-symbol-auto-mode-suffixes (x-symbol-auto-mode-suffixes 
x-symbol-auto-mode-suffixes))
 '(jde-gen-get-set-var-template (quote ("'& (P \"Variable type: \" type) \" \"" "(P 
\"Variable name: \" name) \";\" 'n> 'n>" "\"public \" (s type) \" get\" (capitalize 
(jde-gen-lookup-named 'name))" "\"() {return \" (s name) \";}\" 'n> 'n>" "\"public 
void set\" (capitalize (jde-gen-lookup-named 'name))" "\"(\" (s type) \"  v) {\" (s 
name) \" = v;}\" 'n>")))
 '(dired-do-highlighting nil)
 '(gnus-visual (quote (mouse-face group-menu article-menu menu highlight browse-menu 
server-menu page-marker tree-menu binary-menu pick-menu grouplens-menu)))
 '(recent-files-filename-replacements (quote (("/home/bgiaccio" . "~") 
("/bgiaccio@pitcairn:/develop/caib/shadows/bgiaccio" . "$TOP") 
("/home/slubenec/proj/dmif2/baseline" . "$DMIFTTE_DIR") 
("/usr/local/dmif/dmif2/jdksrc/java" . "JAVA") ("/bgiaccio@philana:/www/local" . 
"philana"))))
 '(jde-gen-buffer-boilerplate (quote ("/** 
*************************************************************" " * $Source: 
/home/bgiaccio/RCS/.emacs,v $" " * $Revision: 1.32 $" " * $Date: 1999/05/14 16:27:45 
$" " * Most Recent $Author: bgiaccio $" " *" " * Usage: " " 
***************************************************************/ " "package ;" "")))
 '(jde-mode-abbreviations (quote (("bo" . "boolean") ("con" . "continue") ("impl" . 
"implements") ("impo" . "import") ("ins" . "instanceof") ("inte" . "interface") ("pri" 
. "private") ("pro" . "protected") ("pub" . "public") ("su" . "super") ("sync" . 
"synchronized"))))
 '(remote-compile-prompt-for-host t)
 '(jde-compile-option-classpath nil)
 '(compile-command "/usr/local/bin/make JIKES=yes")
 '(jde-gen-class-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"public class \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" \" (jde-gen-get-super-class) \" {\" 'n> 'n>" "\"public \"" 
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"() {\" 'n>" 
"'p 'n>" "\"}\" 'n>" "'n>" "\"} // \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "'n>" "(jpack-package-update)")))
 '(session-kill-buffer-commands (quote (kill-buffer kill-this-buffer)))
 '(jde-enable-abbrev-mode t)
 '(speedbar-frame-parameters (quote ((minibuffer) (width . 41) (left . 638) (top . 90) 
(scroll-bar-width . 5) (border-width . 0) (menu-bar-lines . 0) (unsplittable . t))))
 '(compilation-always-signal-completion t)
 '(session-save-file "/home/bgiaccio/.emacs-session")
 '(jde-db-source-directories (quote ("../" "../../" 
"/home/bgiaccio/work/dmif2/beans-devel/")))
 '(user-mail-address "[EMAIL PROTECTED]" t)
 '(speedbar-track-mouse-flag t)
 '(jde-gen-jfc-app-buffer-template (quote ("(funcall jde-gen-boilerplate-function) 'n" 
"\"import java.awt.*;\" 'n" "\"import java.awt.event.*;\" 'n" "\"import 
com.sun.java.swing.*;\" 'n 'n" "\"public class \"" "(file-name-sans-extension 
(file-name-nondirectory buffer-file-name))" "\" extends JFrame {\" 'n> 'n>" "\"public 
\"" "(file-name-sans-extension (file-name-nondirectory buffer-file-name))" "\"() {\" 
'n>" "\"super(\\\"\" (P \"Enter app title: \") \"\\\");\" 'n>" "\"setSize(600, 400);\" 
'n>" "\"addWindowListener(new WindowAdapter() {\" 'n>" "\"public void 
windowClosing(WindowEvent e) {System.exit(0);}\" 'n>" "\"public void 
windowOpened(WindowEvent e) {}});\" 'n>" "\"}\" 'n>" "'n>" "\"public static void 
main(String[] args) {\" 'n>" "'n>" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\" f = new \"" "(file-name-sans-extension (file-name-nondirectory 
buffer-file-name))" "\"();\" 'n>" "\"f.show();\" 'n>" "'p 'n>" "\"}\" 'n> 'n>" "\"} // 
\"" "(file-nam!
 e-sans-extension (file-name-nondirectory buffer-file-name))" "'n>" 
"(jpack-package-update)")))
 '(query-user-mail-address nil)
 '(speedbar-sort-tags t))

;;}}}

;;{{{ Set Menu Accelerators

;;* Enable menubar accelerators (double-wow!)
(relabel-menu-item '("File") "%_File")
(relabel-menu-item '("Edit") "%_Edit")
(relabel-menu-item '("Apps") "%_Apps")
(relabel-menu-item '("Options") "%_Options")
;;(relabel-menu-item '("Buffers") "%_Buffers")
(relabel-menu-item '("Tools") "%_Tools")
(relabel-menu-item '("Recent Files") "%_Recent Files")
(relabel-menu-item '("Help") "%_Help")
(setq menu-accelerator-enabled 'menu-fallback)
(setq menu-accelerator-modifiers '(alt))
(setq menu-accelerator-prefix nil)
(define-key global-map [f10] 'accelerate-menu)

;;}}}

;(set-face-background-pixmap 'default "/home/bgiaccio/lib/graphics/blue_roc.xpm")
;(set-face-foreground 'default "grey90")
;(setq-default frame-icon-title-format frame-title-format)
;lets me have y/n instead of yes/no
(fset 'yes-or-no-p 'y-or-n-p)
(setq-default hostname (getenv "HOST"))
(setq-default frame-title-format
              (list
               (purecopy "%S")
               (purecopy "@")
               'hostname
               (purecopy ":   %b ")
               'modeline-process
               )
              )

(custom-set-faces)

(speedbar-frame-mode 1)
(autoload 'Info-speedbar-buttons "sb-info"
  "Info specific speedbar button generator.")
(autoload 'gud-speedbar-buttons "sb-gud"
  "GUD specific speedbar button generator.")
(speedbar-get-focus)

;;;*******************************************************************
;;; Rectangle Mark regions.
;;;*******************************************************************
;;;  Use C-x r C-spc to start the rectangle marking

;(define-key ctl-x-map [?r ?\C-\ ] 'rm-set-mark)
;(define-key ctl-x-map "r\C-x" 'rm-exchange-point-and-mark)
;(define-key ctl-x-map "r\C-w" 'rm-kill-region)
;(define-key ctl-x-map "r\M-w" 'rm-kill-ring-save)
;(define-key global-map [S-down-mouse-1] 'rm-mouse-drag-region)
;(autoload 'rm-set-mark "rect-mark"
;  "Set mark for rectangle." t)
;(autoload 'rm-exchange-point-and-mark "rect-mark"
;  "Exchange point and mark for rectangle." t)
;(autoload 'rm-kill-region "rect-mark"
;  "Kill a rectangular region and save it in the kill ring." t)
;(autoload 'rm-kill-ring-save "rect-mark"
;  "Copy a rectangular region to the kill ring." t)
;(autoload 'rm-mouse-drag-region "rect-mark"
;  "Drag out a rectangular region with the mouse." t)
;;(setq lpr-command "/usr/local/bin/a2ps")
;;(setq lpr-switches '("-Pprinter" buffer-name))

(vc-load-vc-hooks)
(require 'tex-site)

Reply via email to