🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189007

Request for .el file to do special things

#189007
From: Anil Joshi
Date: Sat, 18 May 1991 20:30
24 lines
1406 bytes
Hi,
  I have a need for the following emacs macro.

  Given a string, search the current directory and visit the files that
  contain the string.

  What I am looking for is some thing similar to 

  vi `grep -l initQ *.[ch]`

  This seems to be a pretty useful macro to have.

  I can write my own but given the general nature of such a macro
  there is a high probability that it already exists.

Thanks in advance.

Anil
joshi@cs.uiuc.edu
-- 
"Whatever we wish ourselves to be, we have the power to make ourselves.  If what
we are now has been the result of our own past actions,then it certainly follows
that whatever we wish to be in the future, can be produced by our own present 
actions." - Vivekananda, Late Nineteenth Century Indian Philosopher
Technical Details
Message-ID: <1991May18.203000.19969@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wuarchive!m.cs.uiuc.edu!joshi

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ada1998596e342f0,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-19 03:47:12 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wuarchive!m.cs.uiuc.edu!joshi
From: joshi@m.cs.uiuc.edu (Anil Joshi)
Newsgroups: gnu.emacs.help
Subject: Request for .el file to do special things
Summary: Does anybody have an .el file to visit files which contain a string?
Keywords: .el files, grep
Message-ID: <1991May18.203000.19969@m.cs.uiuc.edu>
Date: 18 May 91 20:30:00 GMT
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
Lines: 24