all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
Subject: Re: Elisp: Search a File Without Visiting?
Date: 17 Jun 2003 08:02:24 -0700	[thread overview]
Message-ID: <877k7ksq67.fsf@blarg.net> (raw)
In-Reply-To: un0ghyirr.fsf@sandia.gov

>>>>> "Tad" == taashlo  <taashlo@sandia.gov> writes:

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

You could use, or duplicate the code of, the `grep' command.  That
simply runs `grep' in a subprocesses and captures the output in a
buffer.
 
-- 
In the practice of computing, where we have so much latitude for
making a mess of it, mathematical elegance is not a dispensable
luxury, but a matter of life and death.

        -- Edsger W. Dijkstra: My Hopes of Computing Science (EWD  709)
        http://www.cs.utexas.edu/users/EWD/ewd07xx/EWD709.PDF

      parent reply	other threads:[~2003-06-17 15:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877k7ksq67.fsf@blarg.net \
    --to=offby1@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.