bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature addition idea: Info-occur


From: Harry Putnam
Subject: Re: feature addition idea: Info-occur
Date: 14 Apr 2001 12:42:48 -0700
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

> Because you force Grep to read from stdin, and therefore it cannot
> report file names as it usually does.

Yikes, what a dope I am.  Of course with no filenames supplied....
> 
> > M-x grep <RET>
> > info --output - --subnodes 2>/dev/null emacs|grep -e -n 'STRING' - <RET>
> 
> What I meant is something like this:
> 
>   M-x grep RET cd INFODIR; grep -n -e 'STRING' * RET
> 
> where INFODIR is the directory where you keep your Info files
> (typically /usr/local/info).

That doesn't work for me.  Info files are kept gzipped so another step
would be required in there.  Also any directorires inside info would
probably break it .... like gnus.

The method I showed doesn't care about gzip or other directories.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]