Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with NoCeM
@ 1997-01-20  6:45 Baba Z Buehler
  1997-01-20 20:40 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Baba Z Buehler @ 1997-01-20  6:45 UTC (permalink / raw)



I've been trying to get NoCeM working, and I've found that it doesn't (at least
for me).  I poked around in gnus-nocem.el to try to track down the problem, and
I've got it down to this section of gnus-nocem-scan-groups...

	  ;; Ok, there are new articles in this group, se we fetch the
	  ;; headers.
	  (save-excursion
	    (let ((dependencies (make-vector 10 nil))
		  headers header)
	      (nnheader-temp-write nil
		(setq headers
		      (if (eq 'nov
			      (gnus-retrieve-headers 
			       (setq articles
				     (gnus-uncompress-range
				      (cons 
				       (if active (1+ (cdr active))
					 (car gactive))
				       (cdr gactive))))
			       group))
			  (gnus-get-newsgroup-headers-xover 
			   articles nil dependencies)
			(gnus-get-newsgroup-headers dependencies)))
		(while (setq header (pop headers))


I can watch _gnus-retrieve-headers_ do its thing getting stuff from my NNTP
server, but _headers_ winds up set to _nil_ after its all evaluated, so it
never evaluates any headers.  Unfortunately this has exceeded my knowledge of
the Gnus internals.

Is this really a problem or do I have something else set wrong somewhere?

Thanks,
--
# Baba Z Buehler - 'Hackito Ergo Sum'
# Beckman Institute Systems Services, Urbana Illinois
#
#  "a well nobody dug filled with no water
#   ripples and a shapeless weightless man drinks" -- Ikkyu
#
# PGP public key on WWW homepage and key servers (key id: C13D8EE1)
# WWW: http://www.beckman.uiuc.edu/~baba/


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

* Re: Problem with NoCeM
  1997-01-20  6:45 Problem with NoCeM Baba Z Buehler
@ 1997-01-20 20:40 ` Lars Magne Ingebrigtsen
  1997-01-21  1:48   ` Baba Z Buehler
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-01-20 20:40 UTC (permalink / raw)


Baba Z Buehler <baba@beckman.uiuc.edu> writes:

> I can watch _gnus-retrieve-headers_ do its thing getting stuff from my NNTP
> server, but _headers_ winds up set to _nil_ after its all evaluated, so it
> never evaluates any headers.

Hm...  Could you look through `gnus-get-newsgroup-headers-xover' (or
`gnus-get-newsgroup-headers', depending on which gets called) and see
what goes on there?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


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

* Re: Problem with NoCeM
  1997-01-20 20:40 ` Lars Magne Ingebrigtsen
@ 1997-01-21  1:48   ` Baba Z Buehler
  0 siblings, 0 replies; 3+ messages in thread
From: Baba Z Buehler @ 1997-01-21  1:48 UTC (permalink / raw)
  Cc: ding

Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:

> Hm...  Could you look through `gnus-get-newsgroup-headers-xover' (or
> `gnus-get-newsgroup-headers', depending on which gets called) and see
> what goes on there?

Ok, here's the culprit.  If I reverse this patch from rgnus-0.81-0.82.diff
it works.  In the 0.82 version `gnus-get-newsgroup-headers-xover' always
seems to return `nil'.


***************
*** 4398,4411 ****
        ;; article may not have been generated yet, so this may fail.
        ;; We work around this problem by retrieving the last few
        ;; headers using HEAD.
!       (if (not sequence)
!         (nreverse headers)
!       (let ((gnus-nov-is-evil t)
!             (nntp-nov-is-evil t))
!         (nconc
!          (nreverse headers)
!          (when (gnus-retrieve-headers sequence group)
!            (gnus-get-newsgroup-headers))))))))
  
  (defun gnus-article-get-xrefs ()
    "Fill in the Xref value in `gnus-current-headers', if necessary.
--- 4399,4413 ----
        ;; article may not have been generated yet, so this may fail.
        ;; We work around this problem by retrieving the last few
        ;; headers using HEAD.
!       (when also-fetch-heads
!       (if (not sequence)
!           (nreverse headers)
!         (let ((gnus-nov-is-evil t)
!               (nntp-nov-is-evil t))
!           (nconc
!            (nreverse headers)
!            (when (gnus-retrieve-headers sequence group)
!              (gnus-get-newsgroup-headers)))))))))
  
  (defun gnus-article-get-xrefs ()
    "Fill in the Xref value in `gnus-current-headers', if necessary.

--
# Baba Z Buehler - 'Hackito Ergo Sum'
# Beckman Institute Systems Services, Urbana Illinois
#
#  "Either I'm dead and I've done everything that I want,
#   or I'm still alive and there's nothing I want to do." -- TMBG
#
# PGP public key on WWW homepage and key servers (key id: C13D8EE1)
# WWW: http://www.beckman.uiuc.edu/~baba/


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

end of thread, other threads:[~1997-01-21  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-20  6:45 Problem with NoCeM Baba Z Buehler
1997-01-20 20:40 ` Lars Magne Ingebrigtsen
1997-01-21  1:48   ` Baba Z Buehler

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