Index: init.h =================================================================== RCS file: /home/roessler/cvsroot/mutt/init.h,v retrieving revision 2.107 diff -u -r2.107 init.h --- init.h 2000/11/03 10:16:32 2.107 +++ init.h 2000/11/07 10:28:56 @@ -1802,6 +1802,14 @@ ** detect your signature. For example, Mutt has the ability to highlight ** the signature in a different color in the builtin pager. */ + { "sig_on_top", DT_BOOL, R_NONE, OPTSIGONTOP, 0}, + /* + ** .pp + ** If set, the signature will be included before any quoted or forwarded + ** text. It is \fBstrongly\fP recommended that you do not set this variable + ** unless you really know what you are doing, and are prepared to take + ** some heat from netiquette guardians. + */ { "signature", DT_PATH, R_NONE, UL &Signature, UL "~/.signature" }, /* ** .pp Index: mutt.h =================================================================== RCS file: /home/roessler/cvsroot/mutt/mutt.h,v retrieving revision 2.78 diff -u -r2.78 mutt.h --- mutt.h 2000/10/10 19:22:45 2.78 +++ mutt.h 2000/11/07 10:27:27 @@ -352,6 +352,7 @@ OPTSAVENAME, OPTSCORE, OPTSIGDASHES, + OPTSIGONTOP, OPTSORTRE, OPTSTATUSONTOP, OPTSTRICTTHREADS, Index: send.c =================================================================== RCS file: /home/roessler/cvsroot/mutt/send.c,v retrieving revision 2.58 diff -u -r2.58 send.c --- send.c 2000/09/25 13:02:51 2.58 +++ send.c 2000/11/07 10:27:14 @@ -1175,14 +1175,15 @@ process_user_header (msg->env); + if (option (OPTSIGONTOP) && (! (flags & (SENDMAILX | SENDKEY)) && Editor && mutt_strcmp (Editor, "builtin") != 0)) + append_signature (tempfp); - /* include replies/forwarded messages, unless we are given a template */ if (!tempfile && (ctx || !(flags & (SENDREPLY|SENDFORWARD))) && generate_body (tempfp, msg, flags, ctx, cur) == -1) goto cleanup; - if (! (flags & (SENDMAILX | SENDKEY)) && Editor && mutt_strcmp (Editor, "builtin") != 0) + if (!option (OPTSIGONTOP) && (! (flags & (SENDMAILX | SENDKEY)) && Editor && mutt_strcmp (Editor, "builtin") != 0)) append_signature (tempfp); /*