[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fortune errors
From: |
Mads Jensen |
Subject: |
fortune errors |
Date: |
05 Jun 2005 15:07:05 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hi NG,
I found some code snippets for adding a small fortune-cookie, when you
send out emails, but I'm getting this bug for some strange reason:
Debugger entered--Lisp error: (error "Can't compile fortune file
/home/madsj/docs/ascii/misc/fortunes/usenet") signal(error ("Can't
compile fortune file /home/madsj/docs/ascii/misc/fortunes/usenet"))
error("Can't compile fortune file %s"
"/home/madsj/docs/ascii/misc/fortunes/usenet")
fortune-compile("/home/madsj/docs/ascii/misc/fortunes/usenet")
fortune-in-buffer(nil nil) fortune-to-signature()
run-hooks(mail-setup-hook) mail-setup(nil nil nil nil nil nil)
mail(nil) * call-interactively(mail) execute-extended-command(nil)
call-interactively(execute-extended-command)
I have these lines in my ~/.emacs, that should control the fortune
cookie thing:
(require 'fortune)
(add-hook 'mail-setup-hook 'fortune-to-signature)
(setq fortune-dir "/usr/share/games/fortune"
fortune-file "/usr/share/games/fortune/fortunes")
But I still get this weird error. Can anyone please help me ?
--
Mads Jensen - mail sent to address ends in /dev/null
s/spam/madsj for emailing me
Research is what I'm doing when I don't know what I'm doing.
-- Wernher von Braun
- fortune errors,
Mads Jensen <=