Subject: Re: bug#8429: 24.0.50; regression: `flush-lines' does not flush all it should

From: Eli Zaretskii <[email-masked]>
Date: Tue, 05 Apr 2011 22:52:39 +0300

> From: "Drew Adams" <[email-masked]>
> Date: Tue, 5 Apr 2011 12:01:35 -0700
> Cc: 
> 
> emacs -Q
>  
> Load libraries cygwin-mount.el, setup-cygwin.el, to be able to use grep
> on Windows.  The libraries are here:
> http://www.emacswiki.org/emacs/ElispArea
>  
> cd to the Emacs Lisp source directory.
>  
> M-x grep RET grep -nH -e "#" *.el */*.el RET
>  
> The grep output shows all matches for `#'.
>  
> C-x C-q to make the grep buffer writable.
>  
> M-x flush-lines RET ###autoload RET
>  
> Only the first few lines containing `###autoload' are flushed.
> Repeating `flush-lines' flushes a few more.  But all should be flushed
> (assuming point is at bob).  Same thing if you do `C-x h' before M-x
> flush-lines.

Does it work if you copy the entire contents of the Grep buffer to
another buffer?