2002-10-01 17:06:54 +00:00
|
|
|
;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*-
|
1992-05-30 22:12:04 +00:00
|
|
|
|
2011-01-25 04:08:28 +00:00
|
|
|
;; Copyright (C) 1986, 1988, 1994, 1999-2011 Free Software Foundation, Inc.
|
1992-07-22 04:22:42 +00:00
|
|
|
|
1992-07-16 21:47:34 +00:00
|
|
|
;; Maintainer: FSF
|
1992-07-17 20:24:00 +00:00
|
|
|
;; Keywords: internal
|
2010-08-29 16:17:13 +00:00
|
|
|
;; Package: emacs
|
1992-07-16 21:47:34 +00:00
|
|
|
|
1990-08-30 09:33:22 +00:00
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
2008-05-06 08:06:51 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
1990-08-30 09:33:22 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-06 08:06:51 +00:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
1990-08-30 09:33:22 +00:00
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2008-05-06 08:06:51 +00:00
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
1990-08-30 09:33:22 +00:00
|
|
|
|
1992-07-16 21:47:34 +00:00
|
|
|
;;; Commentary:
|
1990-08-30 09:33:22 +00:00
|
|
|
|
|
|
|
;; These are default settings for names of certain files and directories
|
|
|
|
;; that Emacs needs to refer to from time to time.
|
|
|
|
|
|
|
|
;; If these settings are not right, override them with `setq'
|
|
|
|
;; in site-init.el. Do not change this file.
|
|
|
|
|
1992-07-16 21:47:34 +00:00
|
|
|
;;; Code:
|
|
|
|
|
1999-09-04 11:31:31 +00:00
|
|
|
;; Docstrings in this file should, where reasonable, follow the
|
2009-09-11 06:42:13 +00:00
|
|
|
;; conventions described in make-docfile, so that they get put in the
|
1999-09-04 11:31:31 +00:00
|
|
|
;; DOC file rather than in memory.
|
|
|
|
|
2000-07-04 04:48:49 +00:00
|
|
|
(defun prune-directory-list (dirs &optional keep reject)
|
2009-09-11 06:42:13 +00:00
|
|
|
"\
|
|
|
|
Return a copy of DIRS with all non-existent directories removed.
|
2000-07-04 04:48:49 +00:00
|
|
|
The optional argument KEEP is a list of directories to retain even if
|
|
|
|
they don't exist, and REJECT is a list of directories to remove from
|
|
|
|
DIRS, even if they exist; REJECT takes precedence over KEEP.
|
|
|
|
|
|
|
|
Note that membership in REJECT and KEEP is checked using simple string
|
2005-07-20 20:41:53 +00:00
|
|
|
comparison."
|
2000-07-04 04:48:49 +00:00
|
|
|
(apply #'nconc
|
|
|
|
(mapcar (lambda (dir)
|
|
|
|
(and (not (member dir reject))
|
|
|
|
(or (member dir keep) (file-directory-p dir))
|
|
|
|
(list dir)))
|
|
|
|
dirs)))
|
|
|
|
|
1991-08-14 22:27:13 +00:00
|
|
|
(defvar Info-default-directory-list
|
2000-12-14 17:12:39 +00:00
|
|
|
(let* ((config-dir
|
|
|
|
(file-name-as-directory configure-info-directory))
|
|
|
|
(config
|
|
|
|
(list config-dir))
|
2000-07-04 04:48:49 +00:00
|
|
|
(unpruned-prefixes
|
|
|
|
;; Directory trees that may not exist at installation time, and
|
2010-01-14 18:37:23 +00:00
|
|
|
;; so shouldn't be pruned based on existence.
|
2000-07-04 04:48:49 +00:00
|
|
|
'("/usr/local/"))
|
|
|
|
(prefixes
|
|
|
|
;; Directory trees in which to look for info subdirectories
|
|
|
|
(prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/")
|
|
|
|
unpruned-prefixes))
|
|
|
|
(suffixes
|
|
|
|
;; Subdirectories in each directory tree that may contain info
|
|
|
|
;; directories.
|
2007-01-18 16:07:36 +00:00
|
|
|
'("share/" "" "gnu/" "gnu/lib/" "gnu/lib/emacs/"
|
2000-12-14 17:12:39 +00:00
|
|
|
"emacs/" "lib/" "lib/emacs/"))
|
|
|
|
(standard-info-dirs
|
|
|
|
(apply #'nconc
|
|
|
|
(mapcar (lambda (pfx)
|
|
|
|
(let ((dirs
|
|
|
|
(mapcar (lambda (sfx)
|
|
|
|
(concat pfx sfx "info/"))
|
|
|
|
suffixes)))
|
|
|
|
(if (member pfx unpruned-prefixes)
|
|
|
|
dirs
|
|
|
|
(prune-directory-list dirs config))))
|
|
|
|
prefixes))))
|
2007-01-18 16:07:36 +00:00
|
|
|
;; If $(prefix)/share/info is not one of the standard info
|
|
|
|
;; directories, they are probably installing an experimental
|
|
|
|
;; version of Emacs, so make sure that experimental version's Info
|
|
|
|
;; files override the ones in standard directories.
|
2000-12-14 17:12:39 +00:00
|
|
|
(if (member config-dir standard-info-dirs)
|
2000-12-15 03:54:32 +00:00
|
|
|
(nconc standard-info-dirs config)
|
2000-12-14 17:12:39 +00:00
|
|
|
(cons config-dir standard-info-dirs)))
|
1996-06-19 22:14:31 +00:00
|
|
|
"Default list of directories to search for Info documentation files.
|
|
|
|
They are searched in the order they are given in the list.
|
1994-01-01 15:29:27 +00:00
|
|
|
Therefore, the directory of Info files that come with Emacs
|
2000-12-14 17:12:39 +00:00
|
|
|
normally should come last (so that local files override standard ones),
|
|
|
|
unless Emacs is installed into a non-standard directory. In the latter
|
|
|
|
case, the directory of Info files that come with Emacs should be
|
|
|
|
first in this list.
|
1996-06-19 22:14:31 +00:00
|
|
|
|
|
|
|
Once Info is started, the list of directories to search
|
|
|
|
comes from the variable `Info-directory-list'.
|
|
|
|
This variable `Info-default-directory-list' is used as the default
|
2000-05-30 20:40:42 +00:00
|
|
|
for initializing `Info-directory-list' when Info is started, unless
|
|
|
|
the environment variable INFOPATH is set.")
|
1990-08-30 09:33:22 +00:00
|
|
|
|
2004-10-17 07:13:37 +00:00
|
|
|
(defvar news-directory
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(purecopy (if (file-exists-p "/usr/spool/news/")
|
1995-12-21 18:01:03 +00:00
|
|
|
"/usr/spool/news/"
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
"/var/spool/news/"))
|
1990-08-30 09:33:22 +00:00
|
|
|
"The root directory below which all news files are stored.")
|
2004-10-19 06:15:15 +00:00
|
|
|
(defvaralias 'news-path 'news-directory)
|
1990-08-30 09:33:22 +00:00
|
|
|
|
|
|
|
(defvar news-inews-program
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(purecopy
|
1990-08-30 09:33:22 +00:00
|
|
|
(cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
|
|
|
|
((file-exists-p "/usr/local/inews") "/usr/local/inews")
|
|
|
|
((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
|
1996-08-15 03:03:16 +00:00
|
|
|
((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews")
|
1990-08-30 09:33:22 +00:00
|
|
|
((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(t "inews")))
|
1990-08-30 09:33:22 +00:00
|
|
|
"Program to post news.")
|
|
|
|
|
1999-09-04 11:31:31 +00:00
|
|
|
;; set this to your local server
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(defvar gnus-default-nntp-server (purecopy "") "\
|
1999-09-04 11:31:31 +00:00
|
|
|
The name of the host running an NNTP server.
|
1994-11-28 13:55:57 +00:00
|
|
|
The null string means use the local host as the server site.")
|
1990-08-30 09:33:22 +00:00
|
|
|
|
2009-10-30 02:00:11 +00:00
|
|
|
(defvar gnus-nntp-service (purecopy "nntp") "\
|
2009-09-11 06:42:13 +00:00
|
|
|
NNTP service name, usually \"nntp\" or 119.
|
1990-08-30 09:39:31 +00:00
|
|
|
Go to a local news spool if its value is nil, in which case `gnus-nntp-server'
|
|
|
|
should be set to `(system-name)'.")
|
1990-08-30 09:33:22 +00:00
|
|
|
|
1999-09-04 11:31:31 +00:00
|
|
|
(defvar gnus-local-organization nil "\
|
|
|
|
*The name of your organization, as a string.
|
1990-08-30 09:33:22 +00:00
|
|
|
The `ORGANIZATION' environment variable is used instead if defined.")
|
|
|
|
|
2009-11-12 06:55:39 +00:00
|
|
|
(defcustom rmail-file-name (purecopy "~/RMAIL") "\
|
2009-09-11 06:42:13 +00:00
|
|
|
Name of user's primary mail file."
|
1999-10-28 20:01:45 +00:00
|
|
|
:type 'string
|
|
|
|
:group 'rmail
|
|
|
|
:version "21.1")
|
1994-03-20 04:21:12 +00:00
|
|
|
|
2004-10-17 07:13:37 +00:00
|
|
|
(defvar rmail-spool-directory
|
2009-10-30 02:00:11 +00:00
|
|
|
(purecopy
|
2008-07-16 02:32:51 +00:00
|
|
|
(cond ((file-exists-p "/var/mail")
|
|
|
|
;; SVR4 and recent BSD are said to use this.
|
|
|
|
;; Rather than trying to know precisely which systems use it,
|
|
|
|
;; let's assume this dir is never used for anything else.
|
1994-07-05 04:06:00 +00:00
|
|
|
"/var/mail/")
|
1995-12-21 18:01:03 +00:00
|
|
|
;; Many GNU/Linux systems use this name.
|
|
|
|
((file-exists-p "/var/spool/mail")
|
1995-12-22 12:13:30 +00:00
|
|
|
"/var/spool/mail/")
|
2008-07-16 02:32:51 +00:00
|
|
|
((memq system-type '(hpux usg-unix-v irix))
|
1993-09-10 05:05:39 +00:00
|
|
|
"/usr/mail/")
|
2009-10-30 02:00:11 +00:00
|
|
|
(t "/usr/spool/mail/")))
|
1990-08-30 09:33:22 +00:00
|
|
|
"Name of directory used by system mailer for delivering new mail.
|
|
|
|
Its name should end with a slash.")
|
|
|
|
|
2004-10-17 07:13:37 +00:00
|
|
|
(defcustom remote-shell-program
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(purecopy
|
1995-01-18 19:46:00 +00:00
|
|
|
(cond
|
|
|
|
;; Some systems use rsh for the remote shell; others use that name for the
|
|
|
|
;; restricted shell and use remsh for the remote shell. Let's try to guess
|
|
|
|
;; based on what we actually find out there. The restricted shell is
|
|
|
|
;; almost certainly in /bin or /usr/bin, so it's probably safe to assume
|
1995-01-19 22:24:43 +00:00
|
|
|
;; that an rsh found elsewhere is the remote shell program. The converse
|
|
|
|
;; is not true: /usr/bin/rsh could be either one, so check that last.
|
1995-01-18 19:46:00 +00:00
|
|
|
((file-exists-p "/usr/ucb/remsh") "/usr/ucb/remsh")
|
1995-01-19 22:24:43 +00:00
|
|
|
((file-exists-p "/usr/bsd/remsh") "/usr/bsd/remsh")
|
1995-01-18 19:46:00 +00:00
|
|
|
((file-exists-p "/bin/remsh") "/bin/remsh")
|
1995-06-26 23:20:05 +00:00
|
|
|
((file-exists-p "/usr/bin/remsh") "/usr/bin/remsh")
|
1995-01-19 22:24:43 +00:00
|
|
|
((file-exists-p "/usr/local/bin/remsh") "/usr/local/bin/remsh")
|
|
|
|
((file-exists-p "/usr/ucb/rsh") "/usr/ucb/rsh")
|
|
|
|
((file-exists-p "/usr/bsd/rsh") "/usr/bsd/rsh")
|
1995-01-18 19:46:00 +00:00
|
|
|
((file-exists-p "/usr/local/bin/rsh") "/usr/local/bin/rsh")
|
1995-07-17 22:54:43 +00:00
|
|
|
((file-exists-p "/usr/bin/rcmd") "/usr/bin/rcmd")
|
|
|
|
((file-exists-p "/bin/rcmd") "/bin/rcmd")
|
1995-01-19 22:24:43 +00:00
|
|
|
((file-exists-p "/bin/rsh") "/bin/rsh")
|
|
|
|
((file-exists-p "/usr/bin/rsh") "/usr/bin/rsh")
|
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
(tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
(tex-start-options, slitex-run-command, latex-run-command)
(tex-run-command, tex-directory):
* textmodes/ispell.el (ispell-html-skip-alists)
(ispell-tex-skip-alists, ispell-tex-skip-alists):
* textmodes/fill.el (adaptive-fill-first-line-regexp):
(adaptive-fill-regexp):
* textmodes/dns-mode.el (auto-mode-alist):
* progmodes/python.el (interpreter-mode-alist):
* progmodes/etags.el (tags-compression-info-list):
* progmodes/etags.el (tags-file-name):
* net/browse-url.el (browse-url-galeon-program)
(browse-url-firefox-program):
* mail/sendmail.el (mail-signature-file)
(mail-citation-prefix-regexp):
* international/mule-conf.el (eight-bit):
* international/latexenc.el (latex-inputenc-coding-alist):
* international/fontset.el (x-pixel-size-width-font-regexp):
* emacs-lisp/warnings.el (warning-type-format):
* emacs-lisp/trace.el (trace-buffer):
* emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
(emacs-lisp-mode-map):
* calendar/holidays.el (holiday-solar-holidays)
(holiday-bahai-holidays, holiday-islamic-holidays)
(holiday-christian-holidays, holiday-hebrew-holidays)
(hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
(hebrew-holidays-1, holiday-oriental-holidays)
(holiday-general-holidays):
* x-dnd.el (x-dnd-known-types):
* tool-bar.el (tool-bar):
* startup.el (site-run-file):
* shell.el (shell-dumb-shell-regexp):
* rfn-eshadow.el (file-name-shadow-tty-properties)
(file-name-shadow-properties):
* paths.el (remote-shell-program, news-directory):
* mouse.el ([C-down-mouse-3]):
* menu-bar.el (menu-bar-tools-menu):
* jka-cmpr-hook.el (jka-compr-load-suffixes)
(jka-compr-mode-alist-additions, jka-compr-compression-info-list)
(jka-compr-compression-info-list):
* isearch.el (search-whitespace-regexp):
* image-file.el (image-file-name-extensions):
* find-dired.el (find-ls-option):
* files.el (directory-listing-before-filename-regexp)
(directory-free-space-args, insert-directory-program)
(list-directory-brief-switches, magic-fallback-mode-alist)
(magic-fallback-mode-alist, auto-mode-interpreter-regexp)
(automount-dir-prefix):
* faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
(x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
(face-font-registry-alternatives, face-font-registry-alternatives)
(face-font-family-alternatives):
* facemenu.el (facemenu-add-new-face, facemenu-background-menu)
(facemenu-foreground-menu, facemenu-face-menu):
* epa-hook.el (epa-file-name-regexp):
* dnd.el (dnd-protocol-alist):
* textmodes/rst.el (auto-mode-alist):
* button.el (default-button): Purecopy strings.
2009-11-06 05:16:23 +00:00
|
|
|
(t "rsh")))
|
2004-10-17 07:13:37 +00:00
|
|
|
"File name for remote-shell program (often rsh or remsh)."
|
|
|
|
:group 'environment
|
|
|
|
:type 'file)
|
1995-01-18 19:46:00 +00:00
|
|
|
|
2009-10-30 02:00:11 +00:00
|
|
|
(defvar term-file-prefix (purecopy "term/") "\
|
1999-09-04 11:31:31 +00:00
|
|
|
If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
|
1990-08-30 09:33:22 +00:00
|
|
|
You may set this variable to nil in your `.emacs' file if you do not wish
|
|
|
|
the terminal-initialization file to be loaded.")
|
|
|
|
|
1992-05-30 22:12:04 +00:00
|
|
|
;;; paths.el ends here
|