From: Mike Ballard <dont_w@nt_spam.org>
Subject: grep/dired
Date: Mon, 20 Oct 2003 00:52:24 GMT [thread overview]
Message-ID: <m27k30loi8.fsf@west_f1.net> (raw)
Hi -
Tried looking around but sort of don't know how to search for the answer -
when I open a dired buffer of other than ~/, then use M-x grep, it
searches files in ~/. I'm pretty sure the reason is because in ~/.cshrc
the last thing I do is 'chdir $HOME' (which I don't want to change). In
csh you can start a script with "-f" telling it to use current env - is
there a way to do the same thing for Emacs' grep so that it will grep on
the current dired buffer? If possible I'd like to use grep and not
find-grep-dired.
Mike
--
mike.ballard--at--earthlink.net
"Roses are red, violets are blue,
I'm schizophrenic and so am I"
next reply other threads:[~2003-10-20 0:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-20 0:52 Mike Ballard [this message]
2003-10-20 5:51 ` grep/dired Eli Zaretskii
2003-10-20 17:24 ` grep/dired Kevin Rodgers
2003-10-21 1:33 ` grep/dired Mike Ballard
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27k30loi8.fsf@west_f1.net \
--to=dont_w@nt_spam.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).