From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32308 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Deleting an article on IMAP server Date: 03 Sep 2000 16:13:12 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87pumlhpsc.fsf@tea.thpoon.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168600 18981 80.91.224.250 (21 Oct 2002 02:50:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:50:00 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 3B4D2D051E for ; Sun, 3 Sep 2000 10:11:37 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAC04271; Sun, 3 Sep 2000 09:11:35 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 03 Sep 2000 09:10:54 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA12422 for ; Sun, 3 Sep 2000 09:10:40 -0500 (CDT) Original-Received: from vic20.blipp.com (unknown [195.163.165.35]) by mailhost.sclp.com (Postfix) with ESMTP id 72F64D051E for ; Sun, 3 Sep 2000 10:11:00 -0400 (EDT) Original-Received: from barbar.josefsson.org (localhost [127.0.0.1]) by vic20.blipp.com (8.10.1/8.10.1) with SMTP id e83EAt907490 for ; Sun, 3 Sep 2000 16:10:55 +0200 Original-To: ding@gnus.org In-Reply-To: <87pumlhpsc.fsf@tea.thpoon.com> Original-Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (GTK) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32308 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32308 Arcady Genkin writes: > I open an article in an nnimap group, then leave it open and switch > to doing something else for a while. Then when I come back, and try > to delete the article, I get an error (the following backtrace): Could you try this patch? Thanks. * gnus-sum.el (gnus-summary-delete-article): Check server. Index: gnus-sum.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v retrieving revision 5.130 diff -w -u -u -w -r5.130 gnus-sum.el --- gnus-sum.el 2000/08/14 08:11:10 5.130 +++ gnus-sum.el 2000/09/03 14:09:43 @@ -7740,6 +7740,8 @@ (unless (gnus-check-backend-function 'request-expire-articles gnus-newsgroup-name) (error "The current newsgroup does not support article deletion")) + (unless (gnus-check-server (gnus-find-method-for-group gnus-newsgroup-name)) + (error "Couldn't open server")) ;; Compute the list of articles to delete. (let ((articles (sort (copy-sequence (gnus-summary-work-articles n)) '<)) not-deleted)