From xemacs-m  Mon Sep 15 14:32:12 1997
Received: from wfdutilgw.ml.com (wfdutilf01.ml.com [206.3.74.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA17151
	for <xemacs-beta@xemacs.org>; Mon, 15 Sep 1997 14:32:12 -0500 (CDT)
Received: from ml1.ml.com ([199.201.57.130])
	by wfdutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id PAA12098;
	Mon, 15 Sep 1997 15:13:19 -0400 (EDT)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24])
	by ml1.ml.com (8.8.5/8.8.5/MLml4-2.07) with SMTP id PAA14600;
	Mon, 15 Sep 1997 15:12:00 -0400 (EDT)
Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id PAA14317; Mon, 15 Sep 1997 15:11:58 -0400
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id PAA11422; Mon, 15 Sep 1997 15:11:57 -0400
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Cc: Jari Aalto <jaalto@tre.tele.nokia.fi>
Subject: Re: Suggestion: instllation of lisp files
References: <199709141922.PAA19576@helene.tele.nokia.fi>             <ocr7mcicy3v.fsf@ml.com> <199709151743.NAA23372@black-ice.cc.vt.edu> <86lo0yh1tr.fsf@kramer.in.aventail.com>
X-Face: D>:hrrB{l6#\wU;)0R:OHSTA@ayd.Oq?s@Rrc;[+z0m+<-U"$G-J6L)F2QY`qK~uPu!s1(6{\#uy!Ag/D)?'L[}xErXvxoPn8T_hKi{M]/(`BF{e}X7;hby`p\.E$rJ}Aff#BT,rdDIw\y
X-Y-Zippy: I'm ZIPPY!!  Are we having FUN yet??
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Colin Rafferty <craffert@ml.com>
Date: 15 Sep 1997 15:11:56 -0400
In-Reply-To: wmperry@aventail.com's message of "15 Sep 1997 11:25:04 -0700"
Message-ID: <ocr3en6gznn.fsf@ml.com>
Lines: 31
X-Mailer: Gnus v5.5/XEmacs 20.3(beta19) - "Kiev"

William M Perry writes:
> Valdis.Kletnieks@vt.edu writes:
>> On 15 Sep 1997 12:59:00 EDT, Colin Rafferty said:
>> > How about `grep regexp /opt/local/lib/xemacs-19.14/lisp/*/*.el'?
>> 
>> 1) This misses things in xemacs/lisp/*.el and xemacs/lisp/*/*/*.el, if
>> such files exist.
>> 
>> 2) 'grep featurep xemacs/lisp/*/*.el'
>> 
>> 2a) When you get 'arg list too long', try this:
>> 
>> find xemacs/lisp -name "*.el" -print | xargs grep featurep | wc -l
>> 
>> I get 660 hits.  Which one was the definition, and which 659 were calls,
>> or comments containing 'featurep', or similar? ;)

>   find xemacs/lisp -name "*.el" -print | xargs fgrep featurep | grep defun

>   That one. :)

Don't forget that you have to get to it with C-x `, and allow for macros:

find xemacs/lisp -name "*.el" -print | xargs fgrep -n featurep /dev/null | egrep 'def(un|cro) '

Which is a very good reason to use find-library, etc.

-- 
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

