[comp.emacs] Compile/Grep in GNU EMACS

jis@mtgzz.UUCP (03/17/87)

I came across a peculiarly annoying behavior in the compile-it function in
GNU Emacs as described below. I was wondering if anyone else has noticed it,
and if they have done something about it.

When you do a compile or a grep Emacs tries to do it in the directory
in which Emacs was originally invoked, rather than in the default directory
of the buffer from which it is being invoked. To top it all, it displays a
message in the *compile* buffer giving a distinctly false impression that it
is cd-ing to the default directory before doing the compile/grep.

I found that very annoying because I tend to get into GNU in the morning and
then carry along merrily visiting files in different directories and
grepping in their directories and so on. The fix is in compile.el, and I
have my private version that does compile/grep using the default directory
of the buffer. I wonder if anyone else has fixed this problem.

BTW This is in Release 18.35 running on USG System 5.2. Has this been fixed
in later releases?

Jishnu Mukerji
ihnp4!mtgzz!jis