Gnus development mailing list
 help / color / mirror / Atom feed
From: Nils Ackermann <nils-gmane@ackermath.info>
To: ding@gnus.org
Subject: Re: Any juicy outstanding Gnus bugs?
Date: Mon, 27 Sep 2010 23:24:56 -0500	[thread overview]
Message-ID: <87vd5qtrzb.fsf@thysbe.fqdn.ackermath.info> (raw)
In-Reply-To: <m3fwwvm3ou.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 27 Sep 2010 20:39:13 +0200")

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

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Nils Ackermann <nils-gmane@ackermath.info> writes:
>
>>> Digging a bit deeper here, it seemed like it was fetching the expiry
>>> target of the wrong group.  This may now be fixed.
>>
>> Nope, sorry.
>
> Could you edebug through `nndraft-request-expire-articles' and see what
> happens? 

First a typo:


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

diff --git a/lisp/nndraft.el b/lisp/nndraft.el
index 5dc51f3..97ad2b9 100644
--- a/lisp/nndraft.el
+++ b/lisp/nndraft.el
@@ -224,7 +224,7 @@ are generated if and only if they are also in `message-draft-headers'.")
   (let* ((nnmh-allow-delete-final t)
         (nnmail-expiry-target
          (or (gnus-group-find-parameter
-              (gnus-group-prefixed-name "nndraft" (list 'nndraft server))
+              (gnus-group-prefixed-name "drafts" (list 'nndraft server))
               'expiry-target t)
              nnmail-expiry-target))
         (res (nnoo-parent-function 'nndraft

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]


This fixes my setup, hooray!  The override of nnmail-expiry-target
finally works in the draft group.

I wonder though if it wouldn't be better to change this to 


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-diff, Size: 808 bytes --]

diff --git a/lisp/nndraft.el b/lisp/nndraft.el
index 5dc51f3..5ad4ed0 100644
--- a/lisp/nndraft.el
+++ b/lisp/nndraft.el
@@ -222,11 +222,7 @@ are generated if and only if they are also in `message-draft-hea
 (deffoo nndraft-request-expire-articles (articles group &optional server force)
   (nndraft-possibly-change-group group)
   (let* ((nnmh-allow-delete-final t)
-        (nnmail-expiry-target
-         (or (gnus-group-find-parameter
-              (gnus-group-prefixed-name "nndraft" (list 'nndraft server))
-              'expiry-target t)
-             nnmail-expiry-target))
+        (nnmail-expiry-target 'delete)
         (res (nnoo-parent-function 'nndraft
                                    'nnmh-request-expire-articles
                                    (list articles group server force)))

[-- Attachment #5: Type: text/plain, Size: 506 bytes --]


If one expires from the drafts group to some other real email folder the
aforementioned dreaded

,----
| --text follows this line--
`----

appears in *saved* articles.  Wouldn't it be best to ensure that under
no circumstances articles are expired to a mail folder from the drafts
group?  Using expiry from the drafts group to archive sent emails makes
no sense anyway since expiry only happens if the composed email is saved
at least once during composition.

Thanks for looking into this!

Cheers,
Nils

  reply	other threads:[~2010-09-28  4:24 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 19:58 Lars Magne Ingebrigtsen
2010-09-25 20:10 ` Julien Danjou
2010-09-25 20:27   ` Lars Magne Ingebrigtsen
2010-09-25 20:40     ` Julien Danjou
2010-09-25 20:44       ` Lars Magne Ingebrigtsen
2010-09-25 20:48         ` Sven Joachim
2010-09-25 21:26           ` Lars Magne Ingebrigtsen
2010-09-25 21:46             ` Frank Schmitt
2010-09-25 22:12               ` Lars Magne Ingebrigtsen
2010-09-25 22:20                 ` Any juicy outstanding Gnus bugs Steinar Bang
2010-09-25 22:58                   ` Lars Magne Ingebrigtsen
2010-09-25 22:53                 ` Any juicy outstanding Gnus bugs? Russ Allbery
2010-09-25 23:00                   ` Lars Magne Ingebrigtsen
2010-09-25 23:12                     ` Russ Allbery
2010-09-25 23:13                     ` Lars Magne Ingebrigtsen
2010-09-25 23:29                       ` nndebbugs (was: Re: Any juicy outstanding Gnus bugs?) Lars Magne Ingebrigtsen
2010-09-25 23:36                         ` nndebbugs Russ Allbery
2010-09-26  0:17                           ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  0:31                             ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  0:33                             ` nndebbugs Russ Allbery
2010-09-26  0:41                               ` nndebbugs Lars Magne Ingebrigtsen
2010-09-26  1:04                                 ` nndebbugs Lars Magne Ingebrigtsen
2010-09-27  6:25                                   ` nndebbugs Reiner Steib
2010-09-26  9:01                                 ` nndebbugs Michael Albinus
2010-09-26  7:55                           ` nndebbugs Steinar Bang
2010-09-26  8:39                             ` nndebbugs Russ Allbery
2010-09-26 12:11                               ` nndebbugs Lars Magne Ingebrigtsen
2010-09-27 14:56           ` Any juicy outstanding Gnus bugs? Tom Tromey
2010-09-25 20:42 ` Frank Schmitt
2010-09-25 21:29   ` Lars Magne Ingebrigtsen
2010-09-25 21:14 ` Julien Danjou
2010-09-25 21:17   ` Julien Danjou
2010-09-25 21:26     ` Lars Magne Ingebrigtsen
2010-09-26  2:08 ` Nils Ackermann
2010-09-26  2:16   ` Lars Magne Ingebrigtsen
2010-09-26  2:38     ` Nils Ackermann
2010-09-26 12:56       ` Lars Magne Ingebrigtsen
2010-09-26 18:28         ` Nils Ackermann
2010-09-26 18:50           ` Lars Magne Ingebrigtsen
2010-09-27 16:38             ` Nils Ackermann
2010-09-27 18:39               ` Lars Magne Ingebrigtsen
2010-09-28  4:24                 ` Nils Ackermann [this message]
2010-09-29 14:33                   ` Lars Magne Ingebrigtsen
2010-09-26  8:32 ` Sivaram Neelakantan
2010-09-26 11:59   ` Lars Magne Ingebrigtsen
2010-09-26 10:16 ` Tassilo Horn
2010-09-26 12:06   ` Lars Magne Ingebrigtsen
2010-09-26 17:06     ` Tassilo Horn
2010-09-26 13:56 ` Richard Riley
2010-09-26 14:10   ` Lars Magne Ingebrigtsen
2010-09-26 15:43     ` Steinar Bang
2010-09-26 15:54       ` Lars Magne Ingebrigtsen
2010-09-26 17:10 ` Julien Danjou
2010-09-26 17:14   ` Lars Magne Ingebrigtsen
2010-09-26 21:24     ` James Cloos
2010-09-26 21:31       ` Lars Magne Ingebrigtsen
2010-09-27 19:13       ` Lars Magne Ingebrigtsen
2010-09-26 17:23   ` Charles Philip Chan
2010-09-26 22:23   ` Andreas Schwab
2010-09-26 18:41 ` Steinar Bang
2010-09-26 18:55   ` Lars Magne Ingebrigtsen
2010-09-27 14:30     ` Andrew Cohen
2010-09-27 18:40       ` Lars Magne Ingebrigtsen
2010-09-27 18:45         ` Andrew Cohen
2010-10-07 22:06           ` Andrew Cohen
2010-10-07 22:36             ` Lars Magne Ingebrigtsen
2010-10-10 13:23               ` Andrew Cohen
2010-10-10 13:36                 ` Lars Magne Ingebrigtsen
2010-10-10 15:26                 ` Andreas Schwab
2010-10-08  9:41             ` Steinar Bang
2010-09-26 18:57   ` Andrew Cohen
2010-09-26 20:46   ` Ted Zlatanov
2010-09-27  7:35     ` Steinar Bang
2010-09-27 18:15       ` Ted Zlatanov
2010-09-27 18:37         ` Lars Magne Ingebrigtsen
2010-09-27 18:48           ` Ted Zlatanov
2010-09-27 19:02             ` Lars Magne Ingebrigtsen
2010-09-26 19:04 ` Gnus loads too much when entering group before letting the agent fetch (was: Any juicy outstanding Gnus bugs?) Tassilo Horn
2010-09-26 19:07   ` Gnus loads too much when entering group before letting the agent fetch Lars Magne Ingebrigtsen
2010-09-26 19:29     ` Tassilo Horn
2010-09-26 19:38       ` Lars Magne Ingebrigtsen
2010-09-26 20:26         ` Tassilo Horn
2010-09-26 20:43           ` Tassilo Horn
2010-09-26 21:04             ` Lars Magne Ingebrigtsen
2010-09-26 19:56 ` gnus-group-jump-to-group completion bug Dan Christensen
2010-09-26 20:39   ` Lars Magne Ingebrigtsen
2010-09-26 23:04     ` Dan Christensen
2010-09-27 17:37       ` Lars Magne Ingebrigtsen
2010-09-27 18:25         ` Dan Christensen
2010-09-27 18:39           ` Julien Danjou
2010-09-27 18:42             ` Lars Magne Ingebrigtsen
2010-09-26 19:58 ` gnus-summary-insert-new-articles in an nnimap group doesn't work Dan Christensen
2010-09-26 21:01   ` Lars Magne Ingebrigtsen
2010-09-26 23:10     ` Dan Christensen
2010-09-27 17:36       ` Lars Magne Ingebrigtsen
2010-09-27 18:37         ` Dan Christensen
2010-09-27 18:59           ` Lars Magne Ingebrigtsen
2010-09-27 19:08             ` Dan Christensen
2010-09-27 19:49               ` Lars Magne Ingebrigtsen
2010-09-28  1:19                 ` Dan Christensen
2010-09-26 20:04 ` Any juicy outstanding Gnus bugs? Robert Pluim
2010-09-26 20:13   ` Julien Danjou
2010-09-26 20:27     ` Robert Pluim
2010-09-26 20:34       ` Dan Christensen
2010-09-26 20:37       ` Lars Magne Ingebrigtsen
2010-09-26 20:43         ` Dan Christensen
2010-09-26 20:41       ` Julien Danjou
2010-09-26 21:09         ` Robert Pluim
2010-09-26 21:14           ` Lars Magne Ingebrigtsen
2010-09-26 21:23             ` Robert Pluim
2010-09-26 20:10 ` nnmairix not working again Dan Christensen
2010-09-27 18:35   ` Lars Magne Ingebrigtsen
2010-09-27 18:58     ` David Engster
2010-09-27 20:27       ` Dan Christensen
2010-09-26 20:43 ` Any juicy outstanding Gnus bugs? Ted Zlatanov
2010-09-26 20:46   ` Lars Magne Ingebrigtsen
2010-09-26 21:16     ` Richard Riley
2010-09-27  7:40       ` Steinar Bang
2010-09-27 18:41       ` Lars Magne Ingebrigtsen
2010-09-27 18:45         ` Steinar Bang
2010-09-27 19:04           ` Lars Magne Ingebrigtsen
2010-09-28 19:11     ` nnimap splitting (was: Any juicy outstanding Gnus bugs?) Ted Zlatanov
2010-09-29 15:24       ` nnimap splitting Lars Magne Ingebrigtsen
2010-09-29 18:31         ` Ted Zlatanov
2010-09-29 19:06           ` Lars Magne Ingebrigtsen
2010-09-29 19:56             ` Ted Zlatanov
2010-09-29 21:28               ` Andreas Schwab
2010-09-29 21:36               ` Lars Magne Ingebrigtsen
2010-09-29 18:44     ` Any juicy outstanding Gnus bugs? Ted Zlatanov
2010-09-29 19:09       ` Lars Magne Ingebrigtsen
2010-09-29 20:01         ` Ted Zlatanov
2010-09-29 21:34           ` Andreas Schwab
2010-09-30 15:02             ` Ted Zlatanov
2010-09-30 16:48               ` Lars Magne Ingebrigtsen
2010-09-29 21:53           ` Lars Magne Ingebrigtsen
2010-09-30 15:13             ` Ted Zlatanov
2010-09-30 16:52               ` Lars Magne Ingebrigtsen
2010-09-30 17:34                 ` Ted Zlatanov
2010-09-30 17:38                   ` Lars Magne Ingebrigtsen
2010-09-30 17:56                     ` Ted Zlatanov
2010-09-30 18:54                       ` Lars Magne Ingebrigtsen
2010-09-30 19:09                   ` Dan Christensen
2010-09-30 19:13                     ` Ted Zlatanov
2010-09-30 19:42                       ` Lars Magne Ingebrigtsen
2010-09-30 20:01                       ` Ted Zlatanov
2010-09-30 20:10                         ` Lars Magne Ingebrigtsen
2010-09-30 21:34                           ` Ted Zlatanov
2010-10-01 19:12                             ` Lars Magne Ingebrigtsen
2010-10-01 19:45                               ` Ted Zlatanov
2010-10-01 20:25                                 ` Lars Magne Ingebrigtsen
2010-10-01 20:52                                   ` Ted Zlatanov
2010-10-02 18:47                   ` Gijs Hillenius
2010-10-03 11:46                     ` Gijs Hillenius
2010-10-03 12:29                     ` Ted Zlatanov
2010-10-01  0:30               ` nnimap issues: split error and initially missing unread articles (was: Any juicy outstanding Gnus bugs?) Ted Zlatanov
2010-10-01 16:52                 ` nnimap issues: split error and initially missing unread articles Lars Magne Ingebrigtsen
2010-10-01 17:19                   ` Ted Zlatanov
2010-10-01 18:57                     ` Lars Magne Ingebrigtsen
2010-10-01 19:47                       ` Ted Zlatanov
2010-10-01 19:55                       ` Ted Zlatanov
2010-10-01 20:12                         ` Lars Magne Ingebrigtsen
2010-10-01 20:58                           ` Ted Zlatanov
2010-10-01 19:59                       ` Ted Zlatanov
2010-10-01 20:13                         ` Lars Magne Ingebrigtsen
2010-10-01 20:58                           ` Ted Zlatanov
2010-10-01 21:12                             ` Lars Magne Ingebrigtsen
2010-10-08 17:37                               ` Ted Zlatanov
2010-09-27  5:55 ` Any juicy outstanding Gnus bugs? Richard Riley
2010-09-27 18:40   ` Lars Magne Ingebrigtsen
2010-09-28  7:17     ` Gijs Hillenius
2010-09-29 14:37       ` Lars Magne Ingebrigtsen
2010-10-01  7:43     ` Richard Riley
2010-10-01 16:39       ` Lars Magne Ingebrigtsen
2010-10-02 11:39         ` Richard Riley
2010-09-28 14:10 ` Richard Riley
2010-09-29 14:38   ` Lars Magne Ingebrigtsen
2010-09-30 16:49     ` Richard Riley
2010-09-30 16:54       ` Lars Magne Ingebrigtsen
2010-10-02 16:35 ` Richard Riley
2010-10-02 17:22   ` Lars Magne Ingebrigtsen
2010-10-03  6:49     ` Richard Riley
2010-10-03 12:34       ` Lars Magne Ingebrigtsen

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=87vd5qtrzb.fsf@thysbe.fqdn.ackermath.info \
    --to=nils-gmane@ackermath.info \
    --cc=ding@gnus.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).