Editing fortune files with Emacs is a pain: M-q reformats the whole file :-(
Here's a trivial but usefull fortune-mode to edit fortune files: (defconst fortune-font-lock-keywords '(("^%$" . font-lock-keyword-face))) ;;;###autoload (define-derived-mode fortune-mode text-mode "Fortune" "Major mode for editting fortune files" (set (make-local-variable 'font-lock-defaults) '(fortune-font-lock-keywords t)) (set (make-local-variable 'paragraph-separate) (concat "\\(%$\\|" paragraph-separate "\\)"))) I think this should go in fortune.el -- Matthieu _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug