From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: Visit random info files? Date: Wed, 11 May 2005 16:57:43 -0500 Message-ID: References: <20050511213038.55882.qmail@web51905.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115849001 30502 80.91.229.2 (11 May 2005 22:03:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 May 2005 22:03:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 12 00:03:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVzHU-0005KR-3P for geh-help-gnu-emacs@m.gmane.org; Thu, 12 May 2005 00:02:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVzJe-00058A-7d for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2005 18:04:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVzJ3-0004xL-Sj for help-gnu-emacs@gnu.org; Wed, 11 May 2005 18:03:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVzIz-0004tw-LN for help-gnu-emacs@gnu.org; Wed, 11 May 2005 18:03:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVzIz-0004rJ-2G for help-gnu-emacs@gnu.org; Wed, 11 May 2005 18:03:49 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVzJa-0005Un-MR for help-gnu-emacs@gnu.org; Wed, 11 May 2005 18:04:26 -0400 Original-Received: from lab2.ma.utexas.edu (mail@lab2.ma.utexas.edu [128.83.133.46]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j4BLvhx25338; Wed, 11 May 2005 16:57:43 -0500 Original-Received: from jcorneli by lab2.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DVzD5-0003Ov-00; Wed, 11 May 2005 16:57:43 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: <20050511213038.55882.qmail@web51905.mail.yahoo.com> (message from Ryan Bowman on Wed, 11 May 2005 14:30:38 -0700 (PDT)) 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:26523 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26523 Prefacing my question, I know nothing of info files, is it possible to write a function that visits a randomly chosen page from all available info files? Yes, in Emacs anything is possible. If so, Would someone be willing to instruct me on how such a function could be composed (or is there one already)? Can you index the collection of all info pages? If so, then it is trivial to make a random selection from this index.