Gnus development mailing list
 help / color / mirror / Atom feed
* Archive group broken since very recently
@ 2010-09-15 16:04 Tassilo Horn
  2010-09-16  1:21 ` Katsumi Yamaoka
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-15 16:04 UTC (permalink / raw)
  To: ding

Hi all,

I use the gnus version that comes with emacs 24 from bzr.  Since my last
update, my archive group is broken.  The definition is as follows:

--8<---------------cut here---------------start------------->8---
(setq gnus-update-message-archive-method t
      gnus-message-archive-method
      `(nnml "archive"
             (nnml-inhibit-expiry t)
             (nnml-get-new-mail   nil)
             (nnml-directory      ,(expand-file-name "archive" gnus-
directory))
             (nnml-active-file    ,(expand-file-name
				    "active"
				    (expand-file-name "archive" gnus-
directory)))))
--8<---------------cut here---------------end--------------->8---

When posting to some group, it seems the message is correctly saved.  At
least that's in *Messages*:

--8<---------------cut here---------------start------------->8---
Wrote /home/horn/.gnus.d/News/archive/sent-postings/762
20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-
postings...
20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-
postings...done
Sending...done
--8<---------------cut here---------------end--------------->8---

But I cannot enter the archive group (nnml+archive:sent-postings)
anymore.  RET RET on it gives:

--8<---------------cut here---------------start------------->8---
20100915T180005.759> Retrieving newsgroup: nnml+archive:sent-postings...
20100915T180006.431> Fetching headers for nnml+archive:sent-postings...
20100915T180006.433> nnml: Receiving headers... 2%
20100915T180006.434> nnml: Receiving headers... 5%
20100915T180006.435> nnml: Receiving headers... 7%
20100915T180006.436> nnml: Receiving headers... 10%
20100915T180006.438> nnml: Receiving headers... 13%
20100915T180006.439> nnml: Receiving headers... 15%
20100915T180006.440> nnml: Receiving headers... 18%
20100915T180006.441> nnml: Receiving headers... 21%
20100915T180006.443> nnml: Receiving headers... 23%
20100915T180006.444> nnml: Receiving headers... 26%
20100915T180006.445> nnml: Receiving headers... 28%
20100915T180006.446> nnml: Receiving headers... 31%
20100915T180006.447> nnml: Receiving headers... 34%
20100915T180006.449> nnml: Receiving headers... 36%
20100915T180006.450> nnml: Receiving headers... 39%
20100915T180006.451> nnml: Receiving headers... 42%
20100915T180006.452> nnml: Receiving headers... 44%
20100915T180006.453> nnml: Receiving headers... 47%
20100915T180006.454> nnml: Receiving headers... 49%
20100915T180006.456> nnml: Receiving headers... 52%
20100915T180006.457> nnml: Receiving headers... 55%
20100915T180006.458> nnml: Receiving headers... 57%
20100915T180006.459> nnml: Receiving headers... 60%
20100915T180006.460> nnml: Receiving headers... 63%
20100915T180006.464> nnml: Receiving headers... 65%
20100915T180006.465> nnml: Receiving headers... 68%
20100915T180006.466> nnml: Receiving headers... 70%
20100915T180006.468> nnml: Receiving headers... 73%
20100915T180006.469> nnml: Receiving headers... 76%
20100915T180006.470> nnml: Receiving headers... 78%
20100915T180006.472> nnml: Receiving headers... 81%
20100915T180006.473> nnml: Receiving headers... 84%
20100915T180006.474> nnml: Receiving headers... 86%
20100915T180006.475> nnml: Receiving headers... 89%
20100915T180006.476> nnml: Receiving headers... 91%
20100915T180006.477> nnml: Receiving headers... 94%
20100915T180006.478> nnml: Receiving headers... 97%
20100915T180006.479> nnml: Receiving headers... 99%
20100915T180006.480> nnml: Receiving headers...done
20100915T180006.481> Fetching headers for nnml+archive:sent-
postings...done
20100915T180006.489> Scoring...
20100915T180006.490> Scoring...done
20100915T180006.491> No articles in the group
20100915T180006.493> No more unread newsgroups
20100915T180006.494> No unread news
--8<---------------cut here---------------end--------------->8---

