If I have a long document that I run query-replace
(or any other number of commands) in, as I'm saying y
or n
to replace that match or not, the current potential item to be replaced is always at the bottom of the window.
I'd like to be able to see more of what's below this match, to see the context a little more easily --- effectively, hitting C-l
after each match update.
I could probably find some specific hooks that run at the point a new match is found to do this for me, but is there a more generic way of doing things, not involving writing a hook for each function that has this behaviour? (It seems pretty general.)