On Sat, Aug 2, 2014 at 10:47 AM, Vibhav Pant wrote: > > Is there a way to specify it per server? > Agreed. I have redone the patch and added some more features: > 1. erc-ssl-servers: Alist of servers (ADDRESS PORT) for which ERC will > always connect to using SSL. > 2. erc-use-ssl: If non-nill, all connections will be made using SSL. > 3. erc-ssl-blacklist: Alist of server ERC will connect to without SSL. > Only useful when erc-use-ssl is non-nil. This seems likely to interact poorly with the existing server to port mappings in `erc-server-alist'. Perhaps the information provided by the items above could be specified in e-s-a instead, for example by accepting multiple PORTS arguments of the form (:ssl-ports a b c) and (:non-ssl-ports x y z) and attempting connections in the order in which they appeared. jlf