1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00
emacs/lisp/play/spook.el

83 lines
2.5 KiB
EmacsLisp
Raw Normal View History

1992-05-30 21:11:25 +00:00
;;; spook.el --- spook phrase utility for overloading the NSA line eater
2005-08-01 15:47:19 +00:00
;; Copyright (C) 1988, 1993, 2002, 2003, 2004,
;; 2005 Free Software Foundation, Inc.
1992-07-22 02:58:48 +00:00
1992-07-17 20:24:00 +00:00
;; Maintainer: FSF
;; Keywords: games
1993-03-22 16:53:22 +00:00
;; Created: May 1987
1992-07-15 21:31:44 +00:00
1989-10-31 16:00:07 +00:00
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
1992-07-16 21:47:34 +00:00
;; the Free Software Foundation; either version 2, or (at your option)
1989-10-31 16:00:07 +00:00
;; any later version.
;; 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
1996-01-14 07:34:30 +00:00
;; along with GNU Emacs; see the file COPYING. If not, write to the
2005-07-04 17:55:18 +00:00
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
1989-10-31 16:00:07 +00:00
1992-07-15 21:31:44 +00:00
;;; Commentary:
1989-10-31 16:00:07 +00:00
1996-01-14 07:34:30 +00:00
;; Steve Strassmann <straz@media-lab.media.mit.edu> didn't write
;; this, and even if he did, he really didn't mean for you to use it
;; in an anarchistic way.
;;
;; To use this:
;; Just before sending mail, do M-x spook.
;; A number of phrases will be inserted into your buffer, to help
;; give your message that extra bit of attractiveness for automated
;; keyword scanners. Help defeat the NSA trunk trawler!
1989-10-31 16:00:07 +00:00
1992-07-15 21:31:44 +00:00
;;; Code:
1993-06-01 04:28:54 +00:00
(require 'cookie1)
1993-03-22 22:44:49 +00:00
1989-10-31 16:00:07 +00:00
; Variables
1998-04-05 16:14:58 +00:00
(defgroup spook nil
"Spook phrase utility for overloading the NSA line eater."
:prefix "spook-"
:group 'games)
(defcustom spook-phrases-file (expand-file-name "spook.lines" data-directory)
1998-04-05 16:14:58 +00:00
"Keep your favorite phrases here."
:type 'file
:group 'spook)
(defcustom spook-phrase-default-count 15
"Default number of phrases to insert."
:type 'integer
:group 'spook)
1989-10-31 16:00:07 +00:00
1992-09-26 21:41:37 +00:00
;;;###autoload
1989-10-31 16:00:07 +00:00
(defun spook ()
"Adds that special touch of class to your outgoing mail."
(interactive)
1993-07-14 23:38:00 +00:00
(cookie-insert spook-phrases-file
spook-phrase-default-count
"Checking authorization..."
"Checking authorization...Approved"))
;;;###autoload
(defun snarf-spooks ()
"Return a vector containing the lines from `spook-phrases-file'."
(cookie-snarf spook-phrases-file
"Checking authorization..."
"Checking authorization...Approved"))
;; Note: the implementation that used to take up most of this file has been
;; cleaned up, generalized, gratuitously broken by esr, and now resides in
;; cookie1.el.
1992-05-30 21:11:25 +00:00
1997-06-22 18:57:55 +00:00
(provide 'spook)
2003-09-01 15:45:59 +00:00
;;; arch-tag: c682b61f-92b6-4492-9c0d-2367e562449c
1992-05-30 21:11:25 +00:00
;;; spook.el ends here