From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85286 Path: news.gmane.org!not-for-mail From: TSUCHIYA Masatoshi Newsgroups: gmane.emacs.gnus.general Subject: Re: Failed to open IMAP server Date: Mon, 17 Nov 2014 23:22:12 +0900 Message-ID: <8761edq54b.fsf@tsuchiya.vaj.namazu.org> References: <87fve6mcgy.fsf@tsuchiya.vaj.namazu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416234241 13875 80.91.229.3 (17 Nov 2014 14:24:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 14:24:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33530@lists.math.uh.edu Mon Nov 17 15:23:48 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqNDX-0001hk-D0 for ding-account@gmane.org; Mon, 17 Nov 2014 15:23:47 +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 1XqNCg-0003H1-Te; Mon, 17 Nov 2014 08:22:54 -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 1XqNCf-0003Gm-Gp for ding@lists.math.uh.edu; Mon, 17 Nov 2014 08:22:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XqNCa-0004qw-M2 for ding@lists.math.uh.edu; Mon, 17 Nov 2014 08:22:52 -0600 Original-Received: from vaj.namazu.org ([202.221.179.42]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XqNCY-0006cy-12 for ding@gnus.org; Mon, 17 Nov 2014 15:22:46 +0100 Original-Received: from vaj.namazu.org (vaj.namazu.org [202.221.179.42]) by vaj.namazu.org (Postfix) with ESMTP id A8AF8263CEC for ; Mon, 17 Nov 2014 23:22:41 +0900 (JST) In-Reply-To: <87fve6mcgy.fsf@tsuchiya.vaj.namazu.org> (TSUCHIYA Masatoshi's message of "Thu, 30 Oct 2014 13:02:37 +0900") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux) X-cite: xcite 1.56 Mail-Followup-To: ding@gnus.org X-Spam-Score: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85286 Archived-At: Hi, I resolved the following problem, caused by my using additional program. It defines an around advice of open-network-stream() to support SSH tunneling, and unfortunately the advice discards the 5th argument of open-network-stream(). I improved the advice to support the 5th argument, and succeeded connection. >> On Thu, 30 Oct 2014 13:02:37 +0900 >> tsuchiya@namazu.org (TSUCHIYA Masatoshi) said as follows: >I face a quite mysterious trouble and am seeking advices. >My using softwares are: > emacs-version => "24.3.1" > gnus-version => "Ma Gnus v0.12" >I have just simplified my configuration into: > (setq gnus-select-method '(nnimap "imap.example.net")) >However, Gnus failed to open the IMAP server. Its error message is: > Unable to open server nnimap+imap.example.net due to: Wrong type > argument: listp, # >I used edebug to investigate the cause of this trouble, and found that >open-network-stream() is called wihtout `parameters' argument. >In order to confirm my observation, I evaluated the following code and >tried re-connection. > (defadvice open-network-stream > (around check-parameters activate compile) > (unless parameters > (error "Unrecognizable error!!!")) > ad-do-it) >Gnus's error message changed into: > Unable to open server nnimap+imap.example.net due to: Unrecognizable > error!!! >I believe that this is an evidence of my observation. >However, nnimap-open-connection-1() calles open-network-stream() with >`parameters' argument, as you know. >I cannot understand my observation and cannot imagine its cause. >Any comments and suggestions? -- TSUCHIYA Masatoshi