Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: Error leaving group ...
Date: 13 Oct 1999 12:59:21 -0400	[thread overview]
Message-ID: <5br9iznqmu.fsf@giga.cs.rochester.edu> (raw)
In-Reply-To: Lee Willis's message of "13 Oct 1999 09:54:53 +0100"

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

>>>>> "Lee" == Lee Willis <lee@gbdirect.co.uk> writes:

Lee> "GNU Emacs 20.4.1 (i586-pc-linux-gnu, X toolkit)
Lee>  of Sat Aug 21 1999 on landlord.gbdirect.co.uk"

Lee> "Pterodactyl Gnus v0.97"

Lee> The attached message (Hope it survived as was) gives me the following if
Lee> it is currently displayed when I try to leave the group :

Lee> Signaling: (wrong-type-argument listp "us-ascii")
Lee>   mm-remove-part((charset . "us-ascii"))
Lee>   mm-destroy-part((charset . "us-ascii"))
Lee>   mm-destroy-parts(((charset . "us-ascii")))
Lee>   mm-destroy-parts(("multipart/mixed" (#<killed buffer> ("text/plain" ...) 7bit nil nil nil nil nil) (#<killed buffer> ("message/rfc822") 7bit nil ("inline") nil nil nil) #<buffer  *mm*<17>> ("text/html" (charset . "us-ascii")) nil (lambda nil (let ... ... ...)) nil nil nil nil))
Lee>   gnus-summary-exit()
Lee> * call-interactively(gnus-summary-exit)

[...]

I've seen several people reported this bug.  This bug happens when a
single part in message/rfc822 is displayed.

I think I fixed it. Please test the patch (committed).

-- 
Shenghuo

1999-10-13 12:52:18  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* mm-view.el (mm-inline-message): Fix leaving group bug.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 97-111.diff --]
[-- Type: text/x-patch, Size: 592 bytes --]

Index: mm-view.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-view.el,v
retrieving revision 5.32
diff -u -r5.32 mm-view.el
--- mm-view.el	1999/08/27 13:18:16	5.32
+++ mm-view.el	1999/10/13 16:53:18
@@ -185,7 +185,9 @@
 	  (setq handles gnus-article-mime-handles))
 	(when handles
 	  (setq gnus-article-mime-handles
-		(append gnus-article-mime-handles handles)))
+		(nconc gnus-article-mime-handles 
+		       (if (listp (car handles)) 
+			   handles (list handles)))))
 	(mm-handle-set-undisplayer
 	 handle
 	 `(lambda ()

  parent reply	other threads:[~1999-10-13 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lzwvsrd4iq.fsf@landlord.gbdirect.co.uk>
1999-10-13 13:24 ` Jack Vinson
1999-10-13 16:59 ` Shenghuo ZHU [this message]
1999-10-14  8:50   ` Lee Willis

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=5br9iznqmu.fsf@giga.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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).