At 11:21 AM EDT on October 17 Alec Habig sent off:
> > btw: also i would like emacs to cut signatures automatically. theres
> > an example for the vim, but not for the emacs...
> 
> >From a different elisp snippet I use for a similar purpose as the
> mutt-mode (this runs as emacs loads the message):
> 
>       ;; Remove any quoted signature
>       (flush-lines "^> -- \\(\n> .*\\)*") (not-modified)

That will work.  If you're using post mode (it wasn't clear from your message;
there's more than one Emacs mail mode) you'll want to make sure
post-kill-quoted-sig is set to t.  It's available from the Customize menu in
emacs 20, and defaults to t anyway.

-- 
"Are you suggesting that coconuts are _migratory_?"
  - Monty Python's Quest For The Holy Grail
Robert I. Reid <[EMAIL PROTECTED]>     http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html

Reply via email to