From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77910 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Outgoing mail defaults Date: Thu, 17 Mar 2011 13:18:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87r5a5390x.fsf@lifelogs.com> References: <87vczh4qgj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300385963 18132 80.91.229.12 (17 Mar 2011 18:19:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 18:19:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26228@lists.math.uh.edu Thu Mar 17 19:19:18 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0Hn3-00029w-4b for ding-account@gmane.org; Thu, 17 Mar 2011 19:19:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q0Hn2-0002af-59; Thu, 17 Mar 2011 13:19:16 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q0Hn0-0002aM-Je for ding@lists.math.uh.edu; Thu, 17 Mar 2011 13:19:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q0Hmw-00066U-Gh for ding@lists.math.uh.edu; Thu, 17 Mar 2011 13:19:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q0Hmv-00008X-QD for ding@gnus.org; Thu, 17 Mar 2011 19:19:09 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q0Hmv-00026b-I2 for ding@gnus.org; Thu, 17 Mar 2011 19:19:09 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 19:19:09 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2011 19:19:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:8GXvxOre7A6VZm6/HvVzcY2Qh3o= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77910 gmane.emacs.devel:137357 Archived-At: On Thu, 17 Mar 2011 18:31:58 +0100 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> smtpmail can get auth-source to do 1+2 better that Customize IMO through >> `auth-source-creation-prompts' and `auth-source-creation-defaults'. LMI> Hm... but we still have to set what the smtp host is somewhere? Or LMI> were you thinking that smtpmail could just ask auth-source for "give me LMI> an smtp host from your backends", which would, for most people, be a LMI> line from their ~/.authinfo file saying LMI> machine smtp.gmail.com port smtp Right, it would be the first SMTP host found or none if they don't have one. I think that's the right thing either way for most new cases. >> Perhaps auth-source itself should be smarter when running for the first >> time, asking the user if he'd like to use the Secrets API, or (on Mac OS >> X) the upcoming keychain support, or an unencrypted file on Windows, or >> some other auth-source backend. The default works for those who use >> EPA/EPG and cache or agentize their passphrases, but otherwise it's >> annoying. LMI> Yeah, auth-source could be querying the user about this stuff the first LMI> time it runs. (And it could determine whether it's the first time just LMI> by trying all the sources, and see whether any of them exist?) Hmm, what a pain. Yes, it makes sense to build the auth-sources more intelligently. It shouldn't stop the smtpmail.el changes you're planning. I'll put it on my TODO list. Ted