From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/4278 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: bug fix? in sgnus 0.18 and xemacs 19.13 (possibly others) Date: Tue, 05 Dec 1995 13:05:03 -0800 Message-ID: <199512052105.AA162687504@chroma.ece.ucdavis.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145047 29075 80.91.224.250 (20 Oct 2002 20:17:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:17:27 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id NAA01925 for ; Tue, 5 Dec 1995 13:52:47 -0800 Original-Received: from chroma.ece.ucdavis.edu (hardaker@chroma.cipic.ucdavis.edu [128.120.67.31]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Tue, 5 Dec 1995 22:05:12 +0100 Original-Received: by chroma.ece.ucdavis.edu (1.37.109.16/Ultrix3.0-C/eecs 1.1) id AA162687504; Tue, 5 Dec 1995 13:05:04 -0800 Original-To: Lars Magne Ingebrigtsen X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7g vRgASrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/I M",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 X-Url: http://www.ece.ucdavis.edu/~hardaker Xref: main.gmane.org gmane.emacs.gnus.general:4278 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:4278 I'm not really sure why no one else has complained about this... Every time I quiet gnus (starting with version 0.16 or so) I get errors like: wrong type argument: number-or-marker-p, (4 . 1) and it dies in gnus-gnus-to-newsrc-format. Specifically, most groups have gnus-newsrc-alist entries that look something like: ("alt.sources" 4 ((1 . 5667)) nil nil nil) But a few of mine have entries like: ("gnu.emacs.sources" (4 . 1) ((1 . 3657)) Which is where the problem lies. Its the (4 . 1) list entry that is killing it. I'm not sure what the second number in that list is, but I'm assuming the first is the level (the desired feed to the ">" statement). So, I hacked a fix, which works: (Though not being a elisp or gnus expert, I'm sure there is probably another reason for my problem in the first place...) *************** *** 14820,14828 **** ;; Don't write foreign groups to .newsrc. (progn (insert (gnus-info-group info) ! (if (> (let ((infolevel (nth 1 info))) ! (if (listp infolevel) (car infolevel) ! infolevel)) gnus-level-subscribed) "!" ":")) (if (setq ranges (gnus-info-read info)) (progn --- 14820,14826 ---- ;; Don't write foreign groups to .newsrc. (progn (insert (gnus-info-group info) ! (if (> (nth 1 info) gnus-level-subscribed) "!" ":")) (if (setq ranges (gnus-info-read info)) (progn As an aside, why do topics take so long to fold/unfold? I'm talking like 5 seconds or so to do either operation? _____ Wes Hardaker / ___ \ Department of Electrical and Computer Engineering / / \//\ University of California at Davis __________________ \--/ /--\ Davis CA 95616 / Recycle! \ \//\___/ / (hardaker@ece.ucdavis.edu) / It's not too late! \ \_____/