Start with a buffer containing three lines with "11" in them and a final newline:
11 11 11 Result of `M-x keep-lines RET 11 C-q C-j 11 RET' with point at bob: 11 11 The basic ideas of keep-lines and flush-lines don't obviously extend to multi-line regexps. Figuring out what they ought to mean in such a case would be rather difficult--and why take the trouble? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel