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; 8+ 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] 8+ messages in thread

* Re: Entering forwards with C-d
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-08 15:58 UTC (permalink / raw)


Robert Bihlmeyer <robbe@orcus.priv.at> writes:

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

Well, Gnus isn't really (yet) a MIME-aware reader, so these things
don't quite work (yet).

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Gnus and MIME
  1998-02-08 15:58 ` Lars Magne Ingebrigtsen
@ 1998-02-09 19:22   ` Matt Armstrong
  1998-02-09 20:17     ` Lars Magne Ingebrigtsen
  1998-02-10  4:34     ` Nils Goesche
  0 siblings, 2 replies; 8+ messages in thread
From: Matt Armstrong @ 1998-02-09 19:22 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Well, Gnus isn't really (yet) a MIME-aware reader, so these things
> don't quite work (yet).

Is MIME-awareness in Gnus happening sooner or later?

I ask because I'm wondering whether I want to tackle getting tm to
work on WinNT.  Nobody has yet done a complete port of tm to NT Emacs.


-- 
matta



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

* Re: Gnus and MIME
  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  4:34     ` Nils Goesche
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-09 20:17 UTC (permalink / raw)


Matt Armstrong <matta@geoworks.com> writes:

> Is MIME-awareness in Gnus happening sooner or later?

Sooner.  It's the Next Thing I'm going to do.  Perhaps I can use
rmime.el+TM as as starting point.  Dunno.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Gnus and MIME
  1998-02-09 19:22   ` Gnus and MIME Matt Armstrong
  1998-02-09 20:17     ` Lars Magne Ingebrigtsen
@ 1998-02-10  4:34     ` Nils Goesche
  1 sibling, 0 replies; 8+ messages in thread
From: Nils Goesche @ 1998-02-10  4:34 UTC (permalink / raw)
  Cc: ding

Matt Armstrong <matta@geoworks.com> writes:

> 
> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> 
> > Well, Gnus isn't really (yet) a MIME-aware reader, so these things
> > don't quite work (yet).
> 
> Is MIME-awareness in Gnus happening sooner or later?
> 
> I ask because I'm wondering whether I want to tackle getting tm to
> work on WinNT.  Nobody has yet done a complete port of tm to NT Emacs.

Why? I installed tm for xemacs on windows NT. It worked this way:
I unpacked everything, then went to the tm-directory, edited the makefile
so it would use VisualC++ (`cl') as compiler, and typed, from cygnus-bash-
shell, `nmake' and `nmake install'. Everything worked fine, only some paths
were nonsense, so I had to copy around a lot and set some paths, but finally
I got it working without much work. I am using it right now :) öäüßÖÄÜ

-- 
Nils Gösche
My obscure opinions are my very own.



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

* Re: Gnus and MIME
  1998-02-09 20:17     ` Lars Magne Ingebrigtsen
@ 1998-02-10  6:28       ` Per Abrahamsen
  1998-02-10 10:18         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Per Abrahamsen @ 1998-02-10  6:28 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Sooner.  It's the Next Thing I'm going to do.  Perhaps I can use
> rmime.el+TM as as starting point.  Dunno.

I hope you will work together with wmperry to make sure it is usable
in both Gnus and W3.  His mm.el contains some good code as well.


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

* Re: Gnus and MIME
  1998-02-10  6:28       ` Per Abrahamsen
@ 1998-02-10 10:18         ` Lars Magne Ingebrigtsen
  1998-02-10 14:23           ` William M. Perry
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-10 10:18 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> > Sooner.  It's the Next Thing I'm going to do.  Perhaps I can use
> > rmime.el+TM as as starting point.  Dunno.
> 
> I hope you will work together with wmperry to make sure it is usable
> in both Gnus and W3.  His mm.el contains some good code as well.

Yup; I'll look into that one as well.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Gnus and MIME
  1998-02-10 10:18         ` Lars Magne Ingebrigtsen
@ 1998-02-10 14:23           ` William M. Perry
  0 siblings, 0 replies; 8+ messages in thread
From: William M. Perry @ 1998-02-10 14:23 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Per Abrahamsen <abraham@dina.kvl.dk> writes:
> 
> > > Sooner.  It's the Next Thing I'm going to do.  Perhaps I can use
> > > rmime.el+TM as as starting point.  Dunno.
> > 
> > I hope you will work together with wmperry to make sure it is usable
> > in both Gnus and W3.  His mm.el contains some good code as well.
> 
> Yup; I'll look into that one as well.

  Let me know when you start... I've been keeping my head down lately
because I just relocated to indiana to be near my mother while she dukes it 
out with cancer, and am still in the midst of getting settled, getting my
remote office set up, etc.  So my email-digesting and freeware-coding time
will probably be severely hampered for the next month at least.  I might
not notice if it goes just to the ding list.

-Bill P.


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

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

Thread overview: 8+ 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

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