(Fstart_process): Make process marker point into proc buf.
[emacs.git] / lisp / paths.el
blob7d120e7e11bec6e5e25b073d2a9595cbddc3fe3d
1 ;;; paths.el --- define pathnames for use by various Emacs commands.
3 ;; Copyright (C) 1986, 1988, 1994 Free Software Foundation, Inc.
5 ;; Maintainer: FSF
6 ;; Keywords: internal
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 (let ((start (list "/usr/local/lib/info/"
36 ;; This comes second so that, if it is the same
37 ;; as configure-info-directory (which is usually true)
38 ;; and Emacs has been installed (also usually true)
39 ;; then the list will end with two copies of this;
40 ;; which means that the last dir file Info-insert-dir
41 ;; finds will be the one in this directory.
42 "/usr/local/info/"))
43 (configdir (file-name-as-directory configure-info-directory)))
44 (setq start (nconc start (list configdir)))
45 start)
46 "List of directories to search for Info documentation files.
47 They are searched in the order they are given in this list.
48 Therefore, the directory of Info files that come with Emacs
49 normally should come last (so that local files override standard ones).")
51 (defvar news-path "/usr/spool/news/"
52 "The root directory below which all news files are stored.")
54 (defvar news-inews-program
55 (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
56 ((file-exists-p "/usr/local/inews") "/usr/local/inews")
57 ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
58 ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
59 (t "inews"))
60 "Program to post news.")
62 (defvar gnus-default-nntp-server ""
63 ;; set this to your local server
64 "The name of the host running an NNTP server.
65 The null string means use the local host as the server site.")
67 (defvar gnus-nntp-service "nntp"
68 "NNTP service name, usually \"nntp\" or 119).
69 Go to a local news spool if its value is nil, in which case `gnus-nntp-server'
70 should be set to `(system-name)'.")
72 (defvar gnus-local-domain nil
73 "*Your domain name without a host name: for example, \"ai.mit.edu\".
74 The DOMAINNAME environment variable is used instead if defined.
75 If the function `system-name' returns a fully qualified domain name,
76 there is no need to set this variable.")
78 (defvar gnus-local-organization nil
79 "*The name of your organization, as a string.
80 The `ORGANIZATION' environment variable is used instead if defined.")
82 (defvar gnus-startup-file "~/.newsrc"
83 "The file listing groups to which user is subscribed.
84 Will use `gnus-startup-file'-SERVER instead if exists.")
86 (defvar rmail-file-name "~/RMAIL"
87 "Name of user's primary mail file.")
89 (defconst rmail-spool-directory
90 (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration)
91 "/usr/spool/mail/")
92 ;; On The Bull DPX/2 /usr/spool/mail is used although
93 ;; it is usg-unix-v.
94 ((string-match "^m68k-bull-sysv3" system-configuration)
95 "/usr/spool/mail/")
96 ;; SVR4 and recent BSD are said to use this.
97 ;; Rather than trying to know precisely which systems use it,
98 ;; let's assume this dir is never used for anything else.
99 ((file-exists-p "/var/mail")
100 "/var/mail/")
101 ((memq system-type '(dgux hpux usg-unix-v unisoft-unix rtu irix))
102 "/usr/mail/")
103 (t "/usr/spool/mail/"))
104 "Name of directory used by system mailer for delivering new mail.
105 Its name should end with a slash.")
107 (defconst sendmail-program
108 (cond
109 ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
110 ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail")
111 ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
112 (t "fakemail")) ;In ../etc, to interface to /bin/mail.
113 "Program used to send messages.")
115 (defconst remote-shell-program
116 (cond
117 ;; Some systems use rsh for the remote shell; others use that name for the
118 ;; restricted shell and use remsh for the remote shell. Let's try to guess
119 ;; based on what we actually find out there. The restricted shell is
120 ;; almost certainly in /bin or /usr/bin, so it's probably safe to assume
121 ;; that an rsh found elsewhere is the remote shell program. The converse
122 ;; is not true: /usr/bin/rsh could be either one, so check that last.
123 ((file-exists-p "/usr/ucb/remsh") "/usr/ucb/remsh")
124 ((file-exists-p "/usr/bsd/remsh") "/usr/bsd/remsh")
125 ((file-exists-p "/bin/remsh") "/bin/remsh")
126 ((file-exists-p "/usr/bin/remsh") "/bin/remsh")
127 ((file-exists-p "/usr/local/bin/remsh") "/usr/local/bin/remsh")
128 ((file-exists-p "/usr/ucb/rsh") "/usr/ucb/rsh")
129 ((file-exists-p "/usr/bsd/rsh") "/usr/bsd/rsh")
130 ((file-exists-p "/usr/local/bin/rsh") "/usr/local/bin/rsh")
131 ((file-exists-p "/bin/rsh") "/bin/rsh")
132 ((file-exists-p "/usr/bin/rsh") "/usr/bin/rsh")
133 (t "rsh")))
135 (defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/")
136 "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
137 You may set this variable to nil in your `.emacs' file if you do not wish
138 the terminal-initialization file to be loaded.")
140 (defconst abbrev-file-name
141 (if (eq system-type 'vax-vms)
142 "~/abbrev.def"
143 "~/.abbrev_defs")
144 "*Default name of file to read abbrevs from.")
146 ;;; paths.el ends here