From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53969 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: query-dns in dns.el fails on an empty buffer (was: Problem with (spam) splitting) Date: Mon, 15 Sep 2003 14:40:12 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nk789evzn.fsf_-_@lockgroove.bwh.harvard.edu> References: <4noexslanp.fsf@lockgroove.bwh.harvard.edu> <4nr82mjamm.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063651393 438 80.91.224.253 (15 Sep 2003 18:43:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2003 18:43:13 +0000 (UTC) Cc: Ding Mailing List Original-X-From: ding-owner+M2509@lists.math.uh.edu Mon Sep 15 20:43:11 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yyJb-0005xW-00 for ; Mon, 15 Sep 2003 20:43:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19yyHO-0006aG-00; Mon, 15 Sep 2003 13:40:54 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19yyHG-0006a8-00 for ding@lists.math.uh.edu; Mon, 15 Sep 2003 13:40:46 -0500 Original-Received: (qmail 79008 invoked by alias); 15 Sep 2003 18:40:45 -0000 Original-Received: (qmail 79003 invoked from network); 15 Sep 2003 18:40:45 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by sclp3.sclp.com with SMTP; 15 Sep 2003 18:40:45 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h8FIeD719122 for ; Mon, 15 Sep 2003 14:40:13 -0400 (EDT) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h8FIeCi29259; Mon, 15 Sep 2003 14:40:12 -0400 (EDT) Original-Newsgroups: gnu.emacs.gnus 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.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:Ba/reFUpj9auYy/I+UZfZjMS/pg= Mail-Followup-To: Ding Mailing List In-Reply-To: (Johan =?iso-8859-1?q?Bockg=E5rd's?= message of "Sun, 14 Sep 2003 00:42:32 +0200") Posted-To: gnu.emacs.gnus Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53969 The following message is a courtesy copy of an article that has been posted to gnu.emacs.gnus as well. On Sun, 14 Sep 2003, bojohan+news@dd.chalmers.se wrote: > Ted Zlatanov writes: > >> If you get an error there, definitely forward it as well. > > Function query-dns, line 345 in dns.el, fails on an empty buffer. > > Debugger entered--Lisp error: (args-out-of-range 1 3) > delete-region(1 3) [...] > query-dns("156.171.131.145.bl.spamcop.net") I see where the problem happened for you, though it does not happen for me. First of all, try spam-use-dig and see if that fixes your problem. I don't maintain dns.el so I don't know exactly what's the cause of your problem. I think the real problem is that no values returned from DNS; any patch I make will probably just mask the problem. Maybe someone on the ding list or this newsgroup will know? Ted