Incremental line filtering for Emacs