Jambunathan K writes: > I used the following local modification to compile.el to sneak in the > function names. > > The modification is in `compilation-parse-errors' which seems to be a > font-lock handler. I call `which-function' within this context. Is it > justified? > > (WARNING: Quick and Dirty work) > (Bzr version: revno: 111597) I attached the wrong diff (but the right screenshot). I am attaching the "right" diff, more for archival purposes. Here is the diff that needs to be used. Earlier diff was "totally broken" in that it missed: 1. `string-to-number' on line numbers. 2. Goto beginning of buffer, before `forward-line'. The changes still need a `save-excursion', though. For experimental code, it shouldn't matter much.