From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Ballard Newsgroups: gmane.emacs.help Subject: Re: grep/dired Date: Tue, 21 Oct 2003 01:33:20 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066700825 22578 80.91.224.253 (21 Oct 2003 01:47:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 01:47:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 03:47:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABlby-0005IU-00 for ; Tue, 21 Oct 2003 03:47:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABlad-00046p-8K for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Oct 2003 21:45:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread1.news.atl.earthlink.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 67.75.29.44 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread1.news.atl.earthlink.net 1066700000 67.75.29.44 (Mon, 20 Oct 2003 18:33:20 PDT) hardymi@earthlink.net Original-NNTP-Posting-Date: Mon, 20 Oct 2003 18:33:20 PDT Original-Xref: shelby.stanford.edu gnu.emacs.help:117466 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13397 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13397 On Mon Oct 20, Mike Ballard disturbed my nap when he said: > 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. > Alright, 2-0. I changed ~/.cshrc. Evidently two problems have now been fixed :-) Thanks both... Mike -- mike.ballard--at--earthlink.net "Roses are red, violets are blue, I'm schizophrenic and so am I"