File: fortune.el.html
This utility allows you to automatically cut regions to a fortune file. In case that the region stems from an article buffer (mail or news), it will try to automatically determine the author of the fortune. It will also allow you to compile your fortune database as well as providing a function to extract a fortune for use as your signature.
Of course, it can simply display a fortune, too. Use prefix arguments to specify different fortune databases.
Defined variables (14)
fortune-always-compile | Non-nil means automatically compile fortune files. |
fortune-author-line-prefix | Prefix to put before the author name of a fortunate. |
fortune-database-extension | The extension of the corresponding fortune database. |
fortune-dir | The directory to look in for local fortune cookies files. |
fortune-file | The file in which local fortune cookies will be stored. |
fortune-fill-column | Fill column for fortune files. |
fortune-from-mail | String to use to characterize that the fortune comes from an e-mail. |
fortune-program | Program to select a fortune cookie. |
fortune-program-options | List of options to pass to the fortune program. |
fortune-quiet-strfile-options | Text added to the command for running ‘strfile’. |
fortune-sigend | Some text to insert after the fortune cookie, in a mail signature. |
fortune-sigstart | Some text to insert before the fortune cookie, in a mail signature. |
fortune-strfile | Program to compute a new fortune database. |
fortune-strfile-options | Options to pass to the strfile program (a string). |
Defined functions (9)
fortune | (&optional FILE) |
fortune-add-fortune | (STRING FILE) |
fortune-append | (STRING &optional INTERACTIVE FILE) |
fortune-ask-file | () |
fortune-compile | (&optional FILE) |
fortune-from-region | (BEG END FILE) |
fortune-in-buffer | (INTERACTIVE &optional FILE) |
fortune-message | (&optional FILE) |
fortune-to-signature | (&optional FILE) |