From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim McNamara Newsgroups: gmane.emacs.help Subject: Re: elisp question Date: Thu, 01 Dec 2005 19:05:02 -0600 Organization: ipHouse - Welcome Home! Message-ID: References: <86acfl49nn.fsf@riemann.mri.ernet.in> <86mzjkwlaq.fsf@riemann.mri.ernet.in> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133486953 13788 80.91.229.2 (2 Dec 2005 01:29:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 01:29:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 02:29:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhziZ-0005Od-KK for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Dec 2005 02:28:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhziX-0003PX-07 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Dec 2005 20:28:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsread.com!news-xfer.newsread.com!postnews.google.com!news3.google.com!news.glorb.com!green.octanews.net!news-out.octanews.net!news-2.mpls.iphouse.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:8sgNsZXqhU/Xl4D36R+uGIAHMEI= Original-Lines: 20 Original-NNTP-Posting-Date: 01 Dec 2005 19:05:02 CST Original-NNTP-Posting-Host: 94055a85.newsreader.iphouse.net Original-X-Trace: DXC=AAce[L>83P7^jQQFiSjbZm:@8]TdIggUf@e7N90MVd]FNgACeLGa9W Original-X-Complaints-To: abuse@iphouse.net Original-Xref: shelby.stanford.edu gnu.emacs.help:135990 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31597 Archived-At: "N. Raghavendra" writes: > At 2005-12-01T13:32:02-06:00, Tim McNamara wrote: > >> Thank you, I will look into that further. I didn't realize that >> Emacs had its own fortune program and had errantly thought that the >> standard Unix fortune was being called. > > `fortune.el' does use the standard Unix command fortune(6) to do the > actual work. However, the cookie files used by fortune(6) need not > be the standard ones. They could, for instance, be the Dhammapada > verses you want to use. > > I forgot to point out that before you can do what I had suggested, > you need to create the data files for your fortunes, using > strfile(8): > > cd ~/kaya; for i in [0-9]*; do strfile $i; done Thank you for that!