.emacs-my
changeset 431 84a5ac36edab
parent 430 16e7a5a565a9
child 432 650ccece6b01
equal deleted inserted replaced
430:16e7a5a565a9 431:84a5ac36edab
  1103 (add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
  1103 (add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
  1104 
  1104 
  1105 ;; ----------------------------------------------------------------------
  1105 ;; ----------------------------------------------------------------------
  1106 ;; java.
  1106 ;; java.
  1107 
  1107 
  1108 ;; Update the Emacs load-path to include the path to
  1108 ;; If you want Emacs to defer loading the JDE until you open a Java file, edit
  1109 ;; the JDE and its require packages. This code assumes
  1109 ;; the following line:
  1110 ;; that you have installed the packages in the emacs/site
  1110 
  1111 ;; subdirectory of your home directory.
  1111 ;; (setq defer-loading-jde t)
  1112 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/semantic"))
       
  1113 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/speedbar"))
       
  1114 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/elib-1.0"))
       
  1115 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/eieio"))
       
  1116 ;; (add-to-list 'load-path (expand-file-name "~/emacs/site/jde-2.3.5.1/lisp"))
       
  1117 
       
  1118 ;; If you want Emacs to defer loading the JDE until you open a
       
  1119 ;; Java file, edit the following line
       
  1120 ;; (setq defer-loading-jde nil)
       
  1121 ;; to read:
       
  1122 ;;
       
  1123 ;;  (setq defer-loading-jde t)
       
  1124 ;;
       
  1125 
       
  1126 ;; (if defer-loading-jde
  1112 ;; (if defer-loading-jde
  1127 ;;     (progn
  1113 ;;     (progn
  1128 ;;       (autoload 'jde-mode "jde" "JDE mode." t)
  1114 ;;       (autoload 'jde-mode "jde" "JDE mode." t)
  1129 ;;       (add-to-list 'auto-mode-alist '("\\.java\\'" . jde-mode))
  1115 ;;       (add-to-list 'auto-mode-alist '("\\.java\\'" . jde-mode))
  1130 ;;       (require 'jde)))
  1116 ;;       (require 'jde)))
  1131 
  1117 
  1132 
       
  1133 ;; Sets the basic indentation for Java source files
       
  1134 ;; to two spaces.
       
  1135 ;; (defun my-jde-mode-hook ()
       
  1136 ;;   (setq c-basic-offset 2))
       
  1137 
       
  1138 ;; (add-hook 'jde-mode-hook 'my-jde-mode-hook)
       
  1139 
       
  1140 ;; (require 'jde)
       
  1141 
       
  1142 ;; ----------------------------------------------------------------------
  1118 ;; ----------------------------------------------------------------------
  1143 ;; ECB.
  1119 ;; ECB.
  1144 
  1120 
  1145 (setq ecb-tip-of-the-day nil)
  1121 (setq ecb-tip-of-the-day nil)
  1146 ;; (add-to-list 'load-path  "~/emacs/site/ecb-2.32")
       
  1147 ;; (require 'ecb)
       
  1148 
       
  1149 ;; (global-set-key (kbd "\e\eE") 'ecb-activate)
       
  1150 
  1122 
  1151 ;; ----------------------------------------------------------------------
  1123 ;; ----------------------------------------------------------------------
  1152 ;; html.
  1124 ;; html.
  1153 
  1125 
  1154 ;; ----------------------------------------------------------------------
  1126 ;; ----------------------------------------------------------------------