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