paths.el 4.1 KB

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