Was 'find-dired' dropped in 19.15?

Was 'find-dired' dropped in 19.15?

Post by David Bakhas » Tue, 06 May 1997 04:00:00




> Did 'find-dired' and 'find-grep-dired' get dropped in 19.15?  I was
> really getting to like it in 19.14.  Has the functionality been absorbed
> by igrep?  

I think that lots of the find/grep stuff has been replaced by `igrep',
which is pretty decent.  try to figure out the commands

M-x igrep
M-x igrep-find

they're not the same exactly, but they're pretty good.  I don't think
that the `find-dired' is really replaced tho.  that kinda sucked.  I
think that the igrep package has no way of just searching for filenames
which obey a certain wildcard name.  If you still have your 19.14, you
should be able to run that stuff if you load that file.  just put the
relavent stuff in your ~/.emacs file or something---or just do a
load-file.  

dave

 
 
 

Was 'find-dired' dropped in 19.15?

Post by Carter Sander » Tue, 06 May 1997 04:00:00


Did 'find-dired' and 'find-grep-dired' get dropped in 19.15?  I was
really getting to like it in 19.14.  Has the functionality been absorbed
by igrep?  
--
 -------------------------------------------
| What ARE you doing with that rivet gun?   |  Carter Sanders

|  bailing wire!                            |
 -------------------------------------------

 
 
 

Was 'find-dired' dropped in 19.15?

Post by Dave Carriga » Wed, 07 May 1997 04:00:00


 David> I think that the igrep package has no way of just searching
 David> for filenames which obey a certain wildcard name.

 Me:
 >> Sure it can. igrep accepts a wildcard that will be expanded by the
 >> shell. igrep-find accepts a wildcard that will be interpreted by
 >> the find comand's -name option.

 David> If you're really sure about this, then why don't you please
 David> tell me how to do this? igrep find prompts the user for two
 David> pieces of information: grep expression and find files. Pleae
 David> tell me what to pass it (interactively) so that it does NO
 David> GREP and only a find, i.e.:

You're right; I misunderstood what you were saying. However, it's
actually quite easy to get igrep-find to do what you want. First,
create a script (I called mine `igrepecho') which spits out all of the
filenames passed to it without doing anything else. Mine looks like:

------------------------------------------------------------------------
#! /bin/sh

while [ "$1" != /dev/null ]; do shift; done
for arg in $*; do
  echo "$arg:1:"
done
------------------------------------------------------------------------

Then, add the following to your .emacs file:

(setq igrep-program-table (vconcat igrep-program-table '[igrepecho]))
(setq igrep-program nil)

Now, when you do the igrep-find, it prompts you for the grep program.
Enter igrepecho instead of grep and you're in business.

Regards,
--
Dave Carrigan                            | Yow! They collapsed.... like nuns
Unix Specialist, Technology Services     | in the street... they had no *
Interprovincial Pipe Line Inc.           | appeal!
Edmonton, Alberta, Canada                |

 
 
 

Was 'find-dired' dropped in 19.15?

Post by Dave Carriga » Wed, 07 May 1997 04:00:00


 David> I think that the igrep package has no way of just searching
 David> for filenames which obey a certain wildcard name.

Sure it can. igrep accepts a wildcard that will be expanded by the
shell. igrep-find accepts a wildcard that will be interpreted by the
find comand's -name option.

Regards,
--
Dave Carrigan                            | Yow! The fact that 47 PEOPLE are
Unix Specialist, Technology Services     | yelling and sweat is cascading down
Interprovincial Pipe Line Inc.           | my SPINAL COLUMN is fairly
Edmonton, Alberta, Canada                | enjoyable!!

 
 
 

Was 'find-dired' dropped in 19.15?

Post by Carter Sander » Sat, 10 May 1997 04:00:00


I used the find-dired lisp from 19.14, and it mostly works.  However,
sometimes when I use find-name-dired, the last entry in the list is not
electric.

--
 -------------------------------------------
| What ARE you doing with that rivet gun?   |  Carter Sanders

|  bailing wire!                            |
 -------------------------------------------