* message.el (message-yank-cited-prefix): New variable.
(message-indent-citation): Use it.
2001-05-27 Simon Josefsson <simon@josefsson.org>
* message.texi (Insertion): Add message-yank-cited-prefix.
2001-05-27 Simon Josefsson <simon@josefsson.org>
+ * message.el (message-yank-cited-prefix): New variable.
+ (message-indent-citation): Use it.
+
* mml2015.el (mml2015-mailcrypt-verify): Store gpg stderr output
as details.
(mml2015-mailcrypt-clear-verify): Ditto.
:type 'string
:group 'message-insertion)
+(defcustom message-yank-cited-prefix ">"
+ "*Prefix inserted on cited lines of yanked messages.
+Fix `message-cite-prefix-regexp' if it is set to an abnormal value."
+ :type 'string
+ :group 'message-insertion)
+
(defcustom message-indentation-spaces 3
"*Number of spaces to insert at the beginning of each cited line.
Used by `message-yank-original' via `message-yank-cite'."
(save-excursion
(goto-char start)
(while (< (point) (mark t))
- (insert message-yank-prefix)
+ (if (looking-at message-cite-prefix-regexp)
+ (insert message-yank-cited-prefix)
+ (insert message-yank-prefix))
(forward-line 1))))
(goto-char start)))
+2001-05-27 Simon Josefsson <simon@josefsson.org>
+
+ * message.texi (Insertion): Add message-yank-cited-prefix.
+
2001-05-22 Simon Josefsson <simon@josefsson.org>
From Jesper Harder <harder@ifa.au.dk>
@cindex yanking
@cindex quoting
When you are replying to or following up an article, you normally want
-to quote the person you are answering. Inserting quoted text is done by
-@dfn{yanking}, and each quoted line you yank will have
+to quote the person you are answering. Inserting quoted text is done
+by @dfn{yanking}, and each quoted line you yank (except earlier
+quotes, see @code{message-yank-cited-prefix}) will have
@code{message-yank-prefix} prepended to it. The default is @samp{> }.
+@item message-yank-cited-prefix
+@vindex message-yank-cited-prefix
+@cindex yanking
+@cindex cited
+@cindex quoting
+The @code{message-yank-prefix} prefix is not used on already cited
+lines, instead the contents of this variable is used as yank prefix.
+The default is @samp{>}.
+
@item message-indentation-spaces
@vindex message-indentation-spaces
Number of spaces to indent yanked messages.