Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Jochen Küpper" <jochen-+It19tn3Rl9sbm7dSapR3bNAH6kLmebB@public.gmane.org>
Subject: agent categories
Date: Sun, 13 Jul 2003 21:28:02 +0200	[thread overview]
Message-ID: <863cha2pml.fsf@doze.rijnh.nl> (raw)

I cannot create any agent categories via the customization interface,
and don't know how to do it by hand. (If someone tells me how to do
the latter, that would be fine:)

Having problems with my agent categories I thought I delete the
.../agent/lib/categories file and start anew. So I did delete the
file, fire up Gnus, press J c to get the category list, where default
is already provided. So I press 'e' to edit it, then just say done and
get the following backtrace:
,----
| Debugger entered--Lisp error: (wrong-type-argument sequencep ignore)
|   gnus-category-insert-line((default (agent-groups . ignore) (agent-predicate . short)))
|   gnus-category-prepare()
|   gnus-category-list()
|   (progn (switch-to-buffer (get-buffer gnus-category-buffer)) (gnus-category-list))
|   (if (get-buffer gnus-category-buffer) (progn (switch-to-buffer ...) (gnus-category-list)))
|   (when (get-buffer gnus-category-buffer) (switch-to-buffer (get-buffer gnus-category-buffer)) (gnus-category-list))
|   (lambda (&rest ignore) (let* (... ...) (while widgets ...)) (gnus-category-write) (gnus-kill-buffer (current-buffer)) (when (get-buffer gnus-category-buffer) (switch-to-buffer ...) (gnus-category-list)))((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) (push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-apply((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) :notify (push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-item-action((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-apply((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) :action nil)
|   widget-apply-action((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-button-press(54)
| * call-interactively(widget-button-press)
|   recursive-edit()
|   byte-code("Æ\b!ˆÇ ˆÈ	!ˆ\nƒ?
|   debug(error (wrong-type-argument listp complete))
|   gnus-function-implies-unread-1(complete)
|   gnus-predicate-implies-unread(complete)
|   gnus-agent-fetch-headers("nntp+DFN:gnu.emacs.gnus")
|   gnus-agent-fetch-group-1("nntp+DFN:gnu.emacs.gnus" (nntp "DFN" (nntp-address "news.cis.dfn.de")))
|   gnus-agent-fetch-session()
|   call-interactively(gnus-agent-fetch-session)
`----


Looking around I cannot really figure out what the file should look
like, but I did try the following by hand
,----[.../agent/lib/categories]
| ((default short nil nil) (complete true nil nil))
`----
which comes up with an error when I try to fetch (J s):
,----
|   gnus-function-implies-unread-1(complete)
|   gnus-predicate-implies-unread(complete)
|   gnus-agent-fetch-headers("nntp+DFN:gnu.emacs.gnus")
|   gnus-agent-fetch-group-1("nntp+DFN:gnu.emacs.gnus" (nntp "DFN" (nntp-address "news.cis.dfn.de")))
|   gnus-agent-fetch-session()
| * call-interactively(gnus-agent-fetch-session)
|   recursive-edit()
|   byte-code("Æ\b!ˆÇ ˆÈ	!ˆ\nƒ?
|   debug(error (wrong-type-argument sequencep ignore))
|   gnus-category-insert-line((default (agent-groups . ignore) (agent-predicate . short)))
|   gnus-category-prepare()
|   gnus-category-list()
|   (progn (switch-to-buffer (get-buffer gnus-category-buffer)) (gnus-category-list))
|   (if (get-buffer gnus-category-buffer) (progn (switch-to-buffer ...) (gnus-category-list)))
|   (when (get-buffer gnus-category-buffer) (switch-to-buffer (get-buffer gnus-category-buffer)) (gnus-category-list))
|   (lambda (&rest ignore) (let* (... ...) (while widgets ...)) (gnus-category-write) (gnus-kill-buffer (current-buffer)) (when (get-buffer gnus-category-buffer) (switch-to-buffer ...) (gnus-category-list)))((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) (push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-apply((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) :notify (push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-item-action((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-apply((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) :action nil)
|   widget-apply-action((push-button :args nil :value "Done" :notify (lambda (&rest ignore) (let* ... ...) (gnus-category-write) (gnus-kill-buffer ...) (when ... ... ...)) :button-overlay #<overlay in no buffer> :from #<marker (before-insertion) in no buffer> :to #<marker in no buffer>) nil)
|   widget-button-press(54)
| * call-interactively(widget-button-press)
|   recursive-edit()
|   byte-code("Æ\b!ˆÇ ˆÈ	!ˆ\nƒ?
|   debug(error (wrong-type-argument listp complete))
|   gnus-function-implies-unread-1(complete)
|   gnus-predicate-implies-unread(complete)
|   gnus-agent-fetch-headers("nntp+DFN:gnu.emacs.gnus")
|   gnus-agent-fetch-group-1("nntp+DFN:gnu.emacs.gnus" (nntp "DFN" (nntp-address "news.cis.dfn.de")))
|   gnus-agent-fetch-session()
|   call-interactively(gnus-agent-fetch-session)
`----

I am using Emacs 21.2.1 and Gnus 5.10.3 on cygwin.

I am almost sure it's me, but what am I doing wrong?

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        Sex, drugs and rock-n-roll


                 reply	other threads:[~2003-07-13 19:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=863cha2pml.fsf@doze.rijnh.nl \
    --to=jochen-+it19tn3rl9sbm7dsapr3bnah6klmebb@public.gmane.org \
    --cc=jochen-W2i0oK7yYu0+t3nig+EZI7NAH6kLmebB@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).