From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75939 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el rewrite Date: Tue, 25 Jan 2011 10:59:02 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762tc538p.fsf@lifelogs.com> References: <87d3qylr29.fsf@marauder.physik.uni-ulm.de> <87fwvu5ele.fsf_-_@lifelogs.com> <87wrp4yjtk.fsf@lifelogs.com> <87eiarj0eu.fsf@lifelogs.com> <87pqu795st.fsf@gmx.de> <87tyjjpfkw.fsf@lifelogs.com> <87ipzz8a79.fsf@gmx.de> <87k4ked3fq.fsf@lifelogs.com> <87pqu6vajx.fsf@gmx.de> <87bp36dxfc.fsf_-_@lifelogs.com> <87ipxdlvqd.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295974769 5613 80.91.229.12 (25 Jan 2011 16:59:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 16:59:29 +0000 (UTC) To: Original-X-From: ding-owner+M24291@lists.math.uh.edu Tue Jan 25 17:59:25 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 1PhmEj-0000WF-1g for ding-account@gmane.org; Tue, 25 Jan 2011 17:59:21 +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 1PhmEg-0005IS-NG; Tue, 25 Jan 2011 10:59:18 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PhmEf-0005IJ-LU for ding@lists.math.uh.edu; Tue, 25 Jan 2011 10:59:17 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PhmEb-0005Bf-5w for ding@lists.math.uh.edu; Tue, 25 Jan 2011 10:59:17 -0600 Original-Received: from chirelay1o.jumptrading.com ([38.98.147.153] helo=chirelay1.jumptrading.com) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PhmEa-0006Lh-6f for ding@gnus.org; Tue, 25 Jan 2011 17:59:12 +0100 Original-Received: from chirelay1.jumptrading.com (unknown [127.0.0.1]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 44B6832001C for ; Tue, 25 Jan 2011 10:59:04 -0600 (CST) X-AuditID: 26629395-a27e9bb000001250-bf-4d3f0158389d Original-Received: from chiexchange02.w2k.jumptrading.com (unknown [38.98.147.140]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 11A3F2DC00A for ; Tue, 25 Jan 2011 10:59:04 -0600 (CST) Original-Received: from internalsmtp.w2k.jumptrading.com (10.2.4.29) by chiexchange02.w2k.jumptrading.com (10.2.4.71) with Microsoft SMTP Server id 8.1.291.1; Tue, 25 Jan 2011 10:59:03 -0600 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com ([10.2.14.81]) by internalsmtp.w2k.jumptrading.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 25 Jan 2011 10:59:03 -0600 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" In-Reply-To: <87ipxdlvqd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 24 Jan 2011 15:36:58 -0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-OriginalArrivalTime: 25 Jan 2011 16:59:03.0707 (UTC) FILETIME=[2B9C06B0:01CBBCB1] X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75939 Archived-At: On Mon, 24 Jan 2011 15:36:58 -0800 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: >> Look it over and let me know what you think. I'm still not sure how the >> creation should work exactly and hope you will tell me how the rewrite >> "feels," especially considered against the Secrets API. LI> I've skimmed the code, and it looks very nice to me. But I still LI> haven't familiarised myself with the Secrets API, so I can't really LI> comment there... LI> So should we(*) just alter nnimap to use the new auth-source API and drop LI> it into git Gnus? Usually the best way to get the feel of how stuff LI> works is to use it. LI> *) I.e., you. I don't want to affect all the people using auth-source.el currently. Remember it's not just a Gnus facility. So I wanted to get the API settled before comitting. Michael Albinus will probably know if the API makes sense in terms of the Secrets API; I think it should couple OK. The biggest problem is creation IMO. I think each backend will need its own list of required keys (always including :host, :secret and :user) and when the search query is not sufficient to fulfill the requirements, the user will be prompted for those values. It still feels clumsy. Ted