[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: url library and GnuTLS, and Emacs-issued certificates

From: Ted Zlatanov
Subject: Re: url library and GnuTLS, and Emacs-issued certificates
Date: Thu, 24 Mar 2011 14:33:00 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Thu, 24 Mar 2011 15:23:15 -0400 Chong Yidong <address@hidden> wrote: 

CY> There is one main snag: open-protocol-stream returns a four-element
CY> list, (PROC GREETING CAPABILITIES TYPE), while open-network-stream
CY> returns just PROC.

CY> Within Gnus, the call to open-protocol-stream in nntp-open-connection
CY> discards the other list elements anyway; but nnimap-open-connection-1
CY> does use them.

CY> How about if we change this by adding a :return-list parameter that
CY> makes open-network-stream (merged from open-protocol-stream) return a
CY> list rather than a process object?  Then, in the absence of this
CY> parameter, only a process object would be returned.

Can the return list be made, instead, into a property list after the
first element?  Something like

(PROC :greeting GREETING :capabilities CAPABILITIES :type TYPE)

Since only Gnus uses the extended format it should be OK to do this;
it's backwards compatible and can be extended further.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]