Gnus development mailing list
 help / color / mirror / Atom feed
* Entering forwards with C-d
@ 1998-02-03 12:34 Robert Bihlmeyer
  1998-02-08 15:58 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Robert Bihlmeyer @ 1998-02-03 12:34 UTC (permalink / raw)


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

Hi,

I was made aware, that you could "enter" digests and forwards with C-d 
from the summary buffer.

This does not work with mimified forwards (multipart/mixed with a
message/rfc822 part). Gnus itself produces (with TM, if that matters)
such forwards, so it should probably understand them as well. I fixed
this by adding recognition of "multipart/mixed" as a possible
mime-"digest".

Still, the undigested result did not have the right headers (i.e. mime 
headers instead of rfc822 headers), so I added another line. Now
headers are in the right place, which makes replying to
message/rfc822-parts possible. Sadly, the digest-group-summary still
shows nothing useful (e.g. "[(none)]: (none)").

A patch is below.

	Robbe


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

diff -c qgnus/lisp/nndoc.el~ qgnus/lisp/nndoc.el
*** qgnus/lisp/nndoc.el~	Tue Feb  3 13:34:03 1998
--- qgnus/lisp/nndoc.el	Tue Feb  3 13:34:03 1998
***************
*** 465,479 ****
  	boundary-id b-delimiter entry)
      (when (and
  	   (re-search-forward
! 	    (concat "^Content-Type: *multipart/digest;[ \t\n]*[ \t]"
  		    "boundary=\"\\([^\"\n]*[^\" \t\n]\\)\"")
  	    nil t)
! 	   (match-beginning 1))
!       (setq boundary-id (match-string 1)
  	    b-delimiter (concat "\n--" boundary-id "[\n \t]+"))
        (setq entry (assq 'mime-digest nndoc-type-alist))
        (setcdr entry
  	      (list
  	       (cons 'head-end "^ ?$")
  	       (cons 'body-begin "^ ?\n")
  	       (cons 'article-begin b-delimiter)
--- 465,480 ----
  	boundary-id b-delimiter entry)
      (when (and
  	   (re-search-forward
! 	    (concat "^Content-Type: *multipart/\\(digest\\|mixed\\);[ \t\n]*[ \t]"
  		    "boundary=\"\\([^\"\n]*[^\" \t\n]\\)\"")
  	    nil t)
! 	   (match-beginning 2))
!       (setq boundary-id (match-string 2)
  	    b-delimiter (concat "\n--" boundary-id "[\n \t]+"))
        (setq entry (assq 'mime-digest nndoc-type-alist))
        (setcdr entry
  	      (list
+ 	       (cons 'head-begin "^ ?$")
  	       (cons 'head-end "^ ?$")
  	       (cons 'body-begin "^ ?\n")
  	       (cons 'article-begin b-delimiter)

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]


-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Gnus and Mime
@ 1997-04-08 11:48 Ketil Z Malde
  1997-04-08 12:30 ` Kai Grossjohann
  1997-04-08 15:11 ` Steinar Bang
  0 siblings, 2 replies; 11+ messages in thread
From: Ketil Z Malde @ 1997-04-08 11:48 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]


Hi,

just a couple of øre here, but is there any simple way to have W m do
the Mime processing without firing up an xterm to show plain text?
Metamail seems sort of silly for my use - all I want to do is auto-grok
out the occasional word document from messages -- surely I'm not the
only one?

Can't find anything in the faq or net resources...

~kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants


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

end of thread, other threads:[~1998-02-10 14:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-03 12:34 Entering forwards with C-d Robert Bihlmeyer
1998-02-08 15:58 ` Lars Magne Ingebrigtsen
1998-02-09 19:22   ` Gnus and MIME Matt Armstrong
1998-02-09 20:17     ` Lars Magne Ingebrigtsen
1998-02-10  6:28       ` Per Abrahamsen
1998-02-10 10:18         ` Lars Magne Ingebrigtsen
1998-02-10 14:23           ` William M. Perry
1998-02-10  4:34     ` Nils Goesche
  -- strict thread matches above, loose matches on Subject: below --
1997-04-08 11:48 Gnus and Mime Ketil Z Malde
1997-04-08 12:30 ` Kai Grossjohann
1997-04-08 15:11 ` Steinar Bang

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