From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday S Reddy Newsgroups: gmane.emacs.help Subject: Re: auth-source multiple accounts Date: Tue, 27 Jul 2010 18:19:13 +0100 Organization: Janet Usenet Reading Service. Message-ID: References: <370a1897-25aa-418f-9631-1570dfa99de3@z7g2000yqb.googlegroups.com> <87633kaess.fsf@lifelogs.com> <8d7c78ee-6ba8-448a-8f86-3d585e1af77f@u32g2000vbc.googlegroups.com> <87vd8z2myy.fsf@lifelogs.com> <01ea3506-d715-491d-b360-3abf34e98013@i31g2000yqm.googlegroups.com> <87r5iq1hjk.fsf@lifelogs.com> <87630211kx.fsf_-_@lifelogs.com> <87mxtdvx2d.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291852781 16530 80.91.229.12 (8 Dec 2010 23:59:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:59:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 00:59:37 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQTv3-0000bS-SP for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:59:34 +0100 Original-Received: from localhost ([127.0.0.1]:35791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTv3-0001Jl-Bb for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:59:33 -0500 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!feeder.news-service.com!feeder.news-service.com!xlned.com!feeder1.xlned.com!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: acws-0068.cs.bham.ac.uk Original-X-Trace: north.jnrs.ja.net 1280251153 26703 147.188.194.56 (27 Jul 2010 17:19:13 GMT) Original-X-Complaints-To: usenet@north.jnrs.ja.net Original-NNTP-Posting-Date: Tue, 27 Jul 2010 17:19:13 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <87mxtdvx2d.fsf@lifelogs.com> Original-Xref: usenet.stanford.edu gnu.emacs.help:180117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76257 Archived-At: Ted Zlatanov wrote: > I mean "machine" will still be the server name but VM will also pass an > optional (account "xyz") query parameter to > auth-source-user-or-password, which will find "account xyz" in the netrc > file. > > I'll add another optional parameter QUERIES to > auth-source-user-or-password. It will be an alist. When a query is not > specified you'd still get the first match (thus it's backwards > compatible). Does all that sound reasonable? Adding a QUERIES parameter is good but I would urge you to allow (login "xyz") as a possible query. For looking up email passwords, the "account" attribute seems like an overkill. What would users put as their "account", if not their login id? Since they are already using the "login" parameter to write their login id, it seems like unnecessary duplication. Thanks for all your help! Cheers, Uday