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