From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76715 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.gnus.general Subject: Re: auth-source.el and eieio Date: Mon, 14 Feb 2011 16:47:18 +0100 Message-ID: <87hbc6k48p.fsf@gmx.de> References: <87d3mv3pzp.fsf@gmx.de> <87y65iskm2.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297698464 4089 80.91.229.12 (14 Feb 2011 15:47:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 15:47:44 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M25057=ding+2Daccount=gmane.org@lists.math.uh.edu Mon Feb 14 16:47:40 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 1Pp0eK-0001Uj-9S for ding-account@gmane.org; Mon, 14 Feb 2011 16:47:40 +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 1Pp0eJ-0001nx-LQ for ding-account@gmane.org; Mon, 14 Feb 2011 09:47:39 -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 1Pp0eI-0001ns-Oj for ding@lists.math.uh.edu; Mon, 14 Feb 2011 09:47:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pp0eH-0006hq-M3 for ding@lists.math.uh.edu; Mon, 14 Feb 2011 09:47:38 -0600 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1Pp0eG-0004WM-JA for ding@gnus.org; Mon, 14 Feb 2011 16:47:36 +0100 Original-Received: (qmail invoked by alias); 14 Feb 2011 15:47:30 -0000 Original-Received: from p57BB9605.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.5] by mail.gmx.net (mp004) with SMTP; 14 Feb 2011 16:47:30 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18lljw+Ge0lSl9TELkDZdDUNBQnzJYPqOAO+7ugzc kdW6k3LZSkm6sb In-Reply-To: <87y65iskm2.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 14 Feb 2011 09:26:29 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76715 Archived-At: Ted Zlatanov writes: > It's all autoloaded, so the user will get an error when he searches. I > can do an assert in `auth-source-secrets-search' to fail early or fail > even earlier in `auth-source-backend-parse'. WDYT? If there are no compilation errors, I believe it is OK to fail with a meaningful message. However, it gives the burden to the user to initialize auth-sources depending on availability of secrets.el. So maybe it is more convenient to ignore :secrets entries in such a case, raising a warning (with confirmation to continue). > Ted Best regards, Michael.