And to make things even more strange, there are now several archive
servers in the server buffer!

--8<---------------cut here---------------start------------->8---
     {nnml:archive} (opened)
     {nnml:archive} (opened)
     {nnml:archive+nnml+archive:sent-postings} (opened)
     {nntp:Uni} (opened) (agent)
     {nntp:Gmane} (opened) (agent)
     {nntp:Eclipse} (opened) (agent)
--8<---------------cut here---------------end--------------->8---

The former two contain my sent-postings group, but hitting RET on that
group takes me back to *Group* with the same entries in *Messages* plus
the line

  gnus-browse-read-group: Couldn't enter nnml+archive:sent-postings

The server {nnml:archive+nnml+archive:sent-postings} is empty.

Any ideas?

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-15 16:04 Archive group broken since very recently Tassilo Horn
@ 2010-09-16  1:21 ` Katsumi Yamaoka
  2010-09-16 10:26   ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Katsumi Yamaoka @ 2010-09-16  1:21 UTC (permalink / raw)
  To: ding

Tassilo Horn wrote:
> I use the gnus version that comes with emacs 24 from bzr.  Since my last
> update, my archive group is broken.  The definition is as follows:

> (setq gnus-update-message-archive-method t
>       gnus-message-archive-method
>       `(nnml "archive"
>              (nnml-inhibit-expiry t)
>              (nnml-get-new-mail   nil)
>              (nnml-directory      ,(expand-file-name "archive" gnus-directory))
>              (nnml-active-file    ,(expand-file-name
> 				    "active"
> 				    (expand-file-name "archive" gnus-directory)))))

