3 ;; SEMI-CFG: installation setting about WEMI.
7 (defvar default-load-path load-path)
9 (add-to-list 'load-path
10 (expand-file-name "../../site-lisp/apel" data-directory))
11 (add-to-list 'load-path
12 (expand-file-name "." data-directory))
14 (when (boundp 'LISPDIR)
15 (add-to-list 'default-load-path LISPDIR)
16 (add-to-list 'load-path LISPDIR)
17 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
22 (error (error "Please install APEL 8.7 or later.")))
25 (add-path "bitmap-mule")
28 (add-to-list 'load-path (expand-file-name "."))
30 (or (module-installed-p 'calist)
31 (error "Please install APEL 8.7 or later."))
32 (or (module-installed-p 'mel)
33 (error "Please install FLIM."))
34 (if (module-installed-p 'tm-view)
35 (error "Please remove tm from load-path."))
38 ;;; @ Please specify optional package directory if you use them.
41 ;; It is only necessary to use `add-path' if these packages are not
42 ;; already on the standard load-path of Emacs.
44 ;; Function `get-latest-path' detect latest version of such package
45 ;; under load-path directories. If you want to use a version of a
46 ;; package instead of latest version, please specify by argument of
47 ;; function `add-path'.
49 ;; Function `add-path' finds path under load-path directories. If a
50 ;; package does not exist in load-path, please specify by absolutely
51 ;; (`~/' is available), for example
52 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
54 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
57 ;;; @@ Please specify Mailcrypt path.
60 ;; Use latest version installed in load-path.
62 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
67 ;; Or please specify path.
68 ;; (add-path "mailcrypt-3.4" 'all-paths)
71 ;;; @@ Please specify BBDB path.
74 (let ((path (get-latest-path "bbdb" 'all-paths)))
79 ;; Or please specify path.
80 ;; (add-path "bbdb-1.50" 'all-paths)
86 ;; Please specify shell command path.
88 (find-if (function file-exists-p)
89 '("/bin/sh" "/usr/bin/sh")
92 ;; Please specify shell command option.
93 (setq SHELLOPTION "-c")
96 ;;; @ Please specify prefix of install directory.
99 ;; Please specify install path prefix.
100 ;; If it is omitted, shared directory (maybe /usr/local is used).
101 (defvar PREFIX install-prefix)
104 ;; Please specify install path prefix for binaries.
106 (if (or running-emacs-18 running-xemacs)
107 (expand-file-name "../../.." exec-directory)
108 (expand-file-name "../../../.." exec-directory)
111 ;; Please specify emu prefix [optional]
113 (if (string-match "XEmacs" emacs-version)
117 ;; Please specify SEMI prefix [optional]
118 (setq SEMI_PREFIX "semi")
124 ;; Please specify binary path.
125 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
127 ;; Please specify binary path. (for external method scripts)
128 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
133 ;;; @ optional settings
136 ;; It is generated by automatically. Please set variable `PREFIX'.
137 ;; If you don't like default directory tree, please set it.
138 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
139 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
141 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
142 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
144 (setq METHOD_SRC_DIR "methods")
146 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
150 ;;; SEMI-CFG ends here