From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56860 Path: main.gmane.org!not-for-mail From: Jan Rychter Newsgroups: gmane.emacs.gnus.general Subject: message.el patch Date: Thu, 01 Apr 2004 13:42:49 -0800 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1080858557 455 80.91.224.253 (1 Apr 2004 22:29:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 22:29:17 +0000 (UTC) Original-X-From: ding-owner+M5399@lists.math.uh.edu Fri Apr 02 00:29:10 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9AgP-0000N7-00 for ; Fri, 02 Apr 2004 00:29:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1B9Af0-00074r-00; Thu, 01 Apr 2004 16:27:42 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B98D3-0006nU-00 for ding@lists.math.uh.edu; Thu, 01 Apr 2004 13:50:41 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1B98D3-0005Q6-1o for ding@lists.math.uh.edu; Thu, 01 Apr 2004 13:50:41 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 6C2823A0039 for ; Thu, 1 Apr 2004 13:50:38 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B98Cy-0004sb-00 for ; Thu, 01 Apr 2004 21:50:37 +0200 Original-Received: from 66-27-68-14.san.rr.com ([66.27.68.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Apr 2004 21:50:36 +0200 Original-Received: from jan by 66-27-68-14.san.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Apr 2004 21:50:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 73 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 66-27-68-14.san.rr.com X-Spammers-Please: blackholeme@rychter.com User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:2SmPTnGQyiAmyppvot2Lr0rUebE= X-Spam-Score: -4.5 (----) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56860 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56860 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= I'd like to propose this small change to message.el, useful for those of us who do not use a signature separator or who use one that is a little different. --J. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gnus-message-sig.diff --- lisp/message.el 8 Mar 2004 06:54:23 -0000 7.14 +++ lisp/message.el 1 Apr 2004 18:12:54 -0000 @@ -404,6 +404,13 @@ for `message-cross-post-insert-note'." :link '(custom-manual "(message)Various Message Variables") :group 'message-various) +(defcustom message-signature-inserted-separator "-- \n" + "The string that is inserted before the signature to separate it from +the message body." + :type 'string + :link '(custom-manual "(message)Various Message Variables") + :group 'message-various) + (defcustom message-elide-ellipsis "\n[...]\n\n" "*The string which is inserted for elided text." :type 'string @@ -2920,8 +2927,8 @@ Prefix arg means justify as well." (insert "\n")) (when message-signature-insert-empty-line (insert "\n")) - (insert "-- \n") + (insert message-signature-inserted-separator) (if (eq signature t) (insert-file-contents message-signature-file) (insert signature)) --- texi/message.texi 5 Mar 2004 11:24:27 -0000 7.3 +++ texi/message.texi 1 Apr 2004 18:13:18 -0000 @@ -1876,6 +1876,15 @@ the @sc{mule}-to-@acronym{MIME} translat Regexp matching the signature separator. It is @samp{^-- *$} by default. +@item message-signature-inserted-separator +@vindex message-signature-inserted-separator +The string that separates the inserted signature from the message +text. It is @samp{-- \n} by default. + +Please note that this is different from +@code{message-signature-separator}, which is a regexp that helps in +finding when the signature begins. + @item mail-header-separator @vindex mail-header-separator String used to separate the headers from the body. It is @samp{--text --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBAbIzfLth4/7/QhDoRApvPAJ487MnsNsfXKoRVplLPMeaY5/PQ/ACgqa+0 Ykua7sklu4J/+aCR2FjfSW4= =T+5N -----END PGP SIGNATURE----- --==-=-=--