Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Put signature before forwarded message
Date: 15 Jan 2000 20:26:22 +0100	[thread overview]
Message-ID: <vaf4scf3zmp.fsf@lucy.cs.uni-dortmund.de> (raw)

May I suggest the following patch for message.el 5.84?

$ diff -u lisp/message.el.SAV lisp/message.el
--- lisp/message.el.SAV Sat Jan 15 20:17:36 2000
+++ lisp/message.el     Sat Jan 15 20:19:48 2000
@@ -299,6 +299,11 @@
   :group 'message-forwarding
   :type 'boolean)
 
+(defcustom message-forward-before-signature t
+  "*If non-nil, put forwarded message before signature, else after."
+  :group 'message-forwarding
+  :type 'boolean)
+
 (defcustom message-wash-forwarded-subjects nil
   "*If non-nil, try to remove as much old cruft as possible from the subject of messages before generating the new subject of a forward."
   :group 'message-forwarding
@@ -3891,7 +3896,9 @@
       (message-mail nil subject))
     ;; Put point where we want it before inserting the forwarded
     ;; message.
-    (message-goto-body)
+    (if message-forward-before-signature
+        (message-goto-body)
+      (goto-char (point-max)))
     (if message-forward-as-mime
        (insert "\n\n<#part type=message/rfc822 disposition=inline>\n")
       (insert "\n\n"))

It adds a new variable message-forward-before-signature which you can
set to nil in order to put your signature before any forwarded message
when doing C-c C-f.  The default value, t, keeps the old behavior.

This might well be too simple-minded, though.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



                 reply	other threads:[~2000-01-15 19:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=vaf4scf3zmp.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).