annotate lisp/efs/efs-auto.el @ 189:489f57a838ef r20-3b21

Import from CVS: tag r20-3b21
author cvs
date Mon, 13 Aug 2007 09:57:07 +0200
parents 7d55a9ba150c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
1 ;; -*-Emacs-Lisp-*-
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
3 ;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
4 ;; File: efs-auto.el
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
5 ;; Release: $efs release: 1.15 $
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
6 ;; Version: #Revision: 1.8 $
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
7 ;; RCS:
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
8 ;; Description: Simple way of autoloading efs
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
9 ;; Author: Andy Norman, Dawn
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
10 ;; Created: Thu Sep 24 09:50:08 1992
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
11 ;; Language: Emacs-Lisp
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
12 ;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
13 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
14
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
15 ;;; This file is part of efs. See efs.el for copyright
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
16 ;;; (it's copylefted) and warrranty (there isn't one) information.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
17
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
18 ;;; Provides a way of autoloading efs. To use this, just put
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 114
diff changeset
19 ;;; (require 'efs-auto) in your .emacs file.
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
20 ;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
21 ;;; The Bad News:
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
22 ;;;
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
23 ;;; 1. Calls to load and require will not trigger efs to autoload.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
24 ;;; If you are want to put remote directories in your load path,
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
25 ;;; you should require efs.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
26 ;;; 2. Because efs does not overload expand-file-name until it is loaded,
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
27 ;;; "smart" expansion of file names on remote apollos running domain
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
28 ;;; will not work yet. This means that accessing a file on a remote
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
29 ;;; apollo may not correctly cause efs to autoload. This will depend
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
30 ;;; the details of your command sequence.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
31
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
32 (provide 'efs-auto)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
33 (require 'efs-ovwrt)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
34 (require 'efs-fnh)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
35
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
36 (defconst efs-auto-version
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
37 (concat (substring "$efs release: 1.15 $" 14 -2)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
38 "/"
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
39 (substring "#Revision: 1.8 $" 11 -2)))
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
40
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
41 ;;; Interactive functions that should be accessible from here.
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
42
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
43 (autoload 'efs-report-bug "efs-report" "Submit a bug report for efs." t)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
44 (autoload
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
45 'efs-set-passwd "efs-netrc"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
46 "For a given HOST and USER, set or change the associated PASSWORD." t)
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
47 (autoload 'efs-nslookup-host "efs"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
48 "Attempt to resolve a hostname using nslookup if possible." t)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
49 (autoload 'efs-display-ftp-activity "efs"
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
50 "Displays the number of active background ftp sessions in the modeline.
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
51 Uses the variable `efs-mode-line-format' to determine how this will be
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
52 displayed." t)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
53 (autoload 'efs-ftp-path "efs-cu"
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
54 "Parse PATH according to efs-path-regexp.
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 116
diff changeset
55 Returns a list (HOST USER PATH), or nil if PATH does not match the format.")
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
56
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents:
diff changeset
57 ;;; end of efs-auto.el