From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17134 Path: main.gmane.org!not-for-mail From: zsh@cs.rochester.edu (=?cn-gb-2312?b?1uzKpLvw?=) Newsgroups: gmane.emacs.gnus.general Subject: bug in gnus-summary-exit Date: 15 Sep 1998 15:03:48 -400 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5b3e9tmc4r.fsf@gin.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=cn-gb-2312 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035155890 31792 80.91.224.250 (20 Oct 2002 23:18:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:18:10 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA11246 for ; Tue, 15 Sep 1998 15:06:07 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id NAF32512; Tue, 15 Sep 1998 13:37:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Sep 1998 14:04:10 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA08245 for ; Tue, 15 Sep 1998 14:04:02 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id PAA11168 for ; Tue, 15 Sep 1998 15:03:55 -0400 (EDT) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id PAA00323 for ; Tue, 15 Sep 1998 15:03:51 -0400 Original-Received: from gin.cs.rochester.edu (gin.cs.rochester.edu [192.5.53.190]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id PAA12033 for ; Tue, 15 Sep 1998 15:03:49 -0400 Original-Received: (from zsh@localhost) by gin.cs.rochester.edu (SMI-8.6/N++) id PAA20960; Tue, 15 Sep 1998 15:03:48 -0400 Original-To: ding@gnus.org X-Attribution: ZSH Original-Lines: 37 User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17134 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17134 gnus-summary-exit complains when there is no article buffer. Patch is attached. -- Shenghuo ZHU(Öìʤ»ð) ---------------------------------------------------------------- diff -ru pgnus-0.31/lisp/ChangeLog pgnus-0.32pre1/lisp/ChangeLog --- pgnus-0.31/lisp/ChangeLog Mon Sep 14 12:55:34 1998 +++ pgnus-0.32pre1/lisp/ChangeLog Tue Sep 15 14:46:31 1998 @@ -1,3 +1,8 @@ +Tue Sep 15 14:39:58 1998 Shenghuo ZHU + + * gnus-sum.el (gnus-summary-exit): Stop complaining about summary + exit without article buffer + Mon Sep 14 18:55:38 1998 Lars Magne Ingebrigtsen * gnus.el: Pterodactyl Gnus v0.31 is released. diff -ru pgnus-0.31/lisp/gnus-sum.el pgnus-0.32pre1/lisp/gnus-sum.el --- pgnus-0.31/lisp/gnus-sum.el Mon Sep 14 12:55:37 1998 +++ pgnus-0.32pre1/lisp/gnus-sum.el Tue Sep 15 14:38:03 1998 @@ -5104,8 +5104,10 @@ (if temporary nil ;Nothing to do. (save-excursion - (set-buffer gnus-article-buffer) - (mapcar 'mm-destroy-part gnus-article-mime-handles)) + (if (condition-case nil + (set-buffer gnus-article-buffer) + (error nil)) + (mapcar 'mm-destroy-part gnus-article-mime-handles))) ;; If we have several article buffers, we kill them at exit. (unless gnus-single-article-buffer (gnus-kill-buffer gnus-article-buffer)