From: "Christian Nybø" <s911254@stud.nhh.no>
Subject: gnus-group-category -- explanation wanted
Date: 06 May 1999 16:37:03 +0200 [thread overview]
Message-ID: <4yzp3ie034.fsf@smtp.nhh.no> (raw)
I've got this recurring problem with gnus-group-category.
I've tried to understand the following snippet from gnus-agent.el, the
comments are mine:
(defun gnus-group-category (group) ; group is a string like
; "nnml+private:list.xemacs-beta"
"Return the category GROUP belongs to."
(unless gnus-category-group-cache ; when gnus is started this
; is nil
(setq gnus-category-group-cache
(gnus-make-hashtable 1000)) ; generates a hashtable with
; empty slots
(let ((cs gnus-category-alist) ; cs is
; '((mail true nil nnml:)
; (default short nil nil))
groups cat)
(while (setq cat (pop cs)) ; cat is '(mail true nil nnml:)
(setq groups (cadddr cat)) ; groups is the atom nnml:
(while groups
(gnus-sethash ; args should be
; STRING VALUE HASHTABLE
(pop groups) ; implies (pop 'nnml:),
; which does not work
cat gnus-category-group-cache)))))
(or (gnus-gethash group gnus-category-group-cache)
(assq 'default gnus-category-alist)))
Could someone please explain how (pop 'nnml:) possibly could return a
string?
my versions:
XEmacs 21.2 "Aphrodite" [Lucid] (mips-sgi-irix6.5) of Sat Feb 27 1999
on sgichr
Pterodactyl Gnus v0.84
thanks,
--
chr
next reply other threads:[~1999-05-06 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-06 14:37 Christian Nybø [this message]
1999-06-12 23:08 ` Lars Magne Ingebrigtsen
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=4yzp3ie034.fsf@smtp.nhh.no \
--to=s911254@stud.nhh.no \
/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).