3 ;;; $Id: SEMI-CFG,v 0.6 1997-05-13 14:06:32 morioka Exp $
6 (defvar default-load-path load-path)
7 ;; (setq load-path (append
10 ;; (expand-file-name path default-directory)
12 ;; '("." "../emu" "../apel" "../bitmap-mule"
19 (add-to-list 'default-load-path LISPDIR)
20 (add-to-list 'load-path LISPDIR)
21 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
23 (add-to-list 'load-path
24 (expand-file-name "../../site-lisp/apel" data-directory))
30 (add-path "bitmap-mule")
33 (add-to-list 'load-path (expand-file-name "."))
36 ;;; @ Please specify optional package directory if you use them.
39 ;; It is only necessary to use `add-path' if these packages are not
40 ;; already on the standard load-path of Emacs.
42 ;; Function `get-latest-path' detect latest version of such package
43 ;; under load-path directories. If you want to use a version of a
44 ;; package instead of latest version, please specify by argument of
45 ;; function `add-path'.
47 ;; Function `add-path' finds path under load-path directories. If a
48 ;; package does not exist in load-path, please specify by absolutely
49 ;; (`~/' is available), for example
50 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
52 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
55 ;;; @@ Please specify Mailcrypt path.
58 ;; Use latest version installed in load-path.
60 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
65 ;; Or please specify path.
66 ;; (add-path "mailcrypt-3.4" 'all-paths)
69 ;;; @@ Please specify BBDB path.
72 (let ((path (get-latest-path "bbdb" 'all-paths)))
77 ;; Or please specify path.
78 ;; (add-path "bbdb-1.50" 'all-paths)
84 ;; Please specify shell command path.
86 (find-if (function file-exists-p)
87 '("/bin/sh" "/usr/bin/sh")
90 ;; Please specify shell command option.
91 (setq SHELLOPTION "-c")
94 ;;; @ Please specify prefix of install directory.
97 ;; Please specify install path prefix.
98 ;; If it is omitted, shared directory (maybe /usr/local is used).
99 (defvar PREFIX install-prefix)
102 ;; Please specify install path prefix for binaries.
104 (if (or running-emacs-18 running-xemacs)
105 (expand-file-name "../../.." exec-directory)
106 (expand-file-name "../../../.." exec-directory)
109 ;; Please specify emu prefix [optional]
111 (if (string-match "XEmacs" emacs-version)
115 ;; Please specify SEMI prefix [optional]
116 (setq SEMI_PREFIX "semi")
122 ;; Please specify binary path.
123 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
125 ;; Please specify binary path. (for external method scripts)
126 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
131 ;;; @ optional settings
134 ;; It is generated by automatically. Please set variable `PREFIX'.
135 ;; If you don't like default directory tree, please set it.
136 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
137 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
139 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
140 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
142 (setq METHOD_SRC_DIR "methods")
144 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
148 ;;; SEMI-CFG ends here