unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Elisp: Search a File Without Visiting?
@ 2003-06-16 18:33 taashlo
  2003-06-16 19:13 ` Sam Halliday
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: taashlo @ 2003-06-16 18:33 UTC (permalink / raw)


I've looked throught the elisp manual without finding the answer to
my question.  I've written some elisp so that when I hit a key
sequence (C-ct) a thesaurus lookup of the word at point (or the
phrase with the mark) is performed with the results of the search
displayed in a separate window (for further searching or dictionary
lookup).

This currently works, but it relies on loading the entire thesaurus
file into a buffer to search for the word.  The problem is that the
thesaurus file (mthesaur.txt[1]) is about 24MiB.

My question: is it possible (using elisp) to search the contents of
the thesaurus file *without* loading it into a buffer?

Thanks,
Tad

[1] ftp://ibiblio.org/pub/docs/books/gutenberg/etext02/mthes10.zip

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-18  0:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-16 18:33 Elisp: Search a File Without Visiting? taashlo
2003-06-16 19:13 ` Sam Halliday
2003-06-16 19:48   ` taashlo
2003-06-16 19:13 ` Kai Großjohann
2003-06-16 19:47   ` taashlo
2003-06-16 19:20 ` Stefan Monnier
2003-06-17 17:04   ` taashlo
2003-06-17 18:19     ` Stefan Monnier
2003-06-18  0:44       ` Tad Ashlock
2003-06-17 15:02 ` Eric Hanchrow

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).