unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Strange code in `nnimap-open-connection-1'
@ 2011-08-27  8:39 Deniz Dogan
  2011-09-03 21:39 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Deniz Dogan @ 2011-08-27  8:39 UTC (permalink / raw)
  To: emacs-devel

In `nnimap-open-connection-1' I read:

[...]
     (let* ((coding-system-for-read 'binary)
	   (coding-system-for-write 'binary)
	   (port nil)
[...]

`port' is set to nil but the value is never used except for in the error 
message: (nnheader-report 'nnimap "Unable to contact %s:%s via %s" 
nnimap-address port nnimap-stream)

This is confusing to say the least.  What is going on here?

Deniz




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange code in `nnimap-open-connection-1'
  2011-08-27  8:39 Strange code in `nnimap-open-connection-1' Deniz Dogan
@ 2011-09-03 21:39 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-03 21:39 UTC (permalink / raw)
  To: emacs-devel

Deniz Dogan <deniz@dogan.se> writes:

> In `nnimap-open-connection-1' I read:
>
> [...]
>     (let* ((coding-system-for-read 'binary)
> 	   (coding-system-for-write 'binary)
> 	   (port nil)
> [...]
>
> `port' is set to nil but the value is never used except for in the
> error message: (nnheader-report 'nnimap "Unable to contact %s:%s via
> %s" nnimap-address port nnimap-stream)

Fixed in No Gnus now.

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-03 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27  8:39 Strange code in `nnimap-open-connection-1' Deniz Dogan
2011-09-03 21:39 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).