Annotation of GNUtools/emacs/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 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 (expand-file-name "../info/" exec-directory))
                     28: 
                     29: (defvar news-path "/usr/spool/news/"
                     30:   "The root directory below which all news files are stored.")
                     31: (defvar news-inews-program
                     32:   (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
                     33:        ((file-exists-p "/usr/local/inews") "/usr/local/inews")
                     34:        ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
                     35:        ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
                     36:        (t "inews"))
                     37:   "Program to post news.")
                     38: 
                     39: (defvar mh-progs
                     40:   (cond ((file-directory-p "/usr/bin/mh/") "/usr/bin/mh/") ;Ultrix 4.2
                     41:        ((file-directory-p "/usr/new/mh/") "/usr/new/mh/") ;Ultrix <4.2
                     42:         ((file-directory-p "/usr/local/bin/mh/") "/usr/local/bin/mh/")
                     43:         ((file-directory-p "/usr/local/mh/") "/usr/local/mh/")
                     44:         (t "/usr/local/bin/"))
                     45:   "Directory containing MH commands.")
                     46: 
                     47: (defvar mh-lib
                     48:   (cond ((file-directory-p "/usr/lib/mh/") "/usr/lib/mh/") ;Ultrix 4.2
                     49:        ((file-directory-p "/usr/new/lib/mh/") "/usr/new/lib/mh/") ;Ultrix <4.2
                     50:         ((file-directory-p "/usr/local/lib/mh/") "/usr/local/lib/mh/")
                     51:         (t "/usr/local/bin/mh/"))
                     52:   "Directory of MH library.")
                     53: 
                     54: (defconst rmail-file-name "~/RMAIL"
                     55:   "Name of user's primary mail file.")
                     56: 
                     57: (defconst rmail-spool-directory
                     58:   (if (memq system-type '(hpux usg-unix-v unisoft-unix rtu
                     59:                               silicon-graphics-unix))
                     60:       "/usr/mail/"
                     61:     "/usr/spool/mail/")
                     62:   "Name of directory used by system mailer for delivering new mail.
                     63: Its name should end with a slash.")
                     64: 
                     65: (defconst sendmail-program
                     66:   (if (file-exists-p "/usr/lib/sendmail")
                     67:       "/usr/lib/sendmail"
                     68:     "fakemail")                        ;In ../etc, to interface to /bin/mail.
                     69:   "Program used to send messages.")
                     70: 
                     71: (defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/")
                     72:   "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
                     73: You may set this variable to nil in your `.emacs' file if you do not wish
                     74: the terminal-initialization file to be loaded.")
                     75: 
                     76: (defconst manual-program (if (eq system-type 'berkeley-unix)
                     77:                             "/usr/ucb/man" "/usr/bin/man")
                     78:   "Program to run to print man pages.")
                     79: 
                     80: ;; Note that /usr/man/cat is not really right for this on sysV; nothing is,
                     81: ;; judging by the list of directories below.  You can't get the dir
                     82: ;; for a section by appending the section number to any one prefix.
                     83: ;; But it turns out that a string that's wrong does no harm here.
                     84: (defconst manual-formatted-dir-prefix
                     85:   (if (file-exists-p "/usr/man/cat.C")  ;; Check for Xenix.
                     86:       "/usr/man/cat." "/usr/man/cat")
                     87:   "Prefix for directories containing formatted manual pages.
                     88: Append a section-number or section-name to get a directory name.")
                     89: 
                     90: (defconst manual-formatted-dirlist
                     91:   (cond ((eq system-type 'hpux)
                     92:         '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
                     93:           "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
                     94:           "/usr/man/cat7" "/usr/man/cat1m" "/usr/man/cat8"
                     95:           "/usr/local/man/cat1" "/usr/local/man/cat2" "/usr/local/man/cat3"
                     96:           "/usr/local/man/cat4" "/usr/local/man/cat5" "/usr/local/man/cat6"
                     97:           "/usr/local/man/cat7" "/usr/local/man/cat1m" "/usr/local/man/cat8"
                     98:           "/usr/contrib/man/cat1" "/usr/contrib/man/cat2"
                     99:           "/usr/contrib/man/cat3" "/usr/contrib/man/cat4"
                    100:           "/usr/contrib/man/cat5" "/usr/contrib/man/cat6"
                    101:           "/usr/contrib/man/cat7" "/usr/contrib/man/cat1m"
                    102:           "/usr/contrib/man/cat8"))
                    103:         ((file-exists-p "/usr/man/cat.C")  ; Xenix
                    104:          '("/usr/man/cat.C" "/usr/man/cat.CP" "/usr/man/cat.CT"
                    105:            "/usr/man/cat.DOS/" "/usr/man/cat.F" "/usr/man/cat.HW"
                    106:            "/usr/man/cat.M/" "/usr/man/cat.S" "/usr/man/cat.LOCAL"))
                    107:         ((file-exists-p "/usr/man/cat1")
                    108:          '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
                    109:            "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
                    110:            "/usr/man/cat7" "/usr/man/cat8" "/usr/man/catl" "/usr/man/catn"))
                    111:         (t
                    112:           '("/usr/catman/u_man/man1" "/usr/catman/u_man/man6"
                    113:             "/usr/catman/p_man/man2" "/usr/catman/p_man/man3"
                    114:             "/usr/catman/p_man/man4" "/usr/catman/p_man/man5"
                    115:             "/usr/catman/a_man/man1" "/usr/catman/a_man/man7"
                    116:             "/usr/catman/a_man/man8" "/usr/catman/local")))
                    117:   "List of directories containing formatted manual pages.")
                    118: 
                    119: (defconst abbrev-file-name 
                    120:   (if (eq system-type 'vax-vms)
                    121:       "~/abbrev.def"
                    122:     "~/.abbrev_defs")
                    123:   "*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.