Gnus development mailing list
 help / color / mirror / Atom feed
* nnml-active-number: no such function
@ 2014-06-21 17:20 Eric Abrahamsen
  2014-06-22 15:51 ` Eric Abrahamsen
  2015-01-28  5:15 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2014-06-21 17:20 UTC (permalink / raw)
  To: ding

I hit this trying to respool within an nnimap server, from INBOX to a
different group. This is git gnus. `nnimap-request-accept-article' uses
a form containing a call to `nnml-active-number', which doesn't exist.
Respool query gave me the correct group, but actually respooling gave me
the following (still with the non-existent "mail.misc" group!).

I've taken some of the server variables out.

Debugger entered--Lisp error: (void-function nnml-active-number)
  (nnml-active-number group "EA")
  (lambda (group) (nnml-active-number group "EA"))("mail.misc")
  nnmail-article-group((lambda (group) (nnml-active-number group "EA")))
  nnimap-request-accept-article(nil "EA" t)
  gnus-request-accept-article(nil (nnimap "EA" (nnimap-split-methods nnimap-split-fancy)) t t)
  eval((gnus-request-accept-article nil (quote (nnimap "EA"  (nnimap-split-methods nnimap-split-fancy))) t t))
  nnimap-request-move-article(18125 "INBOX" "EA" (gnus-request-accept-article nil (quote (nnimap "EA" (nnimap-split-methods nnimap-split-fancy))) t t) t nil)
  gnus-request-move-article(18125 "nnimap+EA:INBOX" "EA" (gnus-request-accept-article nil (quote (nnimap "EA"  (nnimap-split-methods nnimap-split-fancy))) t t) t nil)
  gnus-summary-move-article(nil nil (nnimap "EA" (nnimap-split-methods nnimap-split-fancy)))
  gnus-summary-respool-article(nil (nnimap "EA" (nnimap-split-methods nnimap-split-fancy)))
  funcall-interactively(gnus-summary-respool-article nil (nnimap "EA" (nnimap-split-methods nnimap-split-fancy)))
  call-interactively(gnus-summary-respool-article nil nil)
  command-execute(gnus-summary-respool-article)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnml-active-number: no such function
  2014-06-21 17:20 nnml-active-number: no such function Eric Abrahamsen
@ 2014-06-22 15:51 ` Eric Abrahamsen
  2015-01-28  5:15 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2014-06-22 15:51 UTC (permalink / raw)
  To: ding

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

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I hit this trying to respool within an nnimap server, from INBOX to a
> different group. This is git gnus. `nnimap-request-accept-article' uses
> a form containing a call to `nnml-active-number', which doesn't exist.
> Respool query gave me the correct group, but actually respooling gave me
> the following (still with the non-existent "mail.misc" group!).

Sorry, not "doesn't exist", but "isn't loaded". Here's a patch that
autoloads nnml if necessary.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Autoload-nnml-active-number-in-nnimap.patch --]
[-- Type: text/x-diff, Size: 708 bytes --]

From 281c14edf03d7f3bee9ec829cb941e07ad14a02a Mon Sep 17 00:00:00 2001
From: Eric Abrahamsen <eric@ericabrahamsen.net>
Date: Sun, 22 Jun 2014 08:47:30 -0700
Subject: [PATCH] Autoload nnml-active-number in nnimap

* lisp/nnimap.el: (nnimap-request-accept-article) uses
  		  `nnml-active-number', but nnml might not be loaded
  		  by default
---
 lisp/nnimap.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 1730bd4..e4f3ba6 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -48,6 +48,7 @@
 
 (autoload 'auth-source-forget+ "auth-source")
 (autoload 'auth-source-search "auth-source")
+(autoload 'nnml-active-number "nnml")
 
 (nnoo-declare nnimap)
 
-- 
2.0.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnml-active-number: no such function
  2014-06-21 17:20 nnml-active-number: no such function Eric Abrahamsen
  2014-06-22 15:51 ` Eric Abrahamsen
@ 2015-01-28  5:15 ` Lars Ingebrigtsen
  2015-01-28  5:58   ` Eric Abrahamsen
  1 sibling, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2015-01-28  5:15 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: ding

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> I hit this trying to respool within an nnimap server, from INBOX to a
> different group. This is git gnus. `nnimap-request-accept-article' uses
> a form containing a call to `nnml-active-number', which doesn't exist.
> Respool query gave me the correct group, but actually respooling gave me
> the following (still with the non-existent "mail.misc" group!).
>
> I've taken some of the server variables out.
>
> Debugger entered--Lisp error: (void-function nnml-active-number)
>   (nnml-active-number group "EA")
>   (lambda (group) (nnml-active-number group "EA"))("mail.misc")
>   nnmail-article-group((lambda (group) (nnml-active-number group "EA")))
>   nnimap-request-accept-article(nil "EA" t)

It shouldn't be called at all.  I think I fixed this a couple of days
ago in git Gnus, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnml-active-number: no such function
  2015-01-28  5:15 ` Lars Ingebrigtsen
@ 2015-01-28  5:58   ` Eric Abrahamsen
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2015-01-28  5:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: ding


On 01/28/15 16:15 PM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I hit this trying to respool within an nnimap server, from INBOX to a
>> different group. This is git gnus. `nnimap-request-accept-article' uses
>> a form containing a call to `nnml-active-number', which doesn't exist.
>> Respool query gave me the correct group, but actually respooling gave me
>> the following (still with the non-existent "mail.misc" group!).
>>
>> I've taken some of the server variables out.
>>
>> Debugger entered--Lisp error: (void-function nnml-active-number)
>>   (nnml-active-number group "EA")
>>   (lambda (group) (nnml-active-number group "EA"))("mail.misc")
>>   nnmail-article-group((lambda (group) (nnml-active-number group "EA")))
>>   nnimap-request-accept-article(nil "EA" t)
>
> It shouldn't be called at all.  I think I fixed this a couple of days
> ago in git Gnus, though.

I don't even remember reporting this :)

I'll let you know if I see anything weird. My splitting setup is solid
enough that I rarely respool, or even move, hence fairly few complaints
here.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-28  5:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-21 17:20 nnml-active-number: no such function Eric Abrahamsen
2014-06-22 15:51 ` Eric Abrahamsen
2015-01-28  5:15 ` Lars Ingebrigtsen
2015-01-28  5:58   ` Eric Abrahamsen

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).