On Sat, Dec 28, 2002 at 02:28:54PM +0100, Sascha Schumann wrote:

>     I've noticed a trend to extreme over-quoting on the php
>     developer mailing lists.  (Not to mention top-posting, but
>     that's another topic.)
 
One of the most annoying results of over-quoting is the inclusion of
multiple signature blocks in the resulting message.  For those vim
users out there, the following macro works quite well:

    normal :g/^> -- *$/,/^$/-1d^M^Lgg

It will truncate the message in the current buffer to just before the
'-- ' signature delimiter.

If you use mutt as your mail client, the following autocmd will
automate the process:

    autocmd BufRead     mutt*           normal :g/^> -- *$/,/^$/-1d^M^Lgg

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to