From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76466 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: tzz-auth-source-rewrite branch Date: Mon, 07 Feb 2011 14:47:35 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87lj1rvafs.fsf@lifelogs.com> References: <87ei7nivte.fsf@lifelogs.com> <87zkq9tdi7.fsf_-_@lifelogs.com> <87mxm9ytyn.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297111685 1328 80.91.229.12 (7 Feb 2011 20:48:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2011 20:48:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24817@lists.math.uh.edu Mon Feb 07 21:47:59 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 1PmY06-0001P0-6c for ding-account@gmane.org; Mon, 07 Feb 2011 21:47:58 +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 1PmY02-0007fg-Pf; Mon, 07 Feb 2011 14:47:54 -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 1PmY01-0007fS-Gj for ding@lists.math.uh.edu; Mon, 07 Feb 2011 14:47:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PmXzx-0002tk-5r for ding@lists.math.uh.edu; Mon, 07 Feb 2011 14:47:53 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PmXzv-0006aM-II for ding@gnus.org; Mon, 07 Feb 2011 21:47:47 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PmXzu-0001Jq-Uy for ding@gnus.org; Mon, 07 Feb 2011 21:47:46 +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 ; Mon, 07 Feb 2011 21:47:46 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Feb 2011 21:47:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 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.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:OLyJa6IGbWYTrHPiENR+N1L8sjY= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76466 Archived-At: On Sun, 06 Feb 2011 09:05:20 -0800 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: >> The `auth-source-user-or-password' wrapper tries to create an entry >> currently, which is not OK. So it's not ready for use. When I think >> it's OK, I'll update the manual and merge the branch back into the >> master branch. LI> Sounds good. Let me know when it's ready to use, and we can start LI> adapting nnimap and/or nntp to use it. I put it one last change I did last night (060d648dcb691ba9f4620e320b1cb8409c060fad) to fix some stupid bugs. I get this warning while compiling: In auth-source-search: auth-source.el:507:33:Warning: `error' called with 2 args to fill 0 format field(s) In auth-source-netrc-search: auth-source.el:712:32:Warning: `error' called with 2 args to fill 0 format field(s) but am not sure why. You can just grab auth-source.el from my branch and test with that, or "git checkout tzz-auth-source-rewrite" if you prefer to test in my branch. I think it will work either way. Merging the ChangeLog has been a pain (as you can see from the many commit messages). I tested `auth-source-user-or-password' compatibility and it seemed OK: I was able to use Gnus with the new auth-source.el, using both unauthenticated NNTP connections and authenticated NNTP and IMAP connections. When you think we're ready, I'll merge my branch back into master and change all the invocations of `auth-source-user-or-password' in Gnus to DTRT. Then when Yamaoka-san merges with Emacs I'll change all the Emacs libraries to DTRT as well. Thanks Ted