From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77213 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: should auth-source cache false results? Date: Wed, 23 Feb 2011 09:07:10 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87k4gqokm9.fsf@lifelogs.com> References: <87ipwiyifb.fsf@lifelogs.com> <87ei763hi3.fsf@lifelogs.com> <87mxlugu71.fsf@gnus.org> <87pqqjyen6.fsf@lifelogs.com> <87wrkr40bo.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298474430 13347 80.91.229.12 (23 Feb 2011 15:20:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 15:20:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25545@lists.math.uh.edu Wed Feb 23 16:20:26 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 1PsGVp-0006OZ-CA for ding-account@gmane.org; Wed, 23 Feb 2011 16:20:21 +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 1PsGVj-00045t-DO; Wed, 23 Feb 2011 09:20:15 -0600 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 1PsGVh-00045V-Hw for ding@lists.math.uh.edu; Wed, 23 Feb 2011 09:20:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PsGVc-0003tQ-Kk for ding@lists.math.uh.edu; Wed, 23 Feb 2011 09:20:12 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PsGVb-00019N-U6 for ding@gnus.org; Wed, 23 Feb 2011 16:20:07 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsGVa-0006De-0o for ding@gnus.org; Wed, 23 Feb 2011 16:20:06 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 16:20:06 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Feb 2011 16:20:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:9MVKUDsDg1ApvGWR4ZAUJ7q0KyU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77213 Archived-At: On Wed, 23 Feb 2011 00:33:31 -0800 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: >> In practice this is, I think, a bad idea (I tried it out). If the user >> adds entries externally, he will be mystified and won't necessarily know >> about auth-source-forget*. So instead I cache all netrc searches now. LI> If the .authinfo file changes, then auth-source should forget those LI> entries automatically, shouldn't it? Yeah. I must have screwed it up. But now the other problem is that false results and no results look the same, being nil. How do I store that semantic distinction? Ted