From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68007 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.discuss,gmane.emacs.gnus.general Subject: Re: "No DNS server configuration found" when approving spam reports Date: Sun, 28 Dec 2008 15:03:54 +0100 Organization: Probably a good idea Message-ID: References: <8763l8l7y5.fsf@marauder.physik.uni-ulm.de> <87prjgjg5x.fsf@marauder.physik.uni-ulm.de> <877i5mkfb1.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1230473091 7943 80.91.229.12 (28 Dec 2008 14:04:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2008 14:04:51 +0000 (UTC) Cc: ding@gnus.org To: gmane-discuss@hawk.netfonds.no Original-X-From: gmane-discuss-bounces@hawk.netfonds.no Sun Dec 28 15:05:58 2008 Return-path: Envelope-to: gd-gmane-discuss@m.gmane.org Original-Received: from hawk.netfonds.no ([80.91.224.246]) by lo.gmane.org with esmtp (Exim 4.50) id 1LGwGw-0007yy-Dq for gd-gmane-discuss@m.gmane.org; Sun, 28 Dec 2008 15:05:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=hawk.netfonds.no) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1LGwFj-0005C7-00; Sun, 28 Dec 2008 15:04:23 +0100 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by hawk.netfonds.no with esmtp (Exim 3.36 #1 (Debian)) id 1LGwFe-0005C2-00 for ; Sun, 28 Dec 2008 15:04:18 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LGwFd-0006cG-1c for gmane-discuss@hawk.netfonds.no; Sun, 28 Dec 2008 14:04:17 +0000 Original-Received: from ti0064a340-0073.bb.online.no ([88.90.181.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Dec 2008 14:04:17 +0000 Original-Received: from sb by ti0064a340-0073.bb.online.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Dec 2008 14:04:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: gmane-discuss@hawk.netfonds.no Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ti0064a340-0073.bb.online.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:V9SoGuu0nu+wI/rUUEGE+D0CmIM= X-BeenThere: gmane-discuss@hawk.netfonds.no X-Mailman-Version: 2.1.5 Precedence: list List-Id: gmane-discuss.hawk.netfonds.no List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: gmane-discuss-bounces@hawk.netfonds.no Errors-To: gmane-discuss-bounces@hawk.netfonds.no Xref: news.gmane.org gmane.discuss:12090 gmane.emacs.gnus.general:68007 Archived-At: >>>>> Steinar Bang : >> The place the dns-query function fails, is in the call to >> dns-make-network-process, and in dns-make-network-process the place >> it fails is here >> `(let ((server ,server) >> when I press SPC when the cursor is placed after the closing >> parantheses on the above line. > Some more details: > - Before pressing space, the cursor is positioned over the quote ` > - After pressing space the cursor is positioned over the ) > - The minibuffer displays the text "Result: (car dns-servers)" > - After the next space the cursor is positioned on top of the > second-to-last closing parantheses in this line > (open-network-stream "dns" (current-buffer) server "domain"))))) > and the minibuffer displays: > Result: (let ((server (car dns-servers)) (coding-system-for-read (quote binary)) (coding-system-for-write (quote binary))) (if (fboundp (quote make-network-process)) (make-network-process :name "dns" :coding (quote binary) :buffer (current-buffer) :host server :service "domain" :type (quote datagram)) (open-network-stream "dns" (current-buffer) server "domain"))) When I run just (dns-make-network-process "10.0.0.138") in the *scratch* buffer, I get the following stack trace: Debugger entered--Lisp error: (error "Unsupported connection type") make-network-process(:name "dns" :coding binary :buffer # :host "10.0.0.138" :service "domain" :type datagram) (if (fboundp (quote make-network-process)) (make-network-process :name "dns" :coding (quote binary) :buffer (current-buffer) :host server :service "domain" :type (quote datagram)) (open-network-stream "dns" (current-buffer) server "domain")) (let ((server "10.0.0.138") (coding-system-for-read ...) (coding-system-for-write ...)) (if (fboundp ...) (make-network-process :name "dns" :coding ... :buffer ... :host server :service "domain" :type ...) (open-network-stream "dns" ... server "domain"))) (dns-make-network-process "10.0.0.138") eval((dns-make-network-process "10.0.0.138")) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp) recursive-edit() byte-code("჆ऀ䀀윀=Ħ No :type datagram in emacs on Windows...?