From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2759 Path: news.gmane.org!not-for-mail From: Sriram Karra Newsgroups: gmane.emacs.gnus.user Subject: Re: Trouble with nnir.el ("Invalid function ...") Date: Wed, 23 Jul 2003 13:04:04 +0530 Organization: The Klingon High Council Message-ID: References: <84znj7q8u0.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669075 16233 80.91.229.2 (31 Jan 2006 00:57:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:57:55 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:11 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Mail-Copies-To: nobody X-Attribution: karra User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2.95 (usg-unix-v) Cancel-Lock: sha1:WnCR7Wm5DVy+D4+qSobJ5a1vM9U= Cache-Post-Path: sj-nntpcache-3!unknown@desh.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2899 Original-Lines: 48 X-Gnus-Article-Number: 2899 Tue Jan 17 17:31:11 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2759 Archived-At: Thanks for your reply, Kai. kai.grossjohann@gmx.net (Kai Großjohann) writes: > Sriram Karra writes: > > > Such errors often happen when you use Emacs to byte-compile the file > but then use XEmacs to run it, or vice versa. What happens when you > delete the nnir.elc file? > I get the following error. > (Even if my guess was wrong, deleting the *.elc file will lead to a > better backtrace with more information. Please do M-x > toggle-debug-on-error RET, then reproduce the error, to produce such > a backtrace. Post it here.) /---- | Debugger entered--Lisp error: (wrong-type-argument arrayp nil) | aset(nil 0 1) | (mail-header-set-number novitem idx) | (while (not (null artlist)) (setq art (car artlist)) (or (numberp art) (nnheader-report ... "nnir-retrieve-headers doesn't grok message ids: %s" art)) (setq artitem (nnir-artlist-article nnir-artlist art)) (setq artrsv (nnir-artitem-rsv artitem)) (setq artfullgroup (nnir-artitem-group artitem)) (setq artno (nnir-artitem-number artitem)) (setq artgroup (gnus-group-real-name artfullgroup)) (setq server (nnir-group-server artfullgroup)) (set-buffer nntp-server-buffer) (nnir-possibly-change-server server) (case (setq foo ...) (nov ... ... ...) (headers ... ... ...) (t ...)) (mail-header-set-number novitem idx) (mail-header-set-from novitem (mail-header-from novitem)) (mail-header-set-subject novitem (format "[%d: %s/%d] %s" artrsv artgroup artno ...)) (push novitem novdata) (setq artlist (cdr artlist)) (setq idx (1+ idx))) | (let ((artlist ...) (idx 1) (art nil) (artitem nil) (artgroup nil) (artno nil) (artrsv nil) (artfullgroup nil) (novitem nil) (novdata nil) (foo nil) server) (while (not ...) (setq art ...) (or ... ...) (setq artitem ...) (setq artrsv ...) (setq artfullgroup ...) (setq artno ...) (setq artgroup ...) (setq server ...) (set-buffer nntp-server-buffer) (nnir-possibly-change-server server) (case ... ... ... ...) (mail-header-set-number novitem idx) (mail-header-set-from novitem ...) (mail-header-set-subject novitem ...) (push novitem novdata) (setq artlist ...) (setq idx ...)) (setq novdata (nreverse novdata)) (set-buffer nntp-server-buffer) (erase-buffer) (mapcar (quote nnheader-insert-nov) novdata) (quote nov)) | (save-excursion (let (... ... ... ... ... ... ... ... ... ... ... server) (while ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (setq novdata ...) (set-buffer nntp-server-buffer) (erase-buffer) (mapcar ... novdata) (quote nov))) | nnir-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "((query . \"barach\"))" "-ephemeral" nil) | gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:((query . \"barach\"))" nil) | gnus-cache-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:((query . \"barach\"))" nil) | gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:((query . \"barach\"))" nil) | gnus-fetch-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...)) | gnus-select-newsgroup("nnir:((query . \"barach\"))" t nil) | gnus-summary-read-group-1("nnir:((query . \"barach\"))" t t nil nil nil) | gnus-summary-read-group("nnir:((query . \"barach\"))" t t nil nil nil nil) | gnus-group-read-group(t t "nnir:((query . \"barach\"))" nil) | byte-code(" Ælj\f$*…| gnus-group-read-ephemeral-group("nnir:((query . \"barach\"))" (nnir "") t (# . group) nil) | (let ((parms nil)) (if extra-parms (setq parms ...) (setq parms ...)) (gnus-group-read-ephemeral-group (concat "nnir:" ...) (quote ...) t (cons ... gnus-current-window-configuration) nil)) | gnus-group-make-nnir-group(nil "barach") | call-interactively(gnus-group-make-nnir-group) \---- > -- > ~/.signature -- Well, all's well that ends.