;;; -*-Emacs-Lisp-*-
;;;
-;;; $Id: SEMI-CFG,v 0.3 1997-02-28 04:20:28 tmorioka Exp $
+;;; $Id: SEMI-CFG,v 0.4 1997-03-03 17:52:59 morioka Exp $
;;;
(defvar default-load-path load-path)
(lambda (path)
(expand-file-name path default-directory)
))
- '("." "../emu" "../tl" "../bitmap-mule"
+ '("." "../emu" "../apel" "../bitmap-mule"
"../mu" "../mel"
"../emh" "../gnus-mime" "../rmail-mime")
)
(expand-file-name "../../../.." exec-directory)
))
+;; Please specify emu prefix [optional]
+(setq EMU_PREFIX
+ (if (string-match "XEmacs" emacs-version)
+ "emu"
+ ""))
+
+;; Please specify APEL prefix [optional]
+(setq APEL_PREFIX "apel")
+
;; Please specify prefix for ``bitmap-mule'' [optional]
(setq BITMAP_PREFIX "bitmap")
;; Please specify SEMI prefix [optional]
(setq SEMI_PREFIX "semi")
-;; lisp files of SEMI are installed into following directory tree:
-;;
-;; <LISPDIR> = <PREFIX>/DATA_PREFIX/<install-elisp-prefix>/
-;; <LISPDIR>/mime-setup.{el|elc}
-;; <LISPDIR>/<BITMAP_PREFIX>/ --- bitmap lisp files
-;; <LISPDIR>/<MU_PREFIX>/ --- MU lisp files
-;; <LISPDIR>/<MEL_PREFIX>/ --- MEL lisp files
-;; <LISPDIR>/<SEMI_PREFIX>/ --- SEMI lisp files
-;;
-;; For example, if <PREFIX> = "/usr/local" and you use Emacs 19.34,
-;;
-;; <LISPDIR> = /usr/local/share/emacs/site-lisp/
-;; /usr/local/share/emacs/site-lisp/mime-setup.{el|elc}
-;; /usr/local/share/emacs/site-lisp/ --- tl lisp files
-;; /usr/local/share/emacs/site-lisp/mu/ --- MU lisp files
-;; /usr/local/share/emacs/site-lisp/mel/ --- MEL lisp files
-;; /usr/local/share/emacs/site-lisp/semi/ --- SEMI lisp files
-;;
-;; For example, if <PREFIX> = "~/" and you use XEmacs,
-;;
-;; <LISPDIR> = ~/share/xemacs/site-lisp/
-;; ~/lib/xemacs/site-lisp/mime-setup.{el|elc}
-;; ~/lib/xemacs/site-lisp/tl/ --- tl lisp files
-;; ~/lib/xemacs/site-lisp/mu/ --- MU lisp files
-;; ~/lib/xemacs/site-lisp/mel/ --- MEL lisp files
-;; ~/lib/xemacs/site-lisp/semi/ --- SEMI lisp files
-
;;; @ executables
;;;
(defvar LISPDIR (install-detect-elisp-directory PREFIX))
;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
+(setq EMU_DIR
+ (expand-file-name
+ EMU_PREFIX
+ (install-detect-elisp-directory PREFIX nil 'version-specific)))
+
+(setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR))
(setq BITMAP_DIR (expand-file-name BITMAP_PREFIX LISPDIR))
(setq MU_DIR (expand-file-name MU_PREFIX LISPDIR))
(setq MEL_DIR (expand-file-name MEL_PREFIX LISPDIR))
(setq SEMI_VM_DIR SEMI_KERNEL_DIR)
(cond ((member LISPDIR default-load-path)
+ (setq APEL_RELATIVE_DIR APEL_PREFIX)
(setq BITMAP_RELATIVE_DIR BITMAP_PREFIX)
(setq MU_RELATIVE_DIR MU_PREFIX)
(setq MEL_RELATIVE_DIR MEL_PREFIX)
)
((string-match (concat "^" (regexp-quote (expand-file-name "~/")))
LISPDIR)
+ (setq APEL_RELATIVE_DIR
+ (concat "~/" (file-relative-name APEL_DIR "~/"))
+ )
(setq BITMAP_RELATIVE_DIR
(concat "~/" (file-relative-name BITMAP_DIR "~/"))
)
)
)
(t
+ (setq APEL_RELATIVE_DIR APEL_DIR)
(setq BITMAP_RELATIVE_DIR BITMAP_DIR)
(setq MU_RELATIVE_DIR MU_DIR)
(setq MEL_RELATIVE_DIR MEL_DIR)