GNU bug report logs - #20602
nnimap-address not passed to nnimap-open-server anymore

Previous Next

Packages: gnus, emacs;

Reported by: Reiner Steib <reiner.steib <at> gmx.de>

Date: Mon, 18 May 2015 15:45:03 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20602 in the body.
You can then email your comments to 20602 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#20602; Package gnus. (Mon, 18 May 2015 15:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reiner Steib <reiner.steib <at> gmx.de>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Mon, 18 May 2015 15:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reiner Steib <reiner.steib <at> gmx.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: nnimap-address not passed to nnimap-open-server anymore
Date: Mon, 18 May 2015 17:44:06 +0200
[Message part 1 (text/plain, inline)]
Hi,

some change in the Gnus IMAP code between GNU Emacs 24.3.1 and Ma Gnus
v0.14 (from git, updated on 2015-05-13) broke my setup.

[ Ma Gnus v0.14
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on toyol, modified by Debian ]

I add my IMAP providers as follows:

(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "selname"
		      (nnimap-address "imap.my.example.com")
		      (nnimap-directory "~/Mail/var/nnimap/selname")
		      (nnimap-server-port 993)
		      (nnimap-stream tls)))

In Gnus bundled with GNU Emacs 24.3.1, I can enter/request e.g. my
INBOX nnimap+selname:INBOX fine.

In current Gnus, I get:

| Opening connection to selname via tls...
| open-network-stream: selname/993 Name or service not known

On edebugging `nnimap-open-server', I found that the argument `defs'
(which should contain `nnimap-address', IIUC), is nil.

(deffoo nnimap-open-server (server &optional defs no-reconnect)
  (if (nnimap-server-opened server)
      t
    (unless (assq 'nnimap-address defs)
      (setq defs (append defs (list (list 'nnimap-address server)))))
    (nnoo-change-server 'nnimap server defs)
    (if no-reconnect
	(nnimap-find-connection nntp-server-buffer)
      (or (nnimap-find-connection nntp-server-buffer)
	  (nnimap-open-connection nntp-server-buffer)))))

I didn't work with Emacs/Gnus code for some years, so I wasn't able to
figure out, what went wrong.

Attached are the debug logs after ...
- (require 'nnimap)
- on nnimap-open-server, do C-c C-M-x
- M-x gnus RET
- j nnimap+selname:INBOX RET
- M-g
- in the debug session, inspect `defs': e defs RET
- eval debug: e (debug)

(a) rs-imap-open-defs-ok.log --> Gnus bundled with GNU Emacs 24.3.1
(b) rs-imap-open-defs-failed.log --> Ma Gnus v0.14, 2015-05-13

Bye, Reiner.
[rs-imap-open-defs-ok.log (text/plain, attachment)]
[rs-imap-open-defs-failed.log (text/plain, attachment)]

Information forwarded to bugs <at> gnus.org:
bug#20602; Package gnus. (Thu, 26 Jan 2017 18:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 20602 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Reiner Steib <reiner.steib <at> gmx.de>
Cc: 20602 <at> debbugs.gnu.org
Subject: Re: bug#20602: nnimap-address not passed to nnimap-open-server anymore
Date: Thu, 26 Jan 2017 19:25:05 +0100
Sorry for the late response; due to a misunderstanding the Gnus bug
reports went to a part of the bug tracker I wasn't checking.

Reiner Steib <reiner.steib <at> gmx.de> writes:

> | Opening connection to selname via tls...
> | open-network-stream: selname/993 Name or service not known
>
> On edebugging `nnimap-open-server', I found that the argument `defs'
> (which should contain `nnimap-address', IIUC), is nil.
>
> (deffoo nnimap-open-server (server &optional defs no-reconnect)

When I try to reproduce this, defs is never nil for me.  Are you still
seeing this problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug reassigned from package 'gnus' to 'emacs,gnus'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 18:26:04 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 5.130014. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 18:26:04 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20602 <at> debbugs.gnu.org and Reiner Steib <reiner.steib <at> gmx.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 12 Apr 2018 21:11:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 May 2018 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.