From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: elisp question Date: 02 Dec 2005 03:07:49 +0530 Organization: X-Organization Message-ID: <86mzjkwlaq.fsf@riemann.mri.ernet.in> References: <86acfl49nn.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 1133473592 6561 80.91.229.2 (1 Dec 2005 21:46:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2005 21:46:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 22:46:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhwD5-0007rt-Bu for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Dec 2005 22:43:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhwD4-0004pZ-8T for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Dec 2005 16:43:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!uio.no!news.banetele.no!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 21 Original-NNTP-Posting-Host: 202.41.87.100 Original-X-Trace: news.sunsite.dk DXC=EgIiK^DPKHcE`KPf6Y4mAkYSB=nbEKnkknU8l1k:; :mnID5_U; QN1Yc=JDn=l3B; kmATKI?[mLM1khGV>7]YX4kkQ0M5fBe1GNd Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:135982 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:31589 Archived-At: 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 Raghavendra. -- N. Raghavendra | See message headers for contact Harish-Chandra Research Institute | and OpenPGP details.