From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67028 Path: news.gmane.org!not-for-mail From: Nils Ackermann Newsgroups: gmane.emacs.gnus.general Subject: Re: Mail messages not queued properly when unplugged. Date: Thu, 05 Jun 2008 11:07:57 -0500 Message-ID: <87wsl3yiea.fsf@pascal.matem.unam.mx> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212682232 2607 80.91.229.12 (5 Jun 2008 16:10:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2008 16:10:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15496@lists.math.uh.edu Thu Jun 05 18:11:13 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4I2X-0006m5-JP for ding-account@gmane.org; Thu, 05 Jun 2008 18:10:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1K4I19-0004y0-C2; Thu, 05 Jun 2008 11:08:47 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K4I17-0004xk-Au for ding@lists.math.uh.edu; Thu, 05 Jun 2008 11:08:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1K4I0y-0002NC-0O for ding@lists.math.uh.edu; Thu, 05 Jun 2008 11:08:45 -0500 Original-Received: from mail.geekisp.com ([216.168.135.169] helo=starfish.geekisp.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1K4I1D-0002lT-00 for ; Thu, 05 Jun 2008 18:08:51 +0200 Original-Received: (qmail 3085 invoked by uid 1003); 5 Jun 2008 16:08:02 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ackermath.info; b=kewkqqAw+PAmyxAkFl5Y11U2vm/IxKQ+krdCbJaKOt0kJvks4q/SwoOLYErENjqum9IcJVkwucq9JF2jDO7XpsHTs4aJgDE8kknXC3K+qKj1spRqvLqnSZkwm56vYYHO ; Original-Received: from pascal.localdomain (localhost.geekisp.com [127.0.0.1]) by localhost.geekisp.com (tmda-ofmipd) with ESMTP; Thu, 05 Jun 2008 12:08:00 -0400 Original-Received: by pascal.localdomain (Postfix, from userid 1000) id F3DDD93C7; Thu, 5 Jun 2008 11:07:57 -0500 (CDT) In-Reply-To: (Katsumi Yamaoka's message of "Thu\, 05 Jun 2008 20\:55\:47 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) X-Primary-Address: nils@ackermath.info X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67028 Archived-At: Katsumi Yamaoka writes: >>>>>> Katsumi Yamaoka wrote: > >> 2008-03-18 Nils Ackermann (tiny change) >> [...] >> * message.el (message-disassociate-draft): Specify drafts group name >> fully. > >> See the article in this list. I hasten >> to have made it revert in the trunk and the v5-10 branch. > >> The problem that happens to Nils should be solved in another way. > > The problems that Nils Ackermann reported can be found in: > http://article.gmane.org/gmane.emacs.gnus.general/66523 > > Nils, even if `message-disassociate-draft' reverted, you can > achieve making groups' expiry target the nnml:archive group > except that that of the nndraft:drafts group is `delete'. > To do that, use > > (setq gnus-parameters '(("\\`drafts\\'" (expiry-target . delete)))) > > instead of: > > (setq gnus-parameters '(("nndraft:drafts" (expiry-target . delete)))) > > Normally a group name that is passed to a back end isn't > prefixed with the server name. So, this and the patch to > `nnmh-request-expire-articles' you made are probably wrong > approaches. Maybe the right way is that > `gnus-request-expire-article' reads the `expiry-target' group > parameter and passes it to a back end. However, the nndraft > back end is special and it is expected to be not so easy. > I have no plan for the present. Probably the other part of my change wasn't correct, either. Maybe `nnmh-request-expire-articles' should not be called directly by `nndraft-request-expire-articles' but instead through `gnus-group-expire-articles-1', because that function takes care of checking the group parameters. OTOH, maybe articles should be deleted unconditionally in the drafts group when sent, instead of being expired. I'll look into it again in a couple of weeks, currently I am short of time. Nils -- Info: http://www.ackermath.info/