I have a grep-like script that I run via
M-x grep, that changes its working directory, but outputs make-like "Entering directory `/a/b/c/d'" messages (to keep emacs informed).
This has worked fine for many years, but I recently (finally) upgraded to a new Emacs, and grep-mode no longer supports matching these magic strings in the output of the grep command (see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8895).
(This manifests as hitting
next-error to go to the fine and line of the hit, and getting prompted by emacs about where to find the file since its confused about what the relative path is relative to.)
How can I get my "Entering directory" messages to be honored again?