3 ;;; $Id: SEMI-CFG,v 0.5 1997-03-12 07:49:41 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"
21 ;;; @ Please specify optional package directory if you use them.
24 ;; It is only necessary to use `add-path' if these packages are not
25 ;; already on the standard load-path of Emacs.
27 ;; Function `get-latest-path' detect latest version of such package
28 ;; under load-path directories. If you want to use a version of a
29 ;; package instead of latest version, please specify by argument of
30 ;; function `add-path'.
32 ;; Function `add-path' finds path under load-path directories. If a
33 ;; package does not exist in load-path, please specify by absolutely
34 ;; (`~/' is available), for example
35 ;; (add-path "~/lib/elisp/mailcrypt-3.4")
37 ;; (add-path "/opt/share/xmule/site-lisp/mailcrypt-3.4")
40 ;;; @@ Please specify Mailcrypt path.
43 ;; Use latest version installed in load-path.
45 (let ((path (get-latest-path "mailcrypt" 'all-paths)))
50 ;; Or please specify path.
51 ;; (add-path "mailcrypt-3.4" 'all-paths)
54 ;;; @@ Please specify BBDB path.
57 (let ((path (get-latest-path "bbdb" 'all-paths)))
62 ;; Or please specify path.
63 ;; (add-path "bbdb-1.50" 'all-paths)
69 ;; Please specify shell command path.
71 (find-if (function file-exists-p)
72 '("/bin/sh" "/usr/bin/sh")
75 ;; Please specify shell command option.
76 (setq SHELLOPTION "-c")
79 ;;; @ Please specify prefix of install directory.
82 ;; Please specify install path prefix.
83 ;; If it is omitted, shared directory (maybe /usr/local is used).
84 (defvar PREFIX install-prefix)
87 ;; Please specify install path prefix for binaries.
89 (if (or running-emacs-18 running-xemacs)
90 (expand-file-name "../../.." exec-directory)
91 (expand-file-name "../../../.." exec-directory)
94 ;; Please specify emu prefix [optional]
96 (if (string-match "XEmacs" emacs-version)
100 ;; Please specify SEMI prefix [optional]
101 (setq SEMI_PREFIX "semi")
107 ;; Please specify binary path.
108 (defvar BIN_DIR (expand-file-name "bin" EXEC_PREFIX))
110 ;; Please specify binary path. (for external method scripts)
111 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
116 ;;; @ optional settings
119 ;; It is generated by automatically. Please set variable `PREFIX'.
120 ;; If you don't like default directory tree, please set it.
121 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
122 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
124 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
125 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
127 (setq METHOD_SRC_DIR "methods")
129 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
133 ;;; SEMI-CFG ends here