From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73674 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.tramp Subject: Re: auth-source tokens Date: Sat, 30 Oct 2010 00:15:44 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87d3qylr29.fsf@marauder.physik.uni-ulm.de> <87fwvu5ele.fsf_-_@lifelogs.com> <87wrp4yjtk.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288390582 21296 80.91.229.12 (29 Oct 2010 22:16:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 22:16:22 +0000 (UTC) Cc: tramp-devel@mail.freesoftware.fsf.org To: ding@gnus.org Original-X-From: ding-owner+M22043@lists.math.uh.edu Sat Oct 30 00:16:21 2010 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 1PBxFE-0003o7-6R for ding-account@gmane.org; Sat, 30 Oct 2010 00:16:20 +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 1PBxEz-0000I4-LZ; Fri, 29 Oct 2010 17:16:05 -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 1PBxEx-0000Hm-G3 for ding@lists.math.uh.edu; Fri, 29 Oct 2010 17:16:03 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PBxEt-0002T6-5D for ding@lists.math.uh.edu; Fri, 29 Oct 2010 17:16:03 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PBxEr-000520-00 for ; Sat, 30 Oct 2010 00:15:57 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PBxEp-0003dN-F4 for ding@gnus.org; Sat, 30 Oct 2010 00:15:55 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Oct 2010 00:15:55 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Oct 2010 00:15:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWAnsZsjrv++d1zk77d 2MlIZIZpirMICwtjg6kgOFaREkMdAAACN0lEQVQ4jXXUT2/aMBQA8MeAqrvViopyRBmTeiTzQD0i lqrtbWz16tyWsVj5BlluRW0i79itNPjb7j2H/BnrLIWAf9jPL3k26P80qG5JdStUFwplW4G/IsaV agA7WYQf+IU5nPsjogLwZ8QYG41oFGOcc2MbFLafWlQBK1NqkMg4z2O5irUrZa5PtQ4rmOOEMt5s TjeukDp3Z+4elHajhHEMN0oKde5u3P1UvG4+huFTAEhfAuyH47KC6R5YDYufFczMI17PfgNAkNWw a2EQduHZJ6HYMBRlPVUfwcawIESZEfjM6eO/uxD+SA0uN2ibjZ2L2ywbIiy9pi0ItLg16WvM4xBw BIbA4OLGO8OrhmkuTJqWCNsn7615auBEC1NS8Jk5hBBXu4X1LPwbnCQ0GWU+Hyy9CbxqYH0chpg6 rA+XewLUn/2bxzqnR7WD9WEejhAmNF8wePHdG/N3bR4AfXxvCAfLBQJ4GTiBqmE8CCCWd0cFlsP8 HuH8/r33Rn3zrqlitze59M6M/oxQL/cytRA8jIXQv7tQ4iqNxCIxuyGBs4fr1Aidi6ssF+LikYFK 8DlNgqV3IeQdBLCQEG7FygEV21X9ssG34uNEBFqEOKKoAXPoa/0VM9eFXqkWqEp6VEMObryIQD7g O//kLYIBgkN7LtEbBBW0j7fHeZ/7iErhru3Ah2o/4Ja3EHRHEFQHAEIzhsDBeRJ7MtiqRcKa6DlY 3qo+MjpF3WMjppIaBi0c0blRHTJ/AB9bQ8a9tEtAAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Simple Minds's _Sister Feelings Call_: "Wonderful in Young Life" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:fcNAGRrUyTnD5Tuu7NGXEYLCOow= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73674 gmane.emacs.tramp:7523 Archived-At: Ted Zlatanov writes: > Because this will affect many parts of Emacs, I want feedback before I > implement it. Looks good to me. The only thing that needs clarification (I think) is this: > :create t means to create a token if possible. When it is > 'rewrite-existing, any matching existing token will be copied > into the new token and deleted. This defaults to nil and will > generate an error if used with :max greater than 1.. What token is created? If you're using (for instance) '("imap" "imaps") as the port spec, it's unclear what port spec will be used when creating. auth-sources/netrc/nnimap now uses the last port as the spec when creating the token, which works OK. Perhaps the same convention should be used here. Or :create should explicitly name what it's supposed to create if the search fails. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen