Gnus development mailing list
 help / color / mirror / Atom feed
* message forwarding and MIME
@ 1999-12-04  0:59 Jim Davidson
  1999-12-04  4:06 ` Emerick Rogul
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Davidson @ 1999-12-04  0:59 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

I'm glad that the flag message-forward-as-mime made it into v .99.

It would be nice if the non-MIME behavior worked the same as for Gnus 5.7,
by inserting the start-separator and end-separator around the message.
The following patch (not in CVS) would do that.

-- 
Jim Davidson
jdavidso @ csi.com


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: insert separators around non-MIME forwarding --]
[-- Type: text/x-patch, Size: 1712 bytes --]

*** message.el.old	Wed Dec 01 08:30:56 1999
--- message.el	Fri Dec 03 16:24:02 1999
***************
*** 279,284 ****
--- 279,296 ----
    :type 'file
    :group 'message-headers)
  
+ (defcustom message-forward-start-separator
+   "------- Start of forwarded message -------\n"
+   "*Delimiter inserted before forwarded messages."
+   :group 'message-forwarding
+   :type 'string)
+ 
+ (defcustom message-forward-end-separator
+   "------- End of forwarded message -------\n"
+   "*Delimiter inserted after forwarded messages."
+   :group 'message-forwarding
+   :type 'string)
+ 
  (defcustom message-make-forward-subject-function
    'message-forward-subject-author-subject
   "*A list of functions that are called to generate a subject header for forwarded messages.
***************
*** 3847,3859 ****
      (message-goto-body)
      (if message-forward-as-mime
  	 (insert "\n\n<#part type=message/rfc822 disposition=inline>\n")
!       (insert "\n\n"))
      (let ((b (point))
  	  e)
        (mml-insert-buffer cur)
        (setq e (point))
!       (and message-forward-as-mime
! 	   (insert "<#/part>\n"))
        (when (and (not current-prefix-arg)
  		 message-forward-ignored-headers)
  	(save-restriction
--- 3859,3872 ----
      (message-goto-body)
      (if message-forward-as-mime
  	 (insert "\n\n<#part type=message/rfc822 disposition=inline>\n")
!       (insert message-forward-start-separator))
      (let ((b (point))
  	  e)
        (mml-insert-buffer cur)
        (setq e (point))
!       (if message-forward-as-mime
! 	   (insert "<#/part>\n")
! 	(insert message-forward-end-separator))
        (when (and (not current-prefix-arg)
  		 message-forward-ignored-headers)
  	(save-restriction

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-04 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-04  0:59 message forwarding and MIME Jim Davidson
1999-12-04  4:06 ` Emerick Rogul
1999-12-04  5:30   ` Kevin Falcone
1999-12-04 15:55     ` Emerick Rogul

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