Gnus development mailing list
 help / color / mirror / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Mail digest and MIME headers
Date: 06 Feb 2001 23:41:12 +0100	[thread overview]
Message-ID: <rj66inph87.fsf@ssv2.dina.kvl.dk> (raw)
In-Reply-To: <2nu267dhtd.fsf@tiger.jia.vnet> (ShengHuo ZHU's message of "06 Feb 2001 09:09:18 -0500")

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

ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Per Abrahamsen <abraham@dina.kvl.dk> writes:
> 
> > Why does "gnus-uu-digest-mail-forward" insert 
> > 
> >         MIME-Version: 1.0
> >         Content-Type: text/plain; charset=us-ascii
> > 
> > in each digested message?  This is the default content type, so there
> > should be no reason to insert the headers.
> 
> Fixed.

Thanks, but does it has to add the MIME-version header?  When there is
no other MIME headers?

I also found a problem with the first "Topics" entry, there is an
empty line before the "Subject: " header which makes it part of the
body, instead of part of the header.  This patch fixes that:

2001-02-06  Per Abrahamsen  <abraham@dina.kvl.dk>

	* gnus-uu.el (gnus-uu-save-article): Make the topics summary a
	message/rfc822.

Index: gnus-uu.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-uu.el,v
retrieving revision 6.2
diff -c -r6.2 gnus-uu.el
*** gnus-uu.el	2000/12/28 17:44:20	6.2
--- gnus-uu.el	2001/02/06 22:35:10
***************
*** 886,892 ****
  	      (when (and message-forward-as-mime gnus-uu-digest-buffer)
  		;; The default part in multipart/digest is message/rfc822.
  		;; Subject is a fake head.
! 		(insert "

[-- Attachment #2: Type: text/plain, Size: 317 bytes --]

\nSubject: Topics\n\n"))
  	      (insert "Topics:\n")))
  	(when (not (eq in-state 'end))
  	  (setq state (list 'middle))))
--- 886,892 ----
  	      (when (and message-forward-as-mime gnus-uu-digest-buffer)
  		;; The default part in multipart/digest is message/rfc822.
  		;; Subject is a fake head.
! 		(insert "

[-- Attachment #3: Type: message/rfc822, Size: 144 bytes --]




  reply	other threads:[~2001-02-06 22:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06 13:08 Per Abrahamsen
2001-02-06 14:09 ` ShengHuo ZHU
2001-02-06 22:41   ` Per Abrahamsen [this message]
2001-02-06 22:53     ` Russ Allbery
2001-02-06 23:04       ` Per Abrahamsen
2001-02-07  0:45         ` Russ Allbery
2001-02-06 23:09     ` ShengHuo ZHU
2001-02-06 23:16       ` Per Abrahamsen

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=rj66inph87.fsf@ssv2.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    /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).