help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp question


From: N. Raghavendra
Subject: Re: elisp question
Date: 02 Dec 2005 13:14:07 +0530
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

At 2005-12-02T00:40:14+01:00, Thien-Thi Nguyen wrote:

> fyi, the emacs lisp reference manual in cvs emacs, node "Bindat
> Examples", has code that does cookie file composition and extraction
> in elisp (i.e., emulating the common-case behaviors of fortune(1)
> and strfile(8), rendering them unnecessary).

Thank you for the information.  I checked out the Emacs Lisp manual
from CVS, and saw the examples.  Since I use Emacs 21.3, I checked out
`bindat.el' from CVS, and tried the examples from the manual.  They
function perfectly.

There seems to be some incompatibility between the index files created
from the same fortune file by strfile(8) and `fcookie-create-index'.
In particular, if I create an index file with `fcookie-create-index'
and apply fortune(1) to it, I sometimes get the first cookie in the
file, or no cookie at all.  OTOH, the same index file works well with
`fcookie'.

Similarly, if I create an index file with strfile(8) and evaluate
`fcookie' on the corresponding cookie file, a buffer containing the
entire cookie file is displayed.

Raghavendra.

-- 
N. Raghavendra <raghu@mri.ernet.in> | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]