> Date: Tue, 17 Oct 2006 23:00:34 +0200
> From: "Peter Tury" <address@hidden>
> Cc: address@hidden
>
> It seems whitespace-buffer slows down my Emacs so terribly: my .emacs
> sets whitespace-global-mode with its all bells and whistles....
> finally I found that if I M-x whitespace-buffer with my critical file
> opened in the buffer (regardless of whitespace-global-mode setting) I
> get back the control after that long time what I wrote last time.
>
> I tried to modify whitespace-buffer and it seems that
> whitespace-buffer-search is so slow. However I see that it is not
> really modified between the fast (old) and slow (new) Emacses... and
> does almost only a re-search-forward. Now I don't have the C sources
> for both (fast and slow) Emacses. Maybe re-search-forward was
> modified?
>
> Can you help based on these info or shall I try to build a test file
> (what is so slow with whitespace-buffer) and send it to you?
It's best if you post the file, thanks.