From: TSUCHIYA Masatoshi <tsuchiya@namazu.org>
To: ding@gnus.org
Subject: Re: Failed to open IMAP server
Date: Mon, 17 Nov 2014 23:22:12 +0900 [thread overview]
Message-ID: <8761edq54b.fsf@tsuchiya.vaj.namazu.org> (raw)
In-Reply-To: <87fve6mcgy.fsf@tsuchiya.vaj.namazu.org> (TSUCHIYA Masatoshi's message of "Thu, 30 Oct 2014 13:02:37 +0900")
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, #<process *nnimap*>
>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
prev parent reply other threads:[~2014-11-17 14:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 4:02 TSUCHIYA Masatoshi
2014-10-30 5:21 ` Katsumi Yamaoka
2014-10-30 5:36 ` Katsumi Yamaoka
2014-10-30 5:59 ` TSUCHIYA Masatoshi
2014-11-17 14:22 ` TSUCHIYA Masatoshi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761edq54b.fsf@tsuchiya.vaj.namazu.org \
--to=tsuchiya@namazu.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).