From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80876 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail authentication again Date: Wed, 11 Jan 2012 06:45:23 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87d3awtgda.fsf@lifelogs.com> <878vlktfy6.fsf@lifelogs.com> <874nw7slnv.fsf@lifelogs.com> <87fwfqouk3.fsf@lifelogs.com> <87wr8zei8c.fsf@lifelogs.com> <87k44zehr5.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326260802 27188 80.91.229.12 (11 Jan 2012 05:46:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2012 05:46:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29158@lists.math.uh.edu Wed Jan 11 06:46:35 2012 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 1Rkr16-0006Mo-7Y for ding-account@gmane.org; Wed, 11 Jan 2012 06:46:32 +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 1Rkr0U-0003Jd-RY; Tue, 10 Jan 2012 23:45: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 1Rkr0T-0003JU-Pb for ding@lists.math.uh.edu; Tue, 10 Jan 2012 23:45:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rkr0H-0003xk-AA for ding@lists.math.uh.edu; Tue, 10 Jan 2012 23:45:51 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rkr0E-0005Jk-HA for ding@gnus.org; Wed, 11 Jan 2012 06:45:38 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rkr0C-00062u-Fl for ding@gnus.org; Wed, 11 Jan 2012 06:45:36 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 06:45:36 +0100 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 06:45:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:xRejmzHTE9e0SRKHLwmJ5yjmlJM= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80876 Archived-At: Ted Zlatanov writes: > On Tue, 10 Jan 2012 09:37:39 -0500 Ted Zlatanov wrote: > > TZ> Also getPass or whatever it's called will expose the password, whereas > TZ> now it's wrapped in a lexical-let so you can't see it easily until > TZ> you're ready to use it. > > TZ> I understand the benefit of simplicity, though. Hmmm. Besides ERC, > TZ> where would you use the simpler functions? > > OK, I've added it, afetr thinking for a little bit. It's not ideal but > should do the job for siple queries. You call it like this: > > (auth-source-user-and-password "hostname") > > (auth-source-user-and-password "hostname" "username") > I pulled nognus from git but this function is not there. there is an -or-password funtion (auth-source-user-or-password MODE HOST PORT &optional USERNAME CREATE-MISSING) but that takes different args. Can you confirm which repo this new function is in and sorry if Im wasting your time.