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: [Emacs-diffs] master 1fcc552: lisp/gnus/registry.el (registry-prune): Allow registry to reach full size before pruning Date: Sat, 18 Apr 2015 10:34:24 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <874modo68f.fsf@lifelogs.com> References: <20150320104953.20367.194@vcs.savannah.gnu.org> <87bnilpv4d.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429367689 12666 80.91.229.3 (18 Apr 2015 14:34:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 14:34:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 18 16:34:40 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YjTpQ-0004Fl-9b for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 16:34:40 +0200 Original-Received: from localhost ([::1]:45871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjTpP-00017Z-Kn for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 10:34:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjTpM-00017T-2v for emacs-devel@gnu.org; Sat, 18 Apr 2015 10:34:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjTpH-0002Ye-43 for emacs-devel@gnu.org; Sat, 18 Apr 2015 10:34:36 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjTpG-0002YO-SP for emacs-devel@gnu.org; Sat, 18 Apr 2015 10:34:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YjTpE-00047s-HG for emacs-devel@gnu.org; Sat, 18 Apr 2015 16:34:28 +0200 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2015 16:34:28 +0200 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2015 16:34:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net 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.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:FNpjdr9/09Ohzpdgx0o9EIya21s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:185593 Archived-At: On Sat, 18 Apr 2015 10:20:30 -0400 Stefan Monnier wrote: >> If initargs are to be avoided, maybe a compilation warning there would >> be appropriate?[1] SM> Agreed. I haven't implemented one yet, but it's crossed my mind, yes. SM> The main problem is that in (oref a b), the compiler has no idea what is SM> the possible class(es) of `a', so it can't look up that class to see if SM> `b' is an initarg. SM> What I'm thinking of doing is keeping track of all known slot names and SM> all known initarg names, and if `b' is an initarg name but not a slot SM> name, then emit the warning. This should work OK in practice since SM> initargs tend to all be keywords, where slot names tend to all be SM> non-keyword symbols. That would work for me as a user, but I fear it will be pretty hard to implement. Ted