Tomasz --
...and then Caster said...
% Hello Mutt Users!
% On czw 10 sie 2000 07:35:56 GMT David T-G wrote:
%
% > You can usually do this in your editor; if it were vim
%
% What else can it be ;)
That's what I think, too, but the original requester is using (gasp) pico.
%
% > for instance, you could say something like
% > set editor="vim +/^$"
%
% Thanks to you :) now I'm using:
% set editor="vim +/^$ +/^$ +nohlsearch"
% It places the cursor in the beginning of the second blank line and turns
% highlighting of search results to off.
Most excellent! In fact, I'll go you one better (since this was, after
all, about cropping the quoted signature); I didn't realize that you
could chain +commands on the vim command line, but something like
set editor="vim +/^'> -- '$ +?^$ +nohlsearch"
should find the quoted (assuming you use >_ for your quoting, unlike
me) sigdashes line, delete from there to the end of the paragraph,
and then go back to the first blank line. I'd even bet that you could,
when faced with a correspondent like Ronny who uses no signature, press
'u' to undo the deletion if it goes bad!
% However not everyone is using vim, so such option inside mutt could be
% useful.
Nah; I still like finding a way to let your editor, perhaps with help
from other tools, do it for you. Let mutt decide whether or not to
attach your signature and leave it at that.
%
% --
% Tomasz Olszewski
% [EMAIL PROTECTED]
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature