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

[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: gnu.emacs.help
> From: Mike Ballard <dont_w@nt_spam.org>
> 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
programs.





reply via email to

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