I tried this but couldn't reproduce such a problem.
(The archive method I usually use is `(nnml "")'.)

> When posting to some group, it seems the message is correctly saved.  At
> least that's in *Messages*:

> Wrote /home/horn/.gnus.d/News/archive/sent-postings/762
> 20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-postings...
> 20100915T175512.137> Opening nnml server on archive+nnml+archive:sent-postings...done
> Sending...done

I got:

Sending...
Sending news via NewsServer using nntp...
20100916T094357.843> Opening nnml server on archive...
20100916T094357.844> Opening nnml server on archive...done
                                            ^^^^^^^
Wrote /home/yamaoka/News/archive/sent-news/12
Sending...done

Note that the server name appearing here should be the cadr of
gnus-message-archive-method, i.e. "archive".

> But I cannot enter the archive group (nnml+archive:sent-postings)
> anymore.  RET RET on it gives:

> 20100915T180005.759> Retrieving newsgroup: nnml+archive:sent-postings...
> 20100915T180006.431> Fetching headers for nnml+archive:sent-postings...
> 20100915T180006.433> nnml: Receiving headers... 2%
[...]
> 20100915T180006.479> nnml: Receiving headers... 99%
> 20100915T180006.480> nnml: Receiving headers...done
> 20100915T180006.481> Fetching headers for nnml+archive:sent-postings...done
[...]

This looks like the file
/home/horn/.gnus.d/News/archive/sent-postings/.overview is missing.
This may help:

M-x nnml-generate-nov-databases-directory RET
~/.gnus.d/News/archive/sent-postings RET

> And to make things even more strange, there are now several archive
> servers in the server buffer!

>      {nnml:archive} (opened)
>      {nnml:archive} (opened)
>      {nnml:archive+nnml+archive:sent-postings} (opened)
>      {nntp:Uni} (opened) (agent)
>      {nntp:Gmane} (opened) (agent)
>      {nntp:Eclipse} (opened) (agent)
[...]

IIUC the archive server should be only one.  How about trying
removal of useless servers?  To do that for example:

(let (archive)
  (while (setq archive (assoc "archive" gnus-server-alist))
    (setq gnus-server-alist (delq archive gnus-server-alist)))
  (push (cons "archive" gnus-message-archive-method)
	gnus-server-alist))

This should be done while Gnus is running.



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

* Re: Archive group broken since very recently
  2010-09-16  1:21 ` Katsumi Yamaoka
@ 2010-09-16 10:26   ` Tassilo Horn
  2010-09-16 18:00     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-16 10:26 UTC (permalink / raw)
  To: ding; +Cc: Katsumi Yamaoka

On Thursday 16 September 2010 03:21:49 Katsumi Yamaoka wrote:

> > archive+nnml+archive:sent-postings... 20100915T175512.137> Opening
> > nnml server on archive+nnml+archive:sent-postings...done
> > Sending...done
> 
> I got:
> 
> Sending...
> Sending news via NewsServer using nntp...
> 20100916T094357.843> Opening nnml server on archive...
> 20100916T094357.844> Opening nnml server on archive...done
>                                             ^^^^^^^
> Wrote /home/yamaoka/News/archive/sent-news/12
> Sending...done
> 
> Note that the server name appearing here should be the cadr of
> gnus-message-archive-method, i.e. "archive".

,----[ C-h v gnus-message-archive-method RET ]
| gnus-message-archive-method is a variable defined in `gnus.el'.
| Its value is 
| (nnml "archive"
| 	  (nnml-inhibit-expiry t)
| 	  (nnml-get-new-mail nil)
| 	  (nnml-directory "/home/horn/.gnus.d/News/archive")
| 	  (nnml-active-file "/home/horn/.gnus.d/News/archive/active"))
`----

Hm, the `cadr' is "archive" here, too.

> > But I cannot enter the archive group (nnml+archive:sent-postings)
> > anymore.  RET RET on it gives:
> 
> [...]
> 
> This looks like the file
> /home/horn/.gnus.d/News/archive/sent-postings/.overview is missing.

Nope, the file is there and looks correct (762 overview lines).

> This may help:
> 
> M-x nnml-generate-nov-databases-directory RET
> ~/.gnus.d/News/archive/sent-postings RET

I still can't enter the group.

> > And to make things even more strange, there are now several archive
> > servers in the server buffer!
> > 
> >      {nnml:archive} (opened)
> >      {nnml:archive} (opened)
> >      {nnml:archive+nnml+archive:sent-postings} (opened)
> >      {nntp:Uni} (opened) (agent)
> >      {nntp:Gmane} (opened) (agent)
> >      {nntp:Eclipse} (opened) (agent)
> 
> [...]
> 
> IIUC the archive server should be only one.

Hm, right now I have

     {nnml:archive} (opened)
     {nnml:archive+nnml+archive:sent-messages-2008} (opened)
     {nnml:archive+nnml+archive:sent-postings} (opened)
     {nntp:Uni} (opened) (agent)
     {nntp:Gmane} (opened) (agent)
     {nntp:Eclipse} (opened) (agent)

The archive server contains the groups sent-messages-2008 and
sent-postings.  It seems server 2 and 3 were created when I tried to
enter the respective groups...

>  How about trying removal of useless servers?  To do that for example:
> 
> (let (archive)
>   (while (setq archive (assoc "archive" gnus-server-alist))
>     (setq gnus-server-alist (delq archive gnus-server-alist)))
>   (push (cons "archive" gnus-message-archive-method)
> 	gnus-server-alist))
> 
> This should be done while Gnus is running.

Did that, and afterwards I had this:

,----[ C-h v gnus-server-alist RET ]
| gnus-server-alist is a variable defined in `gnus.el'.
| Its value is 
| (("archive" nnml "archive"
|   (nnml-inhibit-expiry t)
|   (nnml-get-new-mail nil)
|   (nnml-directory "/home/horn/.gnus.d/News/archive")
|   (nnml-active-file "/home/horn/.gnus.d/News/archive/active")))
`----

Killing the *Server* buffer and entering it again with ^ still will show
the two strange servers...

The I restarted gnus, and that's the initial value.  After startup,
*Server* only shows one archive.  Then I try entering sent-postings and
enter *Server* again, and boom, there's

  {nnml:archive+nnml+archive:sent-postings} (opened)

But the value of gnus-server-alist has not changed...

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-16 10:26   ` Tassilo Horn
@ 2010-09-16 18:00     ` Lars Magne Ingebrigtsen
  2010-09-16 19:03       ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-16 18:00 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> The I restarted gnus, and that's the initial value.  After startup,
> *Server* only shows one archive.  Then I try entering sent-postings and
> enter *Server* again, and boom, there's
>
>   {nnml:archive+nnml+archive:sent-postings} (opened)

The server buffer will list all servers that it thinks exist.  So the
question is why it thinks this server exists.  What does `G E' on the
sent-postings group say?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-16 18:00     ` Lars Magne Ingebrigtsen
@ 2010-09-16 19:03       ` Tassilo Horn
  2010-09-17  1:25         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-16 19:03 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Thursday 16 September 2010 20:00:59 Lars Magne Ingebrigtsen wrote:
> Tassilo Horn <tassilo@member.fsf.org> writes:
> > The I restarted gnus, and that's the initial value.  After startup,
> > *Server* only shows one archive.  Then I try entering sent-postings
> > and enter *Server* again, and boom, there's
> > 
> >   {nnml:archive+nnml+archive:sent-postings} (opened)
> 
> The server buffer will list all servers that it thinks exist.  So the
> question is why it thinks this server exists.  What does `G E' on the
> sent-postings group say?

It says:

--8<---------------cut here---------------start------------->8---
;;; Editing the group info for `nnml+archive:sent-postings'.
;; Type `C-c C-c' after you've finished editing.

("nnml+archive:sent-postings" 3
 ((1 . 762))
 ((seen
   (1 . 617)
   629
   (660 . 669)))
 (nnml "archive"
	   (nnml-inhibit-expiry t)
	   (nnml-get-new-mail nil)
	   (nnml-directory "~/.gnus.d/News/archive")
	   (nnml-active-file "~/.gnus.d/News/archive/active")))
--8<---------------cut here---------------end--------------->8---

Now I've also subscibet to the group
nnml+archive+nnml+archive:sent-postings:archive.sent-postings from that
weird server.  `G E' on that shows:

--8<---------------cut here---------------start------------->8---
;;; Editing the group info for `nnml+archive+nnml+archive:sent-
postings:archive.sent-postings'.
;; Type `C-c C-c' after you've finished editing.

("nnml+archive+nnml+archive:sent-postings:archive.sent-postings" 3 nil 
nil
 (nnml "archive+nnml+archive:sent-postings"
	   (nnml-address "archive")
	   (nnml-inhibit-expiry t)
	   (nnml-get-new-mail nil)
	   (nnml-directory "~/.gnus.d/News/archive")
	   (nnml-active-file "~/.gnus.d/News/archive/active")))
--8<---------------cut here---------------end--------------->8---

Oh, interesting.  When I try to enter that group, my *Server* buffer has
a new member:

  {nnml:archive+nnml+archive:sent-
postings+nnml+archive+nnml+archive:sent-postings:sent-postings:sent-
postings:archive.sent-postings} (opened)

;-)

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-16 19:03       ` Tassilo Horn
@ 2010-09-17  1:25         ` Lars Magne Ingebrigtsen
  2010-09-17  8:09           ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-17  1:25 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> ("nnml+archive:sent-postings" 3
>  ((1 . 762))
>  ((seen
>    (1 . 617)
>    629
>    (660 . 669)))
>  (nnml "archive"
> 	   (nnml-inhibit-expiry t)
> 	   (nnml-get-new-mail nil)
> 	   (nnml-directory "~/.gnus.d/News/archive")
> 	   (nnml-active-file "~/.gnus.d/News/archive/active")))

Looks normal...

What does

(gnus-server-to-method "archive")

say?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-17  1:25         ` Lars Magne Ingebrigtsen
@ 2010-09-17  8:09           ` Tassilo Horn
  2010-09-17 15:51             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-17  8:09 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Friday 17 September 2010 03:25:11 Lars Magne Ingebrigtsen wrote:

Hi Lars,

> What does
> 
> (gnus-server-to-method "archive")
> 
> say?

(nnml "archive"
      (nnml-inhibit-expiry t)
      (nnml-get-new-mail nil)
      (nnml-directory "/home/horn/.gnus.d/News/archive")
      (nnml-active-file "/home/horn/.gnus.d/News/archive/active"))

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-17  8:09           ` Tassilo Horn
@ 2010-09-17 15:51             ` Lars Magne Ingebrigtsen
  2010-09-17 18:40               ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-17 15:51 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

>> (gnus-server-to-method "archive")
>> 
>> say?
>
> (nnml "archive"
>       (nnml-inhibit-expiry t)
>       (nnml-get-new-mail nil)
>       (nnml-directory "/home/horn/.gnus.d/News/archive")
>       (nnml-active-file "/home/horn/.gnus.d/News/archive/active"))

Darn.  That looks correct, too.

I have no idea why this is happening.  Could you try to edebug your way
through the functions to try to determine what on earth is messing up
the method on group selection?  It'll be a slog -- I can't really
suggest any particular function to start with...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-17 15:51             ` Lars Magne Ingebrigtsen
@ 2010-09-17 18:40               ` Tassilo Horn
  2010-09-17 19:13                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-17 18:40 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Friday 17 September 2010 17:51:05 Lars Magne Ingebrigtsen wrote:
> Tassilo Horn <tassilo@member.fsf.org> writes:
> >> (gnus-server-to-method "archive")
> >> 
> >> say?
> > 
> > (nnml "archive"
> > 
> >       (nnml-inhibit-expiry t)
> >       (nnml-get-new-mail nil)
> >       (nnml-directory "/home/horn/.gnus.d/News/archive")
> >       (nnml-active-file "/home/horn/.gnus.d/News/archive/active"))
> 
> Darn.  That looks correct, too.
> 
> I have no idea why this is happening.  Could you try to edebug your
> way through the functions to try to determine what on earth is
> messing up the method on group selection?  It'll be a slog -- I
> can't really suggest any particular function to start with...

The problem is that in gnus-find-method-for-group a call like that is
made

--8<---------------cut here---------------start------------->8---
(gnus-server-extend-method  "nnml+archive:sent-postings"
  '(nnml "archive" 
         (nnml-inhibit-expiry t)
         (nnml-get-new-mail nil)
         (nnml-directory "~/.gnus.d/News/archive")
         (nnml-active-file "~/.gnus.d/News/archive/active")))
--8<---------------cut here---------------end--------------->8---

which returns

--8<---------------cut here---------------start------------->8---
(nnml "archive+nnml+archive:sent-postings"
      (nnml-address "archive")
      (nnml-inhibit-expiry t)
      (nnml-get-new-mail nil)
      (nnml-directory "~/.gnus.d/News/archive")
      (nnml-active-file "~/.gnus.d/News/archive/active"))
--8<---------------cut here---------------end--------------->8---

and is plain wrong...

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-17 18:40               ` Tassilo Horn
@ 2010-09-17 19:13                 ` Lars Magne Ingebrigtsen
  2010-09-17 19:17                   ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-17 19:13 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> which returns
> (nnml "archive+nnml+archive:sent-postings"
>       (nnml-address "archive")
>       (nnml-inhibit-expiry t)
>       (nnml-get-new-mail nil)
>       (nnml-directory "~/.gnus.d/News/archive")
>       (nnml-active-file "~/.gnus.d/News/archive/active"))
> and is plain wrong...

Yes.  But I see what's triggering this, perhaps: Is your method part of
`gnus-opened-servers'?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-17 19:13                 ` Lars Magne Ingebrigtsen
@ 2010-09-17 19:17                   ` Tassilo Horn
  2010-09-17 19:24                     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-17 19:17 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Friday 17 September 2010 21:13:28 Lars Magne Ingebrigtsen wrote:

> Yes.  But I see what's triggering this, perhaps: Is your method part
> of `gnus-opened-servers'?

Yes, it is.

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-17 19:17                   ` Tassilo Horn
@ 2010-09-17 19:24                     ` Lars Magne Ingebrigtsen
  2010-09-17 21:57                       ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-17 19:24 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

>> Yes.  But I see what's triggering this, perhaps: Is your method part
>> of `gnus-opened-servers'?
>
> Yes, it is.

Then I don't understand it after all.  Could you edebug further down and
see what makes it decide to extend the method instead of finding it via
`gnus-similar-server-opened'?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-17 19:24                     ` Lars Magne Ingebrigtsen
@ 2010-09-17 21:57                       ` Tassilo Horn
  2010-09-18 17:16                         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-09-17 21:57 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Friday 17 September 2010 21:24:38 Lars Magne Ingebrigtsen wrote:

> >> Yes.  But I see what's triggering this, perhaps: Is your method
> >> part of `gnus-opened-servers'?
> > 
> > Yes, it is.
> 
> Then I don't understand it after all.  Could you edebug further down
> and see what makes it decide to extend the method instead of finding
> it via `gnus-similar-server-opened'?

`gnus-similar-server-opened' returns t.  And because of that and the
fact that the `cddr' of method is non-nil, `gnus-server-extend-method'
drops to the else part of the if in `gnus-server-extend-method'.

method is

  (nnml "archive"
        (nnml-inhibit-expiry t)
        (nnml-get-new-mail nil)
        (nnml-directory "~/.gnus.d/News/archive")
        (nnml-active-file "~/.gnus.d/News/archive/active"))

when `gnus-similar-server-opened' is called.

,----[ C-h v gnus-opened-servers RET ]
| gnus-opened-servers is a variable defined in `gnus.el'.
| Its value is shown below.
| 
| Documentation:
| Not documented as a variable.
| 
| Value: 
| (((nnml "archive+nnml+archive:sent-messages-2008"
| 		(nnml-address "archive")
| 		(nnml-inhibit-expiry t)
| 		(nnml-get-new-mail nil)
| 		(nnml-directory "~/.gnus.d/News/archive")
| 		(nnml-active-file "~/.gnus.d/News/archive/active"))
|   ok)
|  ((nnml "archive+nnml+archive:sent-postings"
| 		(nnml-address "archive")
| 		(nnml-inhibit-expiry t)
| 		(nnml-get-new-mail nil)
| 		(nnml-directory "~/.gnus.d/News/archive")
| 		(nnml-active-file "~/.gnus.d/News/archive/active"))
|   ok)
|  ((nnml "archive"
| 		(nnml-inhibit-expiry t)
| 		(nnml-get-new-mail nil)
| 		(nnml-directory "~/.gnus.d/News/archive")
| 		(nnml-active-file "~/.gnus.d/News/archive/active"))
|   ok)
|  ((nnml "archive"
| 		(nnml-inhibit-expiry t)
| 		(nnml-get-new-mail nil)
| 		(nnml-directory "/home/horn/.gnus.d/News/archive")
| 		(nnml-active-file 
"/home/horn/.gnus.d/News/archive/active"))
|   ok)
|  ((nntp "Uni"
| 		(nntp-address "news.uni-koblenz.de"))
|   ok)
|  ((nntp "Gmane"
| 		(nntp-address "news.gmane.org"))
|   ok)
|  ((nntp "Eclipse"
| 		(nntp-address "news.eclipse.org"))
|   offline))
| 
| [back]
`----

Bye,
Tassilo



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

* Re: Archive group broken since very recently
  2010-09-17 21:57                       ` Tassilo Horn
@ 2010-09-18 17:16                         ` Lars Magne Ingebrigtsen
  2010-09-19  8:24                           ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-18 17:16 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> `gnus-similar-server-opened' returns t. 

[...]

> method is
>
>   (nnml "archive"
>         (nnml-inhibit-expiry t)
>         (nnml-get-new-mail nil)
>         (nnml-directory "~/.gnus.d/News/archive")
>         (nnml-active-file "~/.gnus.d/News/archive/active"))

[...]

> |  ((nnml "archive"
> | 		(nnml-inhibit-expiry t)
> | 		(nnml-get-new-mail nil)
> | 		(nnml-directory "~/.gnus.d/News/archive")
> | 		(nnml-active-file "~/.gnus.d/News/archive/active"))
> |   ok)
> |  ((nnml "archive"
> | 		(nnml-inhibit-expiry t)
> | 		(nnml-get-new-mail nil)
> | 		(nnml-directory "/home/horn/.gnus.d/News/archive")
> | 		(nnml-active-file "/home/horn/.gnus.d/News/archive/active"))

This must be the reason.  You have two nnml servers called "archive",
but their parameters aren't the same.  Therefore Gnus tries to make sure
they don't clobber each other by renaming one of them.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Archive group broken since very recently
  2010-09-18 17:16                         ` Lars Magne Ingebrigtsen
@ 2010-09-19  8:24                           ` Tassilo Horn
  0 siblings, 0 replies; 15+ messages in thread
From: Tassilo Horn @ 2010-09-19  8:24 UTC (permalink / raw)
  To: ding; +Cc: Lars Magne Ingebrigtsen

On Saturday 18 September 2010 19:16:39 Lars Magne Ingebrigtsen wrote:

> > |  ((nnml "archive"
> > | 		(nnml-inhibit-expiry t)
> > | 		(nnml-get-new-mail nil)
> > | 		(nnml-directory "~/.gnus.d/News/archive")
> > | 		(nnml-active-file "~/.gnus.d/News/archive/active"))
> > | 		
> > |   ok)
> > |  
> > |  ((nnml "archive"
> > | 		(nnml-inhibit-expiry t)
> > | 		(nnml-get-new-mail nil)
> > | 		(nnml-directory "/home/horn/.gnus.d/News/archive")
> > | 		(nnml-active-file 
"/home/horn/.gnus.d/News/archive/active"))
> 
> This must be the reason.  You have two nnml servers called "archive",
> but their parameters aren't the same.

Maybe the string definition of equal doesn't make too much sense for
files and directories...

> Therefore Gnus tries to make sure they don't clobber each other by
> renaming one of them.

Ok.  It turns out that I was able to get things working by deleting
anything using the paths with ~ from my .newsrc.eld.

Thanks for your help!
Tassilo



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

end of thread, other threads:[~2010-09-19  8:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 16:04 Archive group broken since very recently Tassilo Horn
2010-09-16  1:21 ` Katsumi Yamaoka
2010-09-16 10:26   ` Tassilo Horn
2010-09-16 18:00     ` Lars Magne Ingebrigtsen
2010-09-16 19:03       ` Tassilo Horn
2010-09-17  1:25         ` Lars Magne Ingebrigtsen
2010-09-17  8:09           ` Tassilo Horn
2010-09-17 15:51             ` Lars Magne Ingebrigtsen
2010-09-17 18:40               ` Tassilo Horn
2010-09-17 19:13                 ` Lars Magne Ingebrigtsen
2010-09-17 19:17                   ` Tassilo Horn
2010-09-17 19:24                     ` Lars Magne Ingebrigtsen
2010-09-17 21:57                       ` Tassilo Horn
2010-09-18 17:16                         ` Lars Magne Ingebrigtsen
2010-09-19  8:24                           ` Tassilo Horn

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