1;;; paths.el --- define pathnames for use by various Emacs commands. 2 3;; Copyright (C) 1986, 1988, 1994 Free Software Foundation, Inc. 4 5;; Maintainer: FSF 6;; Keywords: internal 7 8;; This file is part of GNU Emacs. 9 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. 14 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. 19 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. 23 24;;; Commentary: 25 26;; These are default settings for names of certain files and directories 27;; that Emacs needs to refer to from time to time. 28 29;; If these settings are not right, override them with `setq' 30;; in site-init.el. Do not change this file. 31 32;;; Code: 33 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. 47They are searched in the order they are given in this list. 48Therefore, the directory of Info files that come with Emacs 49normally should come last (so that local files override standard ones).") 50 51(defvar news-path "/usr/spool/news/" 52 "The root directory below which all news files are stored.") 53 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.") 61 62(defvar gnus-default-nntp-server "" 63 ;; set this to your local server 64 "The name of the host running an NNTP server. 65If it is a string such as \":DIRECTORY\", then ~/DIRECTORY 66is used as a news spool. `gnus-nntp-server' is initialised from NNTPSERVER 67environment variable or, if none, this value.") 68 69(defvar gnus-nntp-service "nntp" 70 "NNTP service name, usually \"nntp\" or 119). 71Go to a local news spool if its value is nil, in which case `gnus-nntp-server' 72should be set to `(system-name)'.") 73 74(defvar gnus-local-domain nil 75 "*Your domain name without a host name: for example, \"ai.mit.edu\". 76The DOMAINNAME environment variable is used instead if defined. 77If the function `system-name' returns a fully qualified domain name, 78there is no need to set this variable.") 79 80(defvar gnus-local-organization nil 81 "*The name of your organization, as a string. 82The `ORGANIZATION' environment variable is used instead if defined.") 83 84(defvar gnus-startup-file "~/.newsrc" 85 "The file listing groups to which user is subscribed. 86Will use `gnus-startup-file'-SERVER instead if exists.") 87 88(defvar rmail-file-name "~/RMAIL" 89 "Name of user's primary mail file.") 90 91(defconst rmail-spool-directory 92 (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration) 93 "/usr/spool/mail/") 94 ;; SVR4 is said to use /var/mail, and make /usr/mail a link to that; 95 ;; but since I'm not sure it's generally true, calling file-exists-p 96 ;; prevents lossage if it isn't true. -- rms. 97 ((and (string-match "^[^-]+-[^-]+-sysv4" system-configuration) 98 (file-exists-p "/var/mail")) 99 "/var/mail/") 100 ((memq system-type '(dgux hpux usg-unix-v unisoft-unix rtu irix)) 101 "/usr/mail/") 102 ((eq system-type 'netbsd) 103 "/var/mail/") 104 (t "/usr/spool/mail/")) 105 "Name of directory used by system mailer for delivering new mail. 106Its name should end with a slash.") 107 108(defconst sendmail-program 109 (cond 110 ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail") 111 ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail") 112 ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail") 113 (t "fakemail")) ;In ../etc, to interface to /bin/mail. 114 "Program used to send messages.") 115 116(defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/") 117 "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\"))) 118You may set this variable to nil in your `.emacs' file if you do not wish 119the terminal-initialization file to be loaded.") 120 121(defconst abbrev-file-name 122 (if (eq system-type 'vax-vms) 123 "~/abbrev.def" 124 "~/.abbrev_defs") 125 "*Default name of file to read abbrevs from.") 126 127;;; paths.el ends here 128