Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-delay not sending articles
@ 2001-11-13  1:57 Benjamin Rutt
  2001-11-13 10:07 ` Kai Großjohann
  0 siblings, 1 reply; 9+ messages in thread
From: Benjamin Rutt @ 2001-11-13  1:57 UTC (permalink / raw)


When I press '1 g' or just 'g' from the "*Group*" buffer, my delayed
articles aren't being sent.  I edebugged into gnus-delay-send-drafts
and found that

(gnus-gethash group gnus-newsrc-hashtb)

always returns nil (where 'group' is bound to 'nndraft:delayed').
This is preventing my delayed drafts from being sent.

I have the following in my ~/.gnus:

(require 'gnus-delay)
(gnus-delay-initialize)

Gnus created the file ~/News/drafts/delayed/1 after I pressed C-c C-j
on a message and entered '1m' for "1 minute" as the delay time.  The
file contains:

,----[ ~/News/drafts/delayed/1 ]
| Gcc: nnmbox+sent:sent-mail
| To: Benjamin Rutt <rutt@cis.ohio-state.edu>
| Subject: foo delayed
| From: Benjamin Rutt <rutt@cis.ohio-state.edu>
| Reply-To: Benjamin Rutt <rutt@cis.ohio-state.edu>
| X-Gnus-Delayed: Mon, 12 Nov 2001 20:41:38 -0500
| --text follows this line--
| 
| -- 
| Benjamin Rutt <rutt@cis.ohio-state.edu>
`----

My gnus is as recent as last Friday's Oort from cvs.

Any clues?  I suspect `gnus-newsrc-hashtb' should really contain the
string nndraft:delayed somewhere, but it doesn't.
-- 
Benjamin



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

* Re: gnus-delay not sending articles
  2001-11-13  1:57 gnus-delay not sending articles Benjamin Rutt
@ 2001-11-13 10:07 ` Kai Großjohann
  2001-11-13 13:09   ` Benjamin Rutt
  0 siblings, 1 reply; 9+ messages in thread
From: Kai Großjohann @ 2001-11-13 10:07 UTC (permalink / raw)


Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

> Any clues?  I suspect `gnus-newsrc-hashtb' should really contain the
> string nndraft:delayed somewhere, but it doesn't.

Whee.  Hm.  So are you saying that you used C-c C-j for the first
time ever, and then immediately did `1 g' and expected that to do
something?

Maybe Gnus hasn't had a chance yet to see that there was a new
group.  What happens if you `g' before `1 g'?

kai
-- 
I like BOTH kinds of music.



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

* Re: gnus-delay not sending articles
  2001-11-13 10:07 ` Kai Großjohann
@ 2001-11-13 13:09   ` Benjamin Rutt
  2001-11-13 16:10     ` Kai Großjohann
  0 siblings, 1 reply; 9+ messages in thread
From: Benjamin Rutt @ 2001-11-13 13:09 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Whee.  Hm.  So are you saying that you used C-c C-j for the first
> time ever, and then immediately did `1 g' and expected that to do
> something?

I have been using C-c C-j for several months now.  I only recently
noticed that it stopped working.

> Maybe Gnus hasn't had a chance yet to see that there was a new
> group.  What happens if you `g' before `1 g'?

That doesn't appear to make a difference.

If I grep .newsrc.eld for 'delayed', I get nothing.  Should I be
getting a grep hit?
-- 
Benjamin



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

* Re: gnus-delay not sending articles
  2001-11-13 13:09   ` Benjamin Rutt
@ 2001-11-13 16:10     ` Kai Großjohann
  2001-11-13 16:48       ` Benjamin Rutt
  0 siblings, 1 reply; 9+ messages in thread
From: Kai Großjohann @ 2001-11-13 16:10 UTC (permalink / raw)


Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>
>> Whee.  Hm.  So are you saying that you used C-c C-j for the first
>> time ever, and then immediately did `1 g' and expected that to do
>> something?
>
> I have been using C-c C-j for several months now.  I only recently
> noticed that it stopped working.

That's bad.  Hm.

Can you enter the nndraft:delayed group (maybe use `j' to jump there
first)?  Does the directory exist on disk?

It seems that the group has no special parameters, so it might be
sufficient to just `G m' it.

>> Maybe Gnus hasn't had a chance yet to see that there was a new
>> group.  What happens if you `g' before `1 g'?
>
> That doesn't appear to make a difference.
>
> If I grep .newsrc.eld for 'delayed', I get nothing.  Should I be
> getting a grep hit?

Some versions of grep might not grok long lines, so to be 100% sure
you'll need to load the file in Emacs and use C-s.

kai
-- 
I like BOTH kinds of music.



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

* Re: gnus-delay not sending articles
  2001-11-13 16:10     ` Kai Großjohann
@ 2001-11-13 16:48       ` Benjamin Rutt
  2001-11-13 17:02         ` Benjamin Rutt
  2001-11-13 17:43         ` Kai Großjohann
  0 siblings, 2 replies; 9+ messages in thread
From: Benjamin Rutt @ 2001-11-13 16:48 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:
>
>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>>
>>> Whee.  Hm.  So are you saying that you used C-c C-j for the first
>>> time ever, and then immediately did `1 g' and expected that to do
>>> something?
>>
>> I have been using C-c C-j for several months now.  I only recently
>> noticed that it stopped working.
>
> That's bad.  Hm.
>
> Can you enter the nndraft:delayed group (maybe use `j' to jump there
> first)?

I can use 'j nndraft:delayed' and the following line is inserted into
"*Group*":

 K     *: nndraft:delayed

> Does the directory exist on disk?

It does:

$ ls -al ~/News/drafts
total 8
drwx------   4 rutt     cisgrad      512 Sep 18 13:15 .
drwx------   9 rutt     cisgrad     1024 Nov  4 09:15 ..
drwx------   2 rutt     cisgrad      512 Nov 12 20:40 delayed
drwx------   2 rutt     cisgrad      512 Nov 13 11:41 drafts

> It seems that the group has no special parameters, so it might be
> sufficient to just `G m' it.

When I do 'G m nndraft:delayed' I get the prompt back:

Invalid group name: "nndraft:delayed".  Group name:

Was 'nndraft:delayed' the correct string to give?

>> If I grep .newsrc.eld for 'delayed', I get nothing.  Should I be
>> getting a grep hit?
>
> Some versions of grep might not grok long lines, so to be 100% sure
> you'll need to load the file in Emacs and use C-s.

Sorry for the confusion, I meant 'grep' in a symbolic sense (had
actually used C-s).  That's a good point to bring up though for future
reference.  I had forgotten how long the .newsrc.eld lines were.
-- 
Benjamin



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

* Re: gnus-delay not sending articles
  2001-11-13 16:48       ` Benjamin Rutt
@ 2001-11-13 17:02         ` Benjamin Rutt
  2001-11-13 17:44           ` Kai Großjohann
  2001-11-13 17:43         ` Kai Großjohann
  1 sibling, 1 reply; 9+ messages in thread
From: Benjamin Rutt @ 2001-11-13 17:02 UTC (permalink / raw)


Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

>> It seems that the group has no special parameters, so it might be
>> sufficient to just `G m' it.
>
> When I do 'G m nndraft:delayed' I get the prompt back:
>
> Invalid group name: "nndraft:delayed".  Group name:
>
> Was 'nndraft:delayed' the correct string to give?

To answer my own question, I was using 'G m' incorrectly.  I just did

'G m delayed nndraft RET' and my drafts were sent again.

Now, my ~/.newsrc.eld contains the string 'nndraft', and my previously
unsent delayed drafts were just sent out.

Is there any way we can explain why it disappeared from .newsrc.eld?
I don't think I killed it with 'A k' in the past (I don't think I ever
see it in my *Group* buffer anyway).
-- 
Benjamin



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

* Re: gnus-delay not sending articles
  2001-11-13 16:48       ` Benjamin Rutt
  2001-11-13 17:02         ` Benjamin Rutt
@ 2001-11-13 17:43         ` Kai Großjohann
  1 sibling, 0 replies; 9+ messages in thread
From: Kai Großjohann @ 2001-11-13 17:43 UTC (permalink / raw)


Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

> When I do 'G m nndraft:delayed' I get the prompt back:

I think it's `G m delayed RET nndraft RET' or maybe `G m delayed RET
nndraft: RET' (only 1 char difference).

kai
-- 
I like BOTH kinds of music.



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

* Re: gnus-delay not sending articles
  2001-11-13 17:02         ` Benjamin Rutt
@ 2001-11-13 17:44           ` Kai Großjohann
  2001-11-14  3:37             ` Benjamin Rutt
  0 siblings, 1 reply; 9+ messages in thread
From: Kai Großjohann @ 2001-11-13 17:44 UTC (permalink / raw)


Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:

> Is there any way we can explain why it disappeared from .newsrc.eld?

I have no idea.

kai
-- 
I like BOTH kinds of music.



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

* Re: gnus-delay not sending articles
  2001-11-13 17:44           ` Kai Großjohann
@ 2001-11-14  3:37             ` Benjamin Rutt
  0 siblings, 0 replies; 9+ messages in thread
From: Benjamin Rutt @ 2001-11-14  3:37 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Benjamin Rutt <rutt+news@cis.ohio-state.edu> writes:
>
>> Is there any way we can explain why it disappeared from .newsrc.eld?
>
> I have no idea.

Sorry for the vague question.  Maybe I killed the group some time ago
accidentally.  Thanks for all your support on this.  Double-thanks for
writing gnus-delay.el in the first place.  It is very useful.
-- 
Benjamin



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

end of thread, other threads:[~2001-11-14  3:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13  1:57 gnus-delay not sending articles Benjamin Rutt
2001-11-13 10:07 ` Kai Großjohann
2001-11-13 13:09   ` Benjamin Rutt
2001-11-13 16:10     ` Kai Großjohann
2001-11-13 16:48       ` Benjamin Rutt
2001-11-13 17:02         ` Benjamin Rutt
2001-11-13 17:44           ` Kai Großjohann
2001-11-14  3:37             ` Benjamin Rutt
2001-11-13 17:43         ` Kai Großjohann

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