From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78187 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp.el authinfo calls need fixin' Date: Tue, 29 Mar 2011 20:51:52 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87aagswwxb.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301425125 13650 80.91.229.12 (29 Mar 2011 18:58:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 18:58:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26498@lists.math.uh.edu Tue Mar 29 20:58:41 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 1Q4e7k-0005Cr-5t for ding-account@gmane.org; Tue, 29 Mar 2011 20:58:40 +0200 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 1Q4e7W-0004IS-1W; Tue, 29 Mar 2011 13:58:26 -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 1Q4e7U-0004I6-JY for ding@lists.math.uh.edu; Tue, 29 Mar 2011 13:58:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q4e7L-0001rX-Ca for ding@lists.math.uh.edu; Tue, 29 Mar 2011 13:58:19 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4e7K-0008Kw-LN for ding@gnus.org; Tue, 29 Mar 2011 20:58:14 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4e7J-00051Z-Ko for ding@gnus.org; Tue, 29 Mar 2011 20:58:13 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 20:58:13 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 20:58:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEVzCBg9AAdxChlsBhdc AxExAARjBBRPAQ1pBRZVAg80AAUwAAQvAANKAQyMZWlvBxgb/Eb1AAACUElEQVQ4jXWTP2sbMRjG hfsBhFaDIYQsHeyUCsJttwjDDR2ztBmNuA9QEB48HRxaC4Wrxg63HP0G7dqpXm7KdEsIgQw2Jlq6 qc+rO8du6grj4f3d87x/9Iqt/3PYev39NHjfNNf1jxNACNHUv04D0dycAJNWiHF9/S/oug6kqT+8 BLeRiK/iRQXMmJ6Q6ucxcBWhVuAnmqap65s9cEAQrYiS57i5XgMypbKqMremWg2WZNp8W7O5ykCc WxoiPYLlDdNaZbBzmTPmSFSzvFwohJVSFSxXAxmPmbUaQTWfAztTdR2NQkwbgFIvlNZR6KqhuCkU RYk0GlipHpDZhgBiOsc/SWKWNiqkRCwvpEyovB5MxEYApF7aVF4mepFlcQqinQCENMRz7mE2AEGA h6cQznbs7DKxGq3GHARYYP0Z+ajok3djxncDYMGWeysqdy9gzJMVLqcVLYFnAfcJrEzfOcDz4bC6 iDkmcVaHE2bb7Wx2t8W5+/TuGFBo+xCBeDxy6sF9D6YHwPwsxl4CtsNcrqjFj6tuMhUHBefhFU04 9r45Ajse0CKA+RtgBHzkr4ZxHQDnb9hoxIvB6xlw/3SejkaXNGG6xU1Lw0M5XoY0pSx6EQf82OHj RCbS2iKVgdMtxo0E4AE3h7XKce/hN5YogvuOBQDsj7bWSi9Lle0VUtqcVjEvCvmltIv4XpavDZP0 uZ7PIUlycsKDMOYeoIggh5NNdARu+fmhYk/e5jZmCD4p4zb2AC3IQmLr3lLh/c479+CwDNi43XBX vtTxebkL9wd+5jCdu4M2YwAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Robert Wyatt's _Radio Experiment, Rome February 1981_: "Opium War" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:iCsaqH4a6g+iVi1JncwnX8z05rE= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78187 Archived-At: Ted Zlatanov writes: > I think the unused choices for `nntp-authinfo-function' > (`nntp-send-nosy-authinfo', `nntp-send-authinfo-from-file') should be > removed (with whatever extra functionality they have moved to > `nntp-send-authinfo') and we should remove `nntp-authinfo-function' > itself. We should also remove any dependency on netrc.el. Yes, I agree. > In addition the `auth-source-search' call should query for the virtual > server name too, use ":create t", pass `auth-source-creation-defaults' > and `auth-source-creation-prompts', and call the :save-function if the > login was successful. This is all very similar to the way nnimap.el > does the query. Yup. > I'm attaching a patch to just add the "force" token to nntp.el and will > do more of the above if necessary. Let me know. Please apply. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen