* Visit random info files?
@ 2005-05-11 21:30 Ryan Bowman
2005-05-11 21:57 ` Joe Corneli
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Bowman @ 2005-05-11 21:30 UTC (permalink / raw)
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?
If so, Would someone be willing to instruct me on how
such a function could be composed (or is there one
already)?
When there's not a specific subject I'm seeking to
learn I'd like to be able to jump around randomly to
find new things to learn. It's great fun on the wiki,
just make a bookmark to
http://www.emacswiki.org/cgi-bin/wiki?action=random .
Thanks.
----
Ryan Bowman
While any text editor can save your files, only Emacs can save your soul. -- Per Abrahamsen
----
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Visit random info files?
2005-05-11 21:30 Ryan Bowman
@ 2005-05-11 21:57 ` Joe Corneli
0 siblings, 0 replies; 4+ messages in thread
From: Joe Corneli @ 2005-05-11 21:57 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Visit random info files?
[not found] <mailman.4709.1115847214.2819.help-gnu-emacs@gnu.org>
@ 2005-05-11 23:23 ` Thien-Thi Nguyen
2005-05-14 12:56 ` Alan Mackenzie
1 sibling, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2005-05-11 23:23 UTC (permalink / raw)
Ryan Bowman <ryanlbowman@yahoo.com> writes:
> Would someone be willing to instruct me on how
> such a function could be composed (or is there one
> already)?
some scheme that does this for a specific info file:
http://www.glug.org/people/ttn/software/ttn-do/dist/random-info-node.scm
relevant bit is on line 42 (what a coincidence! ;-).
thi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Visit random info files?
[not found] <mailman.4709.1115847214.2819.help-gnu-emacs@gnu.org>
2005-05-11 23:23 ` Visit random info files? Thien-Thi Nguyen
@ 2005-05-14 12:56 ` Alan Mackenzie
1 sibling, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2005-05-14 12:56 UTC (permalink / raw)
Ryan Bowman <ryanlbowman@yahoo.com> wrote on Wed, 11 May 2005 14:30:38
-0700 (PDT):
> 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? If so, Would someone be willing to instruct me on how such
> a function could be composed (or is there one already)?
Maybe it's not quite what you're looking for, but C-u C-h i might do. It
loads the file you tell it as an info file.
> Ryan Bowman
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-14 12:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4709.1115847214.2819.help-gnu-emacs@gnu.org>
2005-05-11 23:23 ` Visit random info files? Thien-Thi Nguyen
2005-05-14 12:56 ` Alan Mackenzie
2005-05-11 21:30 Ryan Bowman
2005-05-11 21:57 ` Joe Corneli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).