*** empty log message ***
[bpt/emacs.git] / lisp / paths.el
CommitLineData
6594deb0
ER
1;;; paths.el --- define pathnames for use by various Emacs commands.
2
a0824fec 3;; Copyright (C) 1986, 1988 Free Software Foundation, Inc.
4
5;; This file is part of GNU Emacs.
6
7;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option)
10;; any later version.
11
12;; GNU Emacs is distributed in the hope that it will be useful,
13;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;; GNU General Public License for more details.
16
17;; You should have received a copy of the GNU General Public License
18;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
22;; These are default settings for names of certain files and directories
23;; that Emacs needs to refer to from time to time.
24
25;; If these settings are not right, override them with `setq'
26;; in site-init.el. Do not change this file.
27
a755d8e5 28(defvar Info-default-directory-list
d6889e94 29 (list "/usr/local/lib/info/"
1e6dacf6 30 (expand-file-name "../info/" data-directory))
a0824fec 31 "List of directories to search for Info documentation files.")
32
33(defvar news-path "/usr/spool/news/"
34 "The root directory below which all news files are stored.")
35
36(defvar news-inews-program
37 (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
38 ((file-exists-p "/usr/local/inews") "/usr/local/inews")
39 ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
40 ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
41 (t "inews"))
42 "Program to post news.")
43
44(defvar gnus-default-nntp-server ""
45 ;; set this to your local server
46 "The name of the host running an NNTP server.
527a0f36 47If it is a string such as \":DIRECTORY\", then ~/DIRECTORY
48is used as a news spool. `gnus-nntp-server' is initialised from NNTPSERVER
a0824fec 49environment variable or, if none, this value.")
50
51(defvar gnus-nntp-service "nntp"
52 "NNTP service name, usually \"nntp\" or 119).
527a0f36 53Go to a local news spool if its value is nil, in which case `gnus-nntp-server'
54should be set to `(system-name)'.")
a0824fec 55
56(defvar gnus-your-domain nil
57 "Your domain name without your host name like: \"stars.flab.Fujitsu.CO.JP\"
527a0f36 58The DOMAINNAME environment variable is used instead if defined. If
59the function `system-name' returns a fully qualified domain name, there is no
a0824fec 60need to define the name.")
61
62(defvar gnus-your-organization ""
63 "Your organization like: \"Fujitsu Laboratories Ltd., Kawasaki, Japan.\"
64The `ORGANIZATION' environment variable is used instead if defined.")
65
66(defvar mh-progs
67 (cond ((file-directory-p "/usr/new/mh") "/usr/new/mh/")
68 ((file-directory-p "/usr/local/bin/mh") "/usr/local/bin/mh/")
69 ((file-directory-p "/usr/local/mh/") "/usr/local/mh/")
70 (t "/usr/local/bin/"))
71 "Directory containing MH commands")
72
73(defvar mh-lib
74 (cond ((file-directory-p "/usr/new/lib/mh") "/usr/new/lib/mh/")
75 ((file-directory-p "/usr/local/lib/mh") "/usr/local/lib/mh/")
76 (t "/usr/local/bin/mh/"))
77 "Directory of MH library")
78
79(defvar rmail-file-name "~/RMAIL"
80 "Name of user's primary mail file.")
81
82(defvar gnus-startup-file "~/.newsrc"
83 "The file listing groups to which user is subscribed.
84Will use `gnus-startup-file'-SERVER instead if exists.")
85
86(defconst rmail-spool-directory
87 (if (memq system-type '(hpux usg-unix-v unisoft-unix rtu irix))
88 "/usr/mail/"
89 "/usr/spool/mail/")
90 "Name of directory used by system mailer for delivering new mail.
91Its name should end with a slash.")
92
93(defconst sendmail-program
94 (if (file-exists-p "/usr/lib/sendmail")
95 "/usr/lib/sendmail"
96 "fakemail") ;In ../etc, to interface to /bin/mail.
97 "Program used to send messages.")
98
99(defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/")
100 "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
101You may set this variable to nil in your `.emacs' file if you do not wish
102the terminal-initialization file to be loaded.")
103
104(defconst manual-program (if (eq system-type 'berkeley-unix)
105 "/usr/ucb/man" "/usr/bin/man")
106 "Program to run to print man pages.")
107
108;; Note that /usr/man/cat is not really right for this on sysV; nothing is,
109;; judging by the list of directories below. You can't get the dir
110;; for a section by appending the section number to any one prefix.
111;; But it turns out that a string that's wrong does no harm here.
112(defconst manual-formatted-dir-prefix
113 (if (file-exists-p "/usr/man/cat.C") ;; Check for Xenix.
114 "/usr/man/cat." "/usr/man/cat")
115 "Prefix for directories containing formatted manual pages.
116Append a section-number or section-name to get a directory name.")
117
118(defconst manual-formatted-dirlist
119 (cond ((eq system-type 'hpux)
120 '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
121 "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
122 "/usr/man/cat7" "/usr/man/cat1m" "/usr/man/cat8"
123 "/usr/local/man/cat1" "/usr/local/man/cat2" "/usr/local/man/cat3"
124 "/usr/local/man/cat4" "/usr/local/man/cat5" "/usr/local/man/cat6"
125 "/usr/local/man/cat7" "/usr/local/man/cat1m" "/usr/local/man/cat8"
126 "/usr/contrib/man/cat1" "/usr/contrib/man/cat2"
127 "/usr/contrib/man/cat3" "/usr/contrib/man/cat4"
128 "/usr/contrib/man/cat5" "/usr/contrib/man/cat6"
129 "/usr/contrib/man/cat7" "/usr/contrib/man/cat1m"
130 "/usr/contrib/man/cat8"))
131 ((file-exists-p "/usr/man/cat.C") ; Xenix
132 '("/usr/man/cat.C" "/usr/man/cat.CP" "/usr/man/cat.CT"
133 "/usr/man/cat.DOS/" "/usr/man/cat.F" "/usr/man/cat.HW"
134 "/usr/man/cat.M/" "/usr/man/cat.S" "/usr/man/cat.LOCAL"))
135 ((file-exists-p "/usr/man/cat3/cat3")
136 ;; This is for UMAX.
137 '("/usr/man/cat1" "/usr/man/cat2"
138 "/usr/man/cat3" "/usr/man/cat3/cat3"
139 "/usr/man/cat3/cat3b" "/usr/man/cat3/cat3c"
140 "/usr/man/cat3/cat3f" "/usr/man/cat3/cat3m"
141 "/usr/man/cat3/cat3n" "/usr/man/cat3/cat3p"
142 "/usr/man/cat3/cat3s" "/usr/man/cat3/cat3u"
143 "/usr/man/cat3/cat3x" "/usr/man/cat4"
144 "/usr/man/cat5" "/usr/man/cat6"
145 "/usr/man/cat7" "/usr/man/cat8"
146 "/usr/man/catl" "/usr/man/catn"))
147 ((file-exists-p "/usr/man/cat1")
148 '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
149 "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
150 "/usr/man/cat7" "/usr/man/cat8" "/usr/man/catl" "/usr/man/catn"))
151 (t
152 '("/usr/catman/u_man/man1" "/usr/catman/u_man/man6"
153 "/usr/catman/p_man/man2" "/usr/catman/p_man/man3"
154 "/usr/catman/p_man/man4" "/usr/catman/p_man/man5"
155 "/usr/catman/a_man/man1" "/usr/catman/a_man/man7"
156 "/usr/catman/a_man/man8" "/usr/catman/local"
157 "/usr/catman/a_man/man8" "/usr/catman/local/man1"
158 "/usr/catman/local/man2" "/usr/catman/local/man3"
159 "/usr/catman/local/man4" "/usr/catman/local/man5"
160 "/usr/catman/local/man6" "/usr/catman/local/man7"
161 "/usr/catman/local/man8")))
162 "List of directories containing formatted manual pages.")
163
164(defconst abbrev-file-name
165 (if (eq system-type 'vax-vms)
166 "~/abbrev.def"
167 "~/.abbrev_defs")
168 "*Default name of file to read abbrevs from.")
6594deb0
ER
169
170;;; paths.el ends here