0
|
1 ;;; spook.el --- spook phrase utility for overloading the NSA line eater
|
|
2
|
|
3 ;; Copyright (C) 1988, 1993 Free Software Foundation, Inc.
|
|
4
|
|
5 ;; Maintainer: FSF
|
|
6 ;; Keywords: games
|
|
7 ;; Created: May 1987
|
|
8
|
|
9 ;; This file is part of XEmacs.
|
|
10
|
|
11 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
12 ;; under the terms of the GNU General Public License as published by
|
|
13 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
14 ;; any later version.
|
|
15
|
|
16 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
19 ;; General Public License for more details.
|
|
20
|
|
21 ;; You should have received a copy of the GNU General Public License
|
72
|
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
|
|
23 ;; Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
0
|
24
|
72
|
25 ;;; Synched up with: FSF 19.34.
|
0
|
26
|
|
27 ;;; Commentary:
|
|
28
|
72
|
29 ;; Steve Strassmann <straz@media-lab.media.mit.edu> didn't write
|
|
30 ;; this, and even if he did, he really didn't mean for you to use it
|
|
31 ;; in an anarchistic way.
|
|
32 ;;
|
|
33 ;; To use this:
|
|
34 ;; Just before sending mail, do M-x spook.
|
|
35 ;; A number of phrases will be inserted into your buffer, to help
|
|
36 ;; give your message that extra bit of attractiveness for automated
|
|
37 ;; keyword scanners.
|
0
|
38
|
|
39 ;;; Code:
|
|
40
|
|
41 (require 'cookie1)
|
|
42
|
|
43 ; Variables
|
|
44 (defvar spook-phrases-file (concat data-directory "spook.lines")
|
|
45 "Keep your favorite phrases here.")
|
|
46
|
|
47 (defvar spook-phrase-default-count 15
|
|
48 "Default number of phrases to insert")
|
|
49
|
|
50 ;;;###autoload
|
|
51 (defun spook ()
|
|
52 "Adds that special touch of class to your outgoing mail."
|
|
53 (interactive)
|
|
54 (cookie-insert spook-phrases-file
|
|
55 spook-phrase-default-count
|
|
56 "Checking authorization..."
|
|
57 "Checking authorization...Approved"))
|
|
58
|
|
59 ;;;###autoload
|
|
60 (defun snarf-spooks ()
|
|
61 "Return a vector containing the lines from `spook-phrases-file'."
|
|
62 (cookie-snarf spook-phrases-file
|
|
63 "Checking authorization..."
|
|
64 "Checking authorization...Approved"))
|
|
65
|
|
66 ;; Note: the implementation that used to take up most of this file has been
|
|
67 ;; cleaned up, generalized, gratuitously broken by esr, and now resides in
|
|
68 ;; cookie1.el.
|
|
69
|
|
70 ;;; spook.el ends here
|