From: Jan Rychter <jan@rychter.com>
Subject: message.el patch
Date: Thu, 01 Apr 2004 13:42:49 -0800 [thread overview]
Message-ID: <m2ad1v4bom.fsf@tnuctip.rychter.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 162 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: gnus-message-sig.diff --]
[-- Type: text/x-patch, Size: 1666 bytes --]
--- 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
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next reply other threads:[~2004-04-01 21:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 21:42 Jan Rychter [this message]
2004-04-01 23:12 ` Jesper Harder
2004-04-01 23:38 ` Simon Josefsson
2004-04-02 6:18 ` Kai Grossjohann
[not found] ` <871xn6ucm6.fsf-bMNBzUkETPBjhzMYmMhXkO8Lp5u2k6RR@public.gmane.org>
2004-04-02 6:34 ` Jochen Küpper
2004-04-01 23:27 ` Steve Youngs
2004-04-02 9:23 ` Jan Rychter
2004-04-02 7:52 ` Adam Sjøgren
2004-04-02 8:42 ` Reiner Steib
2004-04-02 18:36 ` Jan Rychter
2004-04-02 20:44 ` Reiner Steib
2004-04-02 9:05 ` Patrice Neff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ad1v4bom.fsf@tnuctip.rychter.com \
--to=jan@rychter.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).