3 ;;; $Id: SEMI-CFG,v 1.2 1998-03-13 12:55:51 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))
22 (add-path "bitmap-mule")
25 (add-to-list 'load-path (expand-file-name "."))
28 ;;; @ Please specify optional package directory if you use them.
31 ;; It is only necessary to use `add-path' if these packages are not
32 ;; already on the standard load-path of Emacs.
34 ;; Function `get-latest-path' detect latest version of such package
35 ;; under load-path directories. If you want to use a version of a
36 ;; package instead of latest version, please specify by argument of
37 ;; function `add-path'.
39 ;; Function `add-path' finds path under load-path directories. If a
40 ;; package does not exist in load-path, please specify by absolutely
41 ;; (`~/' is available), for example
42 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
44 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
47 ;;; @@ Please specify Mailcrypt path.
50 ;; Use latest version installed in load-path.
52 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
57 ;; Or please specify path.
58 ;; (add-path "mailcrypt-3.4" 'all-paths)
61 ;;; @@ Please specify BBDB path.
64 (let ((path (get-latest-path "bbdb" 'all-paths)))
69 ;; Or please specify path.
70 ;; (add-path "bbdb-1.50" 'all-paths)
76 ;; Please specify shell command path.
78 (find-if (function file-exists-p)
79 '("/bin/sh" "/usr/bin/sh")
82 ;; Please specify shell command option.
83 (setq SHELLOPTION "-c")
86 ;;; @ Please specify prefix of install directory.
89 ;; Please specify install path prefix.
90 ;; If it is omitted, shared directory (maybe /usr/local is used).
91 (defvar PREFIX install-prefix)
94 ;; Please specify install path prefix for binaries.
96 (if (or running-emacs-18 running-xemacs)
97 (expand-file-name "../../.." exec-directory)
98 (expand-file-name "../../../.." exec-directory)
101 ;; Please specify emu prefix [optional]
103 (if (string-match "XEmacs" emacs-version)
107 ;; Please specify SEMI prefix [optional]
108 (setq SEMI_PREFIX "semi")
114 ;; Please specify binary path.
115 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
117 ;; Please specify binary path. (for external method scripts)
118 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
123 ;;; @ optional settings
126 ;; It is generated by automatically. Please set variable `PREFIX'.
127 ;; If you don't like default directory tree, please set it.
128 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
129 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
131 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
132 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
134 (setq METHOD_SRC_DIR "methods")
136 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
140 ;;; SEMI-CFG ends here