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