3 ;; SEMI-CFG: installation setting about SEMI.
7 (defvar default-load-path load-path)
9 (add-to-list 'load-path
10 (expand-file-name "../../site-lisp/apel" data-directory))
11 (add-to-list 'load-path
12 (expand-file-name "." data-directory))
16 (add-to-list 'default-load-path LISPDIR)
17 (add-to-list 'load-path LISPDIR)
18 (add-to-list 'load-path (expand-file-name "emu" LISPDIR))
19 (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
22 (defvar VERSION_SPECIFIC_LISPDIR nil)
24 (if VERSION_SPECIFIC_LISPDIR
25 (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
29 (error (error "Please install APEL 8.7 or later.")))
31 (add-path "bitmap-mule")
34 (add-to-list 'load-path (expand-file-name "."))
36 (or (module-installed-p 'calist)
37 (error "Please install APEL 8.7 or later."))
38 (or (module-installed-p 'mime)
39 (error "Please install FLIM 1.6.0 or later."))
40 (if (module-installed-p 'tm-view)
41 (message "Please remove tm from load-path."))
44 ;;; @ Please specify optional package directory if you use them.
47 ;; It is only necessary to use `add-path' if these packages are not
48 ;; already on the standard load-path of Emacs.
50 ;; Function `get-latest-path' detect latest version of such package
51 ;; under load-path directories. If you want to use a version of a
52 ;; package instead of latest version, please specify by argument of
53 ;; function `add-path'.
55 ;; Function `add-path' finds path under load-path directories. If a
56 ;; package does not exist in load-path, please specify by absolutely
57 ;; (`~/' is available), for example
58 ;; (add-path "~/lib/elisp/bbdb")
60 ;; (add-path "/opt/share/xmule/site-lisp/bbdb")
63 ;;; @@ Please specify BBDB path.
66 (let ((path (get-latest-path "bbdb" 'all-paths)))
70 (add-path (expand-file-name "lisp" path)) ; run-in-place installation
73 ;; Or please specify path.
74 ;; (add-path "bbdb-1.50" 'all-paths)
78 ;;; @@ Please specify Emacs/W3 path.
81 (let ((path (get-latest-path "w3" 'all-paths)))
85 (add-path (expand-file-name "lisp" path)) ; run-in-place installation
88 ;; Or please specify path.
89 ;; (add-path "w3-4.0pre.20" 'all-paths)
93 ;;; @@ Please specify CUSTOM path.
96 (add-latest-path "custom")
99 ;;; @ Please specify prefix of install directory.
102 ;; Please specify install path prefix.
103 ;; If it is omitted, shared directory (maybe /usr/local is used).
104 (defvar PREFIX install-prefix)
107 ;; Please specify emu prefix [optional]
109 (if (string-match "XEmacs" emacs-version)
113 ;; Please specify SEMI prefix [optional]
114 (setq SEMI_PREFIX "semi")
120 ;; Please specify binary path. (for external method scripts)
121 (setq METHOD_DIR (expand-file-name "share/semi" PREFIX))
126 ;;; @ optional settings
129 ;; It is generated by automatically. Please set variable `PREFIX'.
130 ;; If you don't like default directory tree, please set it.
131 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
132 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
134 (setq SEMI_KERNEL_DIR (expand-file-name SEMI_PREFIX LISPDIR))
135 (setq SETUP_FILE_DIR SEMI_KERNEL_DIR)
137 (setq METHOD_SRC_DIR "methods")
139 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg"
143 (defvar PACKAGEDIR (install-get-default-package-directory))
145 ;;; SEMI-CFG ends here