3 ;;; $Id: SEMI-CFG,v 0.7 1997-05-13 14:32:15 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"
17 (add-to-list 'load-path
18 (expand-file-name "../../site-lisp/apel" data-directory))
20 (when (boundp 'LISPDIR)
21 (add-to-list 'default-load-path LISPDIR)
22 (add-to-list 'load-path LISPDIR)
23 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
29 (add-path "bitmap-mule")
32 (add-to-list 'load-path (expand-file-name "."))
35 ;;; @ Please specify optional package directory if you use them.
38 ;; It is only necessary to use `add-path' if these packages are not
39 ;; already on the standard load-path of Emacs.
41 ;; Function `get-latest-path' detect latest version of such package
42 ;; under load-path directories. If you want to use a version of a
43 ;; package instead of latest version, please specify by argument of
44 ;; function `add-path'.
46 ;; Function `add-path' finds path under load-path directories. If a
47 ;; package does not exist in load-path, please specify by absolutely
48 ;; (`~/' is available), for example
49 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
51 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
54 ;;; @@ Please specify Mailcrypt path.
57 ;; Use latest version installed in load-path.
59 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
64 ;; Or please specify path.
65 ;; (add-path "mailcrypt-3.4" 'all-paths)
68 ;;; @@ Please specify BBDB path.
71 (let ((path (get-latest-path "bbdb" 'all-paths)))
76 ;; Or please specify path.
77 ;; (add-path "bbdb-1.50" 'all-paths)
83 ;; Please specify shell command path.
85 (find-if (function file-exists-p)
86 '("/bin/sh" "/usr/bin/sh")
89 ;; Please specify shell command option.
90 (setq SHELLOPTION "-c")
93 ;;; @ Please specify prefix of install directory.
96 ;; Please specify install path prefix.
97 ;; If it is omitted, shared directory (maybe /usr/local is used).
98 (defvar PREFIX install-prefix)
101 ;; Please specify install path prefix for binaries.
103 (if (or running-emacs-18 running-xemacs)
104 (expand-file-name "../../.." exec-directory)
105 (expand-file-name "../../../.." exec-directory)
108 ;; Please specify emu prefix [optional]
110 (if (string-match "XEmacs" emacs-version)
114 ;; Please specify SEMI prefix [optional]
115 (setq SEMI_PREFIX "semi")
121 ;; Please specify binary path.
122 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
124 ;; Please specify binary path. (for external method scripts)
125 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
130 ;;; @ optional settings
133 ;; It is generated by automatically. Please set variable `PREFIX'.
134 ;; If you don't like default directory tree, please set it.
135 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
136 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
138 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
139 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
141 (setq METHOD_SRC_DIR "methods")
143 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
147 ;;; SEMI-CFG ends here