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-compileNon-nil means automatically compile fortune files.
fortune-author-line-prefixPrefix to put before the author name of a fortunate.
fortune-database-extensionThe extension of the corresponding fortune database.
fortune-dirThe directory to look in for local fortune cookies files.
fortune-fileThe file in which local fortune cookies will be stored.
fortune-fill-columnFill column for fortune files.
fortune-from-mailString to use to characterize that the fortune comes from an e-mail.
fortune-programProgram to select a fortune cookie.
fortune-program-optionsList of options to pass to the fortune program.
fortune-quiet-strfile-optionsText added to the command for running ‘strfile’.
fortune-sigendSome text to insert after the fortune cookie, in a mail signature.
fortune-sigstartSome text to insert before the fortune cookie, in a mail signature.
fortune-strfileProgram to compute a new fortune database.
fortune-strfile-optionsOptions 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)

Defined faces (0)