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