Gnus development mailing list
 help / color / mirror / Atom feed
* [Q] what does this do ??
@ 2005-07-27  8:35 Didier Verna
  2005-08-03 20:56 ` Jesper Harder
  2006-04-14  7:06 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Didier Verna @ 2005-07-27  8:35 UTC (permalink / raw)



        Hi !

There is a part that I fail to understand in nnml-generate-nov-database-1
(when the group is empty):

      (if (not files)
	  (let* ((group (nnheader-file-to-group
			 (directory-file-name dir) nnml-directory))
		 (info (cadr (assoc group nnml-group-alist))))
	    (when info
	      (setcar info (1+ (cdr info)))))


Can anyone explain the purpose of this ??


Thanks.

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



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

* Re: [Q] what does this do ??
  2005-07-27  8:35 [Q] what does this do ?? Didier Verna
@ 2005-08-03 20:56 ` Jesper Harder
  2006-04-14  7:06 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Jesper Harder @ 2005-08-03 20:56 UTC (permalink / raw)


Didier Verna <didier@lrde.epita.fr> writes:

> There is a part that I fail to understand in nnml-generate-nov-database-1
> (when the group is empty):
>
>       (if (not files)
> 	  (let* ((group (nnheader-file-to-group
> 			 (directory-file-name dir) nnml-directory))
> 		 (info (cadr (assoc group nnml-group-alist))))
> 	    (when info
> 	      (setcar info (1+ (cdr info)))))
>
> Can anyone explain the purpose of this ??

As far as I can tell, it does nothing.



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

* Re: [Q] what does this do ??
  2005-07-27  8:35 [Q] what does this do ?? Didier Verna
  2005-08-03 20:56 ` Jesper Harder
@ 2006-04-14  7:06 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-14  7:06 UTC (permalink / raw)


Didier Verna <didier@lrde.epita.fr> writes:

> There is a part that I fail to understand in nnml-generate-nov-database-1
> (when the group is empty):
>
>       (if (not files)
> 	  (let* ((group (nnheader-file-to-group
> 			 (directory-file-name dir) nnml-directory))
> 		 (info (cadr (assoc group nnml-group-alist))))
> 	    (when info
> 	      (setcar info (1+ (cdr info)))))
>
> Can anyone explain the purpose of this ??

Uhm...  if the group is empty, but there's an entry in the
`nnml-group-alist', then this sets the entry to be `(45 . 44)'.  Which
means "empty".  (The highest number being lower than the highest, if
you get my drift.)

Unless I'm misreading.

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




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

end of thread, other threads:[~2006-04-14  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-27  8:35 [Q] what does this do ?? Didier Verna
2005-08-03 20:56 ` Jesper Harder
2006-04-14  7:06 ` Lars Magne Ingebrigtsen

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