Annotation of 43BSDReno/contrib/emacs-18.55/lisp/paths.el, revision 1.1.1.1

1.1       root        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 distributed in the hope that it will be useful,
                      7: ;; but WITHOUT ANY WARRANTY.  No author or distributor
                      8: ;; accepts responsibility to anyone for the consequences of using it
                      9: ;; or for whether it serves any particular purpose or works at all,
                     10: ;; unless he says so in writing.  Refer to the GNU Emacs General Public
                     11: ;; License for full details.
                     12: 
                     13: ;; Everyone is granted permission to copy, modify and redistribute
                     14: ;; GNU Emacs, but only under the conditions described in the
                     15: ;; GNU Emacs General Public License.   A copy of this license is
                     16: ;; supposed to have been given to you along with GNU Emacs so you
                     17: ;; can know your rights and responsibilities.  It should be in a
                     18: ;; file named COPYING.  Among other things, the copyright notice
                     19: ;; and this notice must be preserved on all copies.
                     20: 
                     21: 
                     22: ;; These are default settings for names of certain files and directories
                     23: ;; that Emacs needs to refer to from time to time.
                     24: 
                     25: ;; If these settings are not right, override them with `setq'
                     26: ;; in site-init.el.  Do not change this file.
                     27: 
                     28: (defvar Info-directory (expand-file-name "../info/" exec-directory))
                     29: 
                     30: (defvar news-path "/usr/spool/news/"
                     31:   "The root directory below which all news files are stored.")
                     32: (defvar news-inews-program
                     33:   (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
                     34:        ((file-exists-p "/usr/local/inews") "/usr/local/inews")
                     35:        ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
                     36:        ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
                     37:        (t "inews"))
                     38:   "Program to post news.")
                     39: 
                     40: (defvar mh-progs
                     41:   (cond ((file-exists-p "/usr/new/mh") "/usr/new/mh/")
                     42:        ((file-exists-p "/usr/local/bin/mh") "/usr/local/bin/mh/")
                     43:        (t "/usr/local/mh/"))
                     44:   "Directory containing MH commands")
                     45: 
                     46: (defvar mh-lib
                     47:   (cond ((file-exists-p "/usr/new/lib/mh") "/usr/new/lib/mh/")
                     48:        ((file-exists-p "/usr/local/lib/mh") "/usr/local/lib/mh/")
                     49:        (t "/usr/local/bin/mh/"))
                     50:   "Directory of MH library")
                     51: 
                     52: (defconst rmail-file-name "~/RMAIL"
                     53:   "Name of user's primary mail file.")
                     54: 
                     55: (defconst rmail-spool-directory
                     56:   (if (memq system-type '(hpux usg-unix-v unisoft-unix rtu
                     57:                               silicon-graphics-unix))
                     58:       "/usr/mail/"
                     59:     "/usr/spool/mail/")
                     60:   "Name of directory used by system mailer for delivering new mail.
                     61: Its name should end with a slash.")
                     62: 
                     63: (defconst sendmail-program
                     64:   (if (file-exists-p "/usr/lib/sendmail")
                     65:       "/usr/lib/sendmail"
                     66:     "fakemail")                        ;In ../etc, to interface to /bin/mail.
                     67:   "Program used to send messages.")
                     68: 
                     69: (defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/")
                     70:   "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
                     71: You may set this variable to nil in your `.emacs' file if you do not wish
                     72: the terminal-initialization file to be loaded.")
                     73: 
                     74: (defconst manual-program (if (eq system-type 'berkeley-unix)
                     75:                             "/usr/ucb/man" "/usr/bin/man")
                     76:   "Program to run to print man pages.")
                     77: 
                     78: ;; Note that /usr/man/cat is not really right for this on sysV; nothing is,
                     79: ;; judging by the list of directories below.  You can't get the dir
                     80: ;; for a section by appending the section number to any one prefix.
                     81: ;; But it turns out that a string that's wrong does no harm here.
                     82: (defconst manual-formatted-dir-prefix
                     83:   (if (file-exists-p "/usr/man/cat.C")  ;; Check for Xenix.
                     84:       "/usr/man/cat." "/usr/man/cat")
                     85:   "Prefix for directories containing formatted manual pages.
                     86: Append a section-number or section-name to get a directory name.")
                     87: 
                     88: (defconst manual-formatted-dirlist
                     89:   (cond ((eq system-type 'hpux)
                     90:         '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
                     91:           "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
                     92:           "/usr/man/cat7" "/usr/man/cat1m" "/usr/man/cat8"
                     93:           "/usr/local/man/cat1" "/usr/local/man/cat2" "/usr/local/man/cat3"
                     94:           "/usr/local/man/cat4" "/usr/local/man/cat5" "/usr/local/man/cat6"
                     95:           "/usr/local/man/cat7" "/usr/local/man/cat1m" "/usr/local/man/cat8"
                     96:           "/usr/contrib/man/cat1" "/usr/contrib/man/cat2"
                     97:           "/usr/contrib/man/cat3" "/usr/contrib/man/cat4"
                     98:           "/usr/contrib/man/cat5" "/usr/contrib/man/cat6"
                     99:           "/usr/contrib/man/cat7" "/usr/contrib/man/cat1m"
                    100:           "/usr/contrib/man/cat8"))
                    101:         ((file-exists-p "/usr/man/cat.C")  ; Xenix
                    102:          '("/usr/man/cat.C" "/usr/man/cat.CP" "/usr/man/cat.CT"
                    103:            "/usr/man/cat.DOS/" "/usr/man/cat.F" "/usr/man/cat.HW"
                    104:            "/usr/man/cat.M/" "/usr/man/cat.S" "/usr/man/cat.LOCAL"))
                    105:         ((file-exists-p "/usr/man/cat1")
                    106:          '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
                    107:            "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
                    108:            "/usr/man/cat7" "/usr/man/cat8" "/usr/man/catl" "/usr/man/catn"))
                    109:         (t
                    110:           '("/usr/catman/u_man/man1" "/usr/catman/u_man/man6"
                    111:             "/usr/catman/p_man/man2" "/usr/catman/p_man/man3"
                    112:             "/usr/catman/p_man/man4" "/usr/catman/p_man/man5"
                    113:             "/usr/catman/a_man/man1" "/usr/catman/a_man/man7"
                    114:             "/usr/catman/a_man/man8" "/usr/catman/local")))
                    115:   "List of directories containing formatted manual pages.")
                    116: 
                    117: (defconst abbrev-file-name 
                    118:   (if (eq system-type 'vax-vms)
                    119:       "~/abbrev.def"
                    120:     "~/.abbrev_defs")
                    121:   "*Default name of file to read abbrevs from.")

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.