3 ;; SEMI-CFG: installation setting about SEMI.
9 (defvar default-load-path load-path)
11 (add-to-list 'load-path
12 (expand-file-name "../../site-lisp/apel" data-directory))
13 (add-to-list 'load-path
14 (expand-file-name "." data-directory))
16 (when (boundp 'LISPDIR)
17 (add-to-list 'default-load-path LISPDIR)
18 (add-to-list 'load-path LISPDIR)
19 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
24 (error (error "Please install APEL 8.7 or later.")))
26 (add-path "bitmap-mule")
29 (add-to-list 'load-path (expand-file-name "."))
31 (or (module-installed-p 'calist)
32 (error "Please install APEL 8.7 or later."))
33 (or (module-installed-p 'mel)
34 (error "Please install FLIM 1.1.0 or later."))
35 (if (module-installed-p 'tm-view)
36 (error "Please remove tm from load-path."))
39 ;;; @ Please specify optional package directory if you use them.
42 ;; It is only necessary to use `add-path' if these packages are not
43 ;; already on the standard load-path of Emacs.
45 ;; Function `get-latest-path' detect latest version of such package
46 ;; under load-path directories. If you want to use a version of a
47 ;; package instead of latest version, please specify by argument of
48 ;; function `add-path'.
50 ;; Function `add-path' finds path under load-path directories. If a
51 ;; package does not exist in load-path, please specify by absolutely
52 ;; (`~/' is available), for example
53 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
55 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
58 ;;; @@ Please specify Mailcrypt path.
61 ;; Use latest version installed in load-path.
63 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
68 ;; Or please specify path.
69 ;; (add-path "mailcrypt-3.4" 'all-paths)
72 ;;; @@ Please specify BBDB path.
75 (let ((path (get-latest-path "bbdb" 'all-paths)))
80 ;; Or please specify path.
81 ;; (add-path "bbdb-1.50" 'all-paths)
87 ;; Please specify shell command path.
89 (find-if (function file-exists-p)
90 '("/bin/sh" "/usr/bin/sh")
93 ;; Please specify shell command option.
94 (setq SHELLOPTION "-c")
97 ;;; @ Please specify prefix of install directory.
100 ;; Please specify install path prefix.
101 ;; If it is omitted, shared directory (maybe /usr/local is used).
102 (defvar PREFIX install-prefix)
105 ;; Please specify install path prefix for binaries.
107 (if (or running-emacs-18 running-xemacs)
108 (expand-file-name "../../.." exec-directory)
109 (expand-file-name "../../../.." exec-directory)
112 ;; Please specify emu prefix [optional]
114 (if (string-match "XEmacs" emacs-version)
118 ;; Please specify SEMI prefix [optional]
119 (setq SEMI_PREFIX "semi")
125 ;; Please specify binary path.
126 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
128 ;; Please specify binary path. (for external method scripts)
129 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
134 ;;; @ optional settings
137 ;; It is generated by automatically. Please set variable `PREFIX'.
138 ;; If you don't like default directory tree, please set it.
139 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
140 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
142 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
143 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
145 (setq METHOD_SRC_DIR "methods")
147 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
151 ;;; SEMI-CFG ends here