3 ;;; $Id: SEMI-CFG,v 1.4.6.1 1998-04-13 17:27:25 morioka Exp $
6 (defvar default-load-path load-path)
8 (add-to-list 'load-path
9 (expand-file-name "../../site-lisp/apel" data-directory))
10 (add-to-list 'load-path
11 (expand-file-name "." data-directory))
13 (when (boundp 'LISPDIR)
14 (add-to-list 'default-load-path LISPDIR)
15 (add-to-list 'load-path LISPDIR)
16 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
21 (error (error "Please install APEL 8.2 or later.")))
24 (add-path "bitmap-mule")
27 (add-to-list 'load-path (expand-file-name "."))
29 (or (module-installed-p 'calist)
30 (error "Please install APEL 8.2 or later."))
31 (or (module-installed-p 'mel)
32 (error "Please install FLIM."))
33 (if (module-installed-p 'tm-view)
34 (error "Please remove tm from load-path."))
37 ;;; @ Please specify optional package directory if you use them.
40 ;; It is only necessary to use `add-path' if these packages are not
41 ;; already on the standard load-path of Emacs.
43 ;; Function `get-latest-path' detect latest version of such package
44 ;; under load-path directories. If you want to use a version of a
45 ;; package instead of latest version, please specify by argument of
46 ;; function `add-path'.
48 ;; Function `add-path' finds path under load-path directories. If a
49 ;; package does not exist in load-path, please specify by absolutely
50 ;; (`~/' is available), for example
51 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
53 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
56 ;;; @@ Please specify Mailcrypt path.
59 ;; Use latest version installed in load-path.
61 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
66 ;; Or please specify path.
67 ;; (add-path "mailcrypt-3.4" 'all-paths)
70 ;;; @@ Please specify BBDB path.
73 (let ((path (get-latest-path "bbdb" 'all-paths)))
78 ;; Or please specify path.
79 ;; (add-path "bbdb-1.50" 'all-paths)
85 ;; Please specify shell command path.
87 (find-if (function file-exists-p)
88 '("/bin/sh" "/usr/bin/sh")
91 ;; Please specify shell command option.
92 (setq SHELLOPTION "-c")
95 ;;; @ Please specify prefix of install directory.
98 ;; Please specify install path prefix.
99 ;; If it is omitted, shared directory (maybe /usr/local is used).
100 (defvar PREFIX install-prefix)
103 ;; Please specify install path prefix for binaries.
105 (if (or running-emacs-18 running-xemacs)
106 (expand-file-name "../../.." exec-directory)
107 (expand-file-name "../../../.." exec-directory)
110 ;; Please specify emu prefix [optional]
112 (if (string-match "XEmacs" emacs-version)
116 ;; Please specify SEMI prefix [optional]
117 (setq SEMI_PREFIX "semi")
123 ;; Please specify binary path.
124 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
126 ;; Please specify binary path. (for external method scripts)
127 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
132 ;;; @ optional settings
135 ;; It is generated by automatically. Please set variable `PREFIX'.
136 ;; If you don't like default directory tree, please set it.
137 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
138 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
140 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
141 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
143 (setq METHOD_SRC_DIR "methods")
145 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
149 ;;; SEMI-CFG ends here