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: Wed, 28 Jul 2010 22:39:11 +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> <87pqy8vmah.fsf@lifelogs.com> <87y6cvu53t.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 1291854055 21829 80.91.229.12 (9 Dec 2010 00:20:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 00:20:55 +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 01:20:51 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 1PQUFe-0001Eh-GA for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 01:20:50 +0100 Original-Received: from localhost ([127.0.0.1]:60611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQUFd-00037d-H2 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 19:20:49 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!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: 17 Original-NNTP-Posting-Host: gromit.cs.bham.ac.uk Original-X-Trace: north.jnrs.ja.net 1280353159 28656 147.188.193.16 (28 Jul 2010 21:39:19 GMT) Original-X-Complaints-To: usenet@north.jnrs.ja.net Original-NNTP-Posting-Date: Wed, 28 Jul 2010 21:39:19 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: <87y6cvu53t.fsf@lifelogs.com> Original-Xref: usenet.stanford.edu gnu.emacs.help:180160 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:76286 Archived-At: On 7/28/2010 2:07 PM, Ted Zlatanov wrote: > auth-source.el (specifically, auth-source-user-or-password) will work > either way. The new query parameter is optional so at worst the user > will get the wrong password. There will be no error. So you don't have > to give up on old versions. Just warn the user that the account won't > be part of the lookup. Yes, but, if I call auth-source-user-or-password with the extra parameter, and the user is using an old version of auth-source.el, there will be an error. But the version number idea is good. I can test for it before calling. Let me know when you have the new version ready so that I can test it along with VM. Cheers, Uday