annotate lisp/utils/finder.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 0293115a14e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; finder.el --- topic & keyword-based code finder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;; Copyright (C) 1992 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;; Created: 16 Jun 1992
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;; Version: 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;; Keywords: help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;; X-Modified-by: Bob Weiner <weiner@mot.com>, 4/18/95, to include Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;; library directory names in finder-program-info, for fast display of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;; Lisp libraries and associated commentaries. Added {v}, finder-view,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;; and {e}, finder-edit commands for displaying libraries.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;; Added user variable, 'finder-abbreviate-directory-list', used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;; abbreviate directories before they are saved to finder-program-info.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;; Such relative directories can be portable from one Emacs installation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;; to another. Default value is based upon the value of Emacs'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;; data-directory variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;; This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;; XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;; under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 ;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;; XEmacs is distributed in the hope that it will be useful, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ;; General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 ;; along with XEmacs; see the file COPYING. If not, write to the Free
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
34 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
35 ;; 02111-1307, USA.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
37 ;;; Synched up with: FSF 19.34.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 ;;; Commentary:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 ;; This mode uses the Keywords library header to provide code-finding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ;; services by keyword.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 ;; Things to do:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 ;; 1. Support multiple keywords per search. This could be extremely hairy;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 ;; there doesn't seem to be any way to get completing-read to exit on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 ;; an EOL with no substring pending, which is what we'd want to end the loop.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 ;; 2. Search by string in synopsis line?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 ;; 3. Function to check finder-package-info for unknown keywords.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 ;;; Code:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 (require 'lisp-mnt)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (require 'finder-inf)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
55 ;; XEmacs addition
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (require 'picture)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (require 'mode-motion)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 (defvar finder-emacs-root-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 (file-name-directory (directory-file-name data-directory))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 "Root directory of current emacs tree.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (defvar finder-abbreviate-directory-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (list finder-emacs-root-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 "*List of directory roots to remove from finder-package-info directory entries.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 The first element in the list is used when expanding relative package
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 directories to view or extract information from package source code.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (defvar finder-file-regexp "\\.el$"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 "Regexp which matches file names but not Emacs Lisp finder keywords.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 ;; Local variable in finder buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 (defvar finder-headmark)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 (defvar finder-known-keywords
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 '(
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 (abbrev . "abbreviation handling, typing shortcuts, macros")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 (bib . "code related to the `bib' bibliography processor")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
79 (c . "support for the C language and related languages")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 (calendar . "calendar and time management support")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (comm . "communications, networking, remote access to files")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 (data . "support editing files of data")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 (docs . "support for Emacs documentation")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 (emulations . "emulations of other editors")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 (extensions . "Emacs Lisp language extensions")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 (faces . "support for multiple fonts")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
87 (frames . "support for Emacs frames and window systems")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 (games . "games, jokes and amusements")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 (hardware . "support for interfacing with exotic hardware")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 (help . "support for on-line help systems")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 (hypermedia . "support for links between text or other media types")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 (i18n . "internationalization and alternate character-set support")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 (internal . "code for Emacs internals, build process, defaults")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (languages . "specialized modes for editing programming languages")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 (lisp . "Lisp support, including Emacs Lisp")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (local . "code local to your site")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 (maint . "maintenance aids for the Emacs development group")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 (mail . "modes for electronic-mail handling")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 (matching . "various sorts of searching and matching")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 (mouse . "mouse support")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 (news . "support for netnews reading and posting")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 (oop . "support for object-oriented programming")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 (outlines . "support for hierarchical outlining")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 (processes . "process, subshell, compilation, and job control support")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 (terminals . "support for terminal types")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 (tex . "code related to the TeX formatter")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 (tools . "programming tools")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 (unix . "front-ends/assistants for, or emulators of, UNIX features")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (vms . "support code for vms")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 (wp . "word processing")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 (defvar finder-mode-map nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (or finder-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 (let ((map (make-sparse-keymap)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 (define-key map " " 'finder-select)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 (define-key map "f" 'finder-select)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 (define-key map "\C-m" 'finder-select)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
119 ;; XEmacs changes
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 (define-key map "e" 'finder-edit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 (define-key map "v" 'finder-view)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 (define-key map "?" 'finder-summary)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 (define-key map "q" 'finder-exit)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (define-key map "d" 'finder-list-keywords)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
125 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 (define-key map [button2] 'finder-mouse-select)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 (setq finder-mode-map map)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 ;;; Code for regenerating the keyword list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 (defvar finder-package-info nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 "Assoc list mapping file names to description & keyword lists.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (defvar finder-compile-keywords-quiet nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 "If non-nil finder-compile-keywords will not print any messages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 (defun finder-compile-keywords (&rest dirs)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 "Regenerate the keywords association list into the file `finder-inf.el'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 Optional arguments are a list of Emacs Lisp directories to compile from; no
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 arguments compiles from `load-path'."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 (save-excursion
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
143 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 (find-file "finder-inf.el")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 (let ((processed nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 (directory-abbrev-alist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 (append
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 (mapcar (function (lambda (dir) (cons dir "")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 finder-abbreviate-directory-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 directory-abbrev-alist))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 (using-load-path))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (or dirs (setq dirs load-path))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 (setq using-load-path (equal dirs load-path))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 (insert ";;; finder-inf.el --- keyword-to-package mapping\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 (insert ";; Keywords: help\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 (insert ";;; Commentary:\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 (insert ";; Don't edit this file. It's generated by finder.el\n\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 (insert ";;; Code:\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 (insert "\n(setq finder-package-info '(\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 (mapcar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 (function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (lambda (d)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 (mapcar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 (function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 (lambda (f)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 (if (not (member f processed))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 (let (summary keystart keywords)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (setq processed (cons f processed))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 (if (not finder-compile-keywords-quiet)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (message "Processing %s ..." f))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 (set-buffer (get-buffer-create "*finder-scratch*"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 (buffer-disable-undo (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 (insert-file-contents (expand-file-name f d))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 (setq summary (lm-synopsis)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 keywords (lm-keywords)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 (if (not summary)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 (insert (format " (\"%s\"\n " f))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 (prin1 summary (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 (insert "\n ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 (setq keystart (point))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 (insert (if keywords (format "(%s)" keywords) "nil"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 (subst-char-in-region keystart (point) ?, ? )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 (insert "\n ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 (prin1 (abbreviate-file-name d) (current-buffer))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 (insert ")\n"))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 ;; Skip null, non-existent or relative pathnames, e.g. "./", if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 ;; using load-path, so that they do not interfere with a scan of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 ;; library directories only.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 (if (and using-load-path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 (not (and d (file-name-absolute-p d) (file-exists-p d))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 (setq d (file-name-as-directory (or d ".")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 (directory-files d nil "^[^=].*\\.el$")))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 dirs)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 (insert "))\n\n(provide 'finder-inf)\n\n;;; finder-inf.el ends here\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 (kill-buffer "*finder-scratch*")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 (eval-current-buffer) ;; So we get the new keyword list immediately
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 (basic-save-buffer))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
205 (defun finder-compile-keywords-make-dist ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
206 "Regenerate `finder-inf.el' for the Emacs distribution."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
207 (finder-compile-keywords default-directory))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
208
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 ;;; Now the retrieval code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
211 (defun finder-insert-at-column (column &rest strings)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
212 "Insert list of STRINGS, at column COLUMN."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
213 (if (> (current-column) column) (insert "\n"))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
214 (move-to-column column)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
215 (let ((col (current-column)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
216 (if (< col column)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
217 (indent-to column)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
218 (if (and (/= col column)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
219 (= (preceding-char) ?\t))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
220 (let (indent-tabs-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
221 (delete-char -1)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
222 (indent-to col)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
223 (move-to-column column)))))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
224 (apply 'insert strings))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
225
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 (defun finder-list-keywords ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 "Display descriptions of the keywords in the Finder buffer."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 (setq buffer-read-only nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 (mapcar
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
232 (lambda (assoc)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
233 (let ((keyword (car assoc)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
234 (insert (symbol-name keyword))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
235 (finder-insert-at-column 14 (concat (cdr assoc) "\n"))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
236 (cons (symbol-name keyword) keyword)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 finder-known-keywords)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 (setq finder-headmark (point))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 (setq buffer-read-only t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 (set-buffer-modified-p nil)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
242 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 (if (not (one-window-p))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 (balance-windows))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 (finder-summary))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 (defun finder-list-matches (key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 (setq buffer-read-only nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 (let ((id (intern key)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 (insert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 "The following packages match the keyword `" key "':\n\n")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 (setq finder-headmark (point))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 (mapcar
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
255 (lambda (x)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
256 (if (memq id (car (cdr (cdr x))))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
257 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
258 (insert (car x))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
259 (finder-insert-at-column 16 (concat (car (cdr x)) "\n")))))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 finder-package-info)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 (forward-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 (setq buffer-read-only t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 (set-buffer-modified-p nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 (shrink-window-if-larger-than-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 (finder-summary)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
268 ;; Search for a file named FILE the same way `load' would search.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 (defun finder-find-library (file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 (if (file-name-absolute-p file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 (let ((dirs load-path)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 found)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 (while (and dirs (not found))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 (if (file-exists-p (expand-file-name (concat file ".el") (car dirs)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 (setq found (expand-file-name file (car dirs)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 (if (file-exists-p (expand-file-name file (car dirs)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 (setq found (expand-file-name file (car dirs)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 (setq dirs (cdr dirs)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 found)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 (defun finder-commentary (file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 (let* ((str (lm-commentary (finder-find-library file))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 (if (null str)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 (error "Can't find any Commentary section"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 (pop-to-buffer "*Finder*")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
288 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 (setq buffer-read-only nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 mode-motion-hook 'mode-motion-highlight-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 (insert str)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 (delete-blank-lines)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 (goto-char (point-max))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 (delete-blank-lines)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 (while (re-search-forward "^;+ ?" nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 (replace-match "" nil nil))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 (goto-char (point-min))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 (setq buffer-read-only t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 (set-buffer-modified-p nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 (shrink-window-if-larger-than-buffer)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
304 (finder-summary)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 (defun finder-current-item ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 (if (and finder-headmark (< (point) finder-headmark))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 (error "No keyword or filename on this line")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 (beginning-of-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 (current-word))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
313 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 (defun finder-edit ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 (let ((entry (finder-current-item)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 (if (string-match finder-file-regexp entry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 (let ((path (finder-find-library entry)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 (if path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 (find-file-other-window path)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 (error "Can't find Emacs Lisp library: '%s'" entry)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 ;; a finder keyword
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 (error "Finder-edit works on Emacs Lisp libraries only"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
325 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 (defun finder-view ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 (let ((entry (finder-current-item)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 (if (string-match finder-file-regexp entry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 (let ((path (finder-find-library entry)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 (if path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 (view-file-other-window path)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 (error "Can't find Emacs Lisp library: '%s'" entry)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 ;; a finder keyword
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 (error "Finder-view works on Emacs Lisp libraries only"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 (defun finder-select ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 (let ((key (finder-current-item)))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
340 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 (if (string-match finder-file-regexp key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 (finder-commentary key)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 (finder-list-matches key))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
345 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 (defun finder-mouse-select (ev)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 (interactive "e")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 (goto-char (event-point ev))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 (finder-select))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 (defun finder-by-keyword ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 "Find packages matching a given keyword."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 (finder-mode)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 (finder-list-keywords))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 (defun finder-mode ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 "Major mode for browsing package documentation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 \\<finder-mode-map>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 \\[finder-select] more help for the item on the current line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 \\[finder-edit] edit Lisp library in another window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 \\[finder-view] view Lisp library in another window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 \\[finder-exit] exit Finder mode and kill the Finder buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 (interactive)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 (pop-to-buffer "*Finder*")
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
367 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 (setq buffer-read-only nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 mode-motion-hook 'mode-motion-highlight-line)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 (erase-buffer)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 (use-local-map finder-mode-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 (set-syntax-table emacs-lisp-mode-syntax-table)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 (setq mode-name "Finder")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 (setq major-mode 'finder-mode)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 (make-local-variable 'finder-headmark)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
376 (setq finder-headmark nil))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 (defun finder-summary ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 "Summarize basic Finder commands."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 (interactive)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
381 (message "%s"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 (substitute-command-keys
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
383 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 "\\<finder-mode-map>\\[finder-select] = select, \\[finder-list-keywords] = keywords, \\[finder-edit] = edit, \\[finder-view] = view, \\[finder-exit] = quit, \\[finder-summary] = help")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 (defun finder-exit ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 "Exit Finder mode and kill the buffer"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 (interactive)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
389 ;; XEmacs change
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 (or (one-window-p t 0)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 (delete-window))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 (kill-buffer "*Finder*"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 (provide 'finder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 ;;; finder.el ends here