Gnus development mailing list
 help / color / mirror / Atom feed
* Backtrace on agent fetching
@ 2003-03-04 10:37 Kai Großjohann
  2003-03-04 13:11 ` Kevin Greiner
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2003-03-04 10:37 UTC (permalink / raw)


I got a backtrace on agent fetching:

Debugger entered--Lisp error: (wrong-type-argument listp #[nil "À ?" [gnus-agent-read-p] 1])
  gnus-function-implies-unread-1(#[nil "À ?" [gnus-agent-read-p] 1])
  gnus-predicate-implies-unread((not read))
  gnus-agent-fetch-headers("nntp+gmane:gmane.comp.db.dbworld")
  gnus-agent-fetch-group-1("nntp+gmane:gmane.comp.db.dbworld" (nntp "gmane" (nntp-address "news.gmane.org")))
  gnus-agent-fetch-session()
  call-interactively(gnus-agent-fetch-session)

I applied the following patch to make it go away.  I am, however,
quite unsure if this was the right thing to do.

Does anyone know what's the right thing to do?

Index: lisp/gnus-agent.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-agent.el,v
retrieving revision 6.151
diff -u -r6.151 gnus-agent.el
--- lisp/gnus-agent.el	4 Mar 2003 01:43:59 -0000	6.151
+++ lisp/gnus-agent.el	4 Mar 2003 10:55:59 -0000
@@ -2344,7 +2344,7 @@
          nil)
         ((not function)
          nil)
-        ((symbolp function)
+        ((gnus-functionp function)
          'ignore)
         ((memq (car function) '(or and not))
          (apply (car function)

-- 
A preposition is not a good thing to end a sentence with.



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

* Re: Backtrace on agent fetching
  2003-03-04 10:37 Backtrace on agent fetching Kai Großjohann
@ 2003-03-04 13:11 ` Kevin Greiner
  2003-03-04 13:31   ` Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Greiner @ 2003-03-04 13:11 UTC (permalink / raw)


kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> I got a backtrace on agent fetching:
>
> Debugger entered--Lisp error: (wrong-type-argument listp #[nil "À ?" [gnus-agent-read-p] 1])
>   gnus-function-implies-unread-1(#[nil "À ?" [gnus-agent-read-p] 1])
>   gnus-predicate-implies-unread((not read))
>   gnus-agent-fetch-headers("nntp+gmane:gmane.comp.db.dbworld")
>   gnus-agent-fetch-group-1("nntp+gmane:gmane.comp.db.dbworld" (nntp "gmane" (nntp-address "news.gmane.org")))
>   gnus-agent-fetch-session()
>   call-interactively(gnus-agent-fetch-session)
>
> I applied the following patch to make it go away.  I am, however,
> quite unsure if this was the right thing to do.
>
> Does anyone know what's the right thing to do?
>
> Index: lisp/gnus-agent.el
> ===================================================================
> RCS file: /usr/local/cvsroot/gnus/lisp/gnus-agent.el,v
> retrieving revision 6.151
> diff -u -r6.151 gnus-agent.el
> --- lisp/gnus-agent.el	4 Mar 2003 01:43:59 -0000	6.151
> +++ lisp/gnus-agent.el	4 Mar 2003 10:55:59 -0000
> @@ -2344,7 +2344,7 @@
>           nil)
>          ((not function)
>           nil)
> -        ((symbolp function)
> +        ((gnus-functionp function)
>           'ignore)
>          ((memq (car function) '(or and not))
>           (apply (car function)
>

We may need both to handle code being interpreted versus compiled.  I
going to be off-line all day, if you have something that works, please
check it in.

Thanks,
Kevin



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

* Re: Backtrace on agent fetching
  2003-03-04 13:11 ` Kevin Greiner
@ 2003-03-04 13:31   ` Kai Großjohann
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-03-04 13:31 UTC (permalink / raw)


Kevin Greiner <kgreiner@xpediantsolutions.com> writes:

> We may need both to handle code being interpreted versus compiled.  I
> going to be off-line all day, if you have something that works, please
> check it in.

gnus-functionp handles both.  So I'll commit this.  Thanks for your
heads-up.
-- 
A preposition is not a good thing to end a sentence with.



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

end of thread, other threads:[~2003-03-04 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04 10:37 Backtrace on agent fetching Kai Großjohann
2003-03-04 13:11 ` Kevin Greiner
2003-03-04 13:31   ` 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).