I'd like the grep buffer not to scroll/move the current line to the top of the buffer/screen when i press enter. I've tracked the issue down to `compile-goto-error` and then `next-error-internal` in simple.el, but I can't seem to find the relevant code. I've tried a few configuration options, including `next-error-recenter` (which seems to just stop recentering/scrolling on the destination buffer) but can't seem to figure it out.

Any advice would be much appreciated, thanks!

submitted by /u/YardNo1234
[link] [comments]