Gnus development mailing list
 help / color / mirror / Atom feed
* Put signature before forwarded message
@ 2000-01-15 19:26 Kai Großjohann
  0 siblings, 0 replies; only message in thread
From: Kai Großjohann @ 2000-01-15 19:26 UTC (permalink / 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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-15 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-15 19:26 Put signature before forwarded message Kai Großjohann

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).