Tags: patch This simulates the --heading option of certain grep-like tools. The output is like this: --8<---------------cut here---------------start------------->8--- -*- mode: grep; default-directory: "~/Projects/emacs/" -*- Grep started at Wed Dec 7 18:43:40 find [...] -exec grep --color=auto -i -nH --null -e test \{\} + ./nextstep/Makefile.in 104: find ${ns_appdir} -exec test \! -e {} \; -ls ./nextstep/INSTALL 12:Tested on GNU/Linux, may work on other systems. ./nextstep/Makefile 104: find ${ns_appdir} -exec test \! -e {} \; -ls ./nextstep/README 62: 10.6.8 (Snow Leopard) to the latest official release. 86:* This allows other Emacs developers to test their changes on the NS --8<---------------cut here---------------end--------------->8---