Today I learnt about the redisplay function in Emacs lisp!
This function allows Emacs to redraw the GUI. It's really useful when you're doing computation in a loop, and essential if you're using spinner.el.
I've been compilation buffers in Emacs recently and I really appreciate the error and warning counts shown in the modeline.
I've added the equivalent feature to deadgrep: it shows result counts! Really useful when you're doing big refactorings.