[Top][All Lists]

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

Re: grep/dired

From: Eli Zaretskii
Subject: Re: grep/dired
Date: 20 Oct 2003 07:51:02 +0200

> Newsgroups:
> From: Mike Ballard <>
> Date: Mon, 20 Oct 2003 00:52:24 GMT
> 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).

Then change your .cshrc to do that chdir only in interactive sessions.

In general, a shell startup file should take great care not to do
anything fancy, like stty etc., in non-interactive sessions; otherwise
you will see strange bugs in Emacs commands that invoke subsidiary

reply via email to

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