From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: secure plist store Date: Fri, 01 Jul 2011 08:18:49 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87k4c2i1fq.fsf@lifelogs.com> References: <87wrh4b9h9.fsf@lifelogs.com> <87aae05l8p.fsf-ueno@unixuser.org> <87k4d4b66p.fsf@lifelogs.com> <87wrh0fh4g.fsf_-_@lifelogs.com> <87y60ncma8.fsf_-_@lifelogs.com> <87vcvrne02.fsf-ueno@unixuser.org> <87r56ep3sm.fsf@lifelogs.com> <874o39n171.fsf-ueno@unixuser.org> <87boxgr9f9.fsf@lifelogs.com> <87sjqry0it.fsf@lifelogs.com> <877h83xwoo.fsf-ueno@unixuser.org> <87oc1fv075.fsf@lifelogs.com> <87y60jvu8g.fsf-ueno@unixuser.org> <87sjqrq77u.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309526920 18932 80.91.229.12 (1 Jul 2011 13:28:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 13:28:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 15:28:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qcdls-0001Jj-FW for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 15:28:36 +0200 Original-Received: from localhost ([::1]:36030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcdlr-0002g5-0X for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2011 09:28:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcddo-0000fx-BX for emacs-devel@gnu.org; Fri, 01 Jul 2011 09:20:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qcddl-0007sR-Lk for emacs-devel@gnu.org; Fri, 01 Jul 2011 09:20:15 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcddl-0007sK-30 for emacs-devel@gnu.org; Fri, 01 Jul 2011 09:20:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qcddf-0005Qy-6N for emacs-devel@gnu.org; Fri, 01 Jul 2011 15:20:07 +0200 Original-Received: from 38.98.147.133 ([38.98.147.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2011 15:20:07 +0200 Original-Received: from tzz by 38.98.147.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2011 15:20:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.133 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" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:qmRQXQ03S6np9y1j67sOczhgvaU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141366 Archived-At: On Fri, 01 Jul 2011 11:28:01 +0900 Daiki Ueno wrote: DU> Ted Zlatanov writes: >> `auth-source-search' will filter the backends with any keys that are >> applicable before it actually searches each backend: >> >> (oref backend ,key))) DU> Ah, I missed that - thanks for the explanation. I got it, but I think DU> the slot names should be more descriptive (like :supported-keys), or at DU> least have some comments around the defclass? OK, I'll add comments. >> I'll take a look at using the EIEIO inheritance to abstract the >> prompting and modification to a generic file-based class from which >> the plstore and netrc classes will derive. That was the original >> intent with the class hierarchy, at least. DU> Good to hear that. I would also suggest to make :search-function and DU> :create-function virtual methods. That is a standard OO programming DU> style, I expected to see when I found defclass in auth-source.el ;-) Yeah, none of that was necessary so far but plstore.el has created the necessity (which is a good thing :) Unfortunately we got your new code right before the feature freeze and refactoring the common code would require a fairly large rewrite, which is not really a bug fix. I wonder if refactoring is OK under the feature freeze? Thanks Ted