From: Simon Josefsson <simon@josefsson.org>
Subject: Re: Deleting an article on IMAP server
Date: 03 Sep 2000 16:13:12 +0200 [thread overview]
Message-ID: <ilu66odzhqf.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87pumlhpsc.fsf@tea.thpoon.com>
Arcady Genkin <antipode@thpoon.com> 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)
next prev parent reply other threads:[~2000-09-03 14:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-03 7:56 Arcady Genkin
2000-09-03 14:13 ` Simon Josefsson [this message]
2000-09-03 19:12 ` Arcady Genkin
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=ilu66odzhqf.fsf@barbar.josefsson.org \
--to=simon@josefsson.org \
/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).