From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67897 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss-generate-download-script wrong-type-argument Date: Fri, 12 Dec 2008 15:49:23 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86bpvhqd24.fsf@lifelogs.com> References: <8763lqjifw.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229118632 25331 80.91.229.12 (12 Dec 2008 21:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2008 21:50:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16343@lists.math.uh.edu Fri Dec 12 22:51:36 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LBFuu-0007Qo-Od for ding-account@gmane.org; Fri, 12 Dec 2008 22:51:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LBFtf-0002Ee-Rc; Fri, 12 Dec 2008 15:50:07 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LBFte-0002ES-LK for ding@lists.math.uh.edu; Fri, 12 Dec 2008 15:50:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LBFtb-0004Wl-UT for ding@lists.math.uh.edu; Fri, 12 Dec 2008 15:50:06 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LBFto-00009Z-00 for ; Fri, 12 Dec 2008 22:50:16 +0100 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LBFtb-0007cQ-0J for ding@gnus.org; Fri, 12 Dec 2008 21:50:03 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 21:50:02 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2008 21:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:STDO/SaYgiqskhjFfSHSrqRMJAI= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67897 Archived-At: On Fri, 12 Dec 2008 09:22:43 +0800 jidanni@jidanni.org wrote: j> This file j> /home/jidanni/.emacs_: j> -rw-r--r-- 1 jidanni 44872 2008-02-13 10:17 nnrss.el j> caused: j> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) j> insert("$WGET -q -O \"$RSSDIR\"/'" "DreamHostDiscussion Board POSTS.xml" "' '" nil "'\n") j> (let ((url ...)) (insert "$WGET -q -O \"$RSSDIR\"/'" (nnrss-translate-file-chars ...) "' '" url "'\n")) j> (while --cl-dolist-temp-- (setq elem (car --cl-dolist-temp--)) (let (...) (insert "$WGET -q -O \"$RSSDIR\"/'" ... "' '" url "'\n")) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) j> (let ((--cl-dolist-temp-- nnrss-server-data) elem) (while --cl-dolist-temp-- (setq elem ...) (let ... ...) (setq --cl-dolist-temp-- ...)) nil) j> (catch (quote --cl-block-nil--) (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil)) j> (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) j> (block nil (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil)) j> (dolist (elem nnrss-server-data) (let (...) (insert "$WGET -q -O \"$RSSDIR\"/'" ... "' '" url "'\n"))) j> nnrss-generate-download-script() j> eval((nnrss-generate-download-script)) j> repeat-complex-command(1) j> call-interactively(repeat-complex-command) In the function it turns out the URL is nil when it's to be inserted, and it comes from nnrss-group-alist. nnrss-group-alist is defined by you, usually (seems like something DreamHost-related from the file name). Ted