From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79921 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus registry error after upgrade, using emacs23 Date: Mon, 12 Sep 2011 21:49:37 -0400 Message-ID: <87obypky8e.fsf@uwo.ca> References: <87fwk3od9o.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315879342 32558 80.91.229.12 (13 Sep 2011 02:02:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2011 02:02:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28215@lists.math.uh.edu Tue Sep 13 04:02:17 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 1R3IKC-0007OV-AI for ding-account@gmane.org; Tue, 13 Sep 2011 04:02:12 +0200 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 1R3IIE-00049a-Gx; Mon, 12 Sep 2011 21:00:10 -0500 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 1R3I8X-00046z-Ca for ding@lists.math.uh.edu; Mon, 12 Sep 2011 20:50:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R3I8S-0007CF-OI for ding@lists.math.uh.edu; Mon, 12 Sep 2011 20:50:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R3I8P-0003Ke-4V for ding@gnus.org; Tue, 13 Sep 2011 03:50:01 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R3I8P-0004fe-2M for ding@gnus.org; Tue, 13 Sep 2011 03:50:01 +0200 Original-Received: from cpe0023bee5dd21-cm0023bee5dd1e.cpe.net.cable.rogers.com ([99.249.62.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2011 03:50:01 +0200 Original-Received: from jdc by cpe0023bee5dd21-cm0023bee5dd1e.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Sep 2011 03:50:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 58 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe0023bee5dd21-cm0023bee5dd1e.cpe.net.cable.rogers.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:OKJJR1A6zM3mTPoqqxMAAw/G5JQ= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79921 Archived-At: Lars Magne Ingebrigtsen writes: > Dan Christensen writes: > >> That's right. In registry.el, it's defined using defmethod, which is >> something from eieio.el, so maybe the version of eieio.el shipped with >> gnus is too old? > > I'm unable to reproduce this with Emacs 23. Are you sure you don't have > bits of older versions of registry/Gnus loaded? I don't think so. I checked `M-x list-load-path-shadows' and only found the expected things, e.g. that the git gnus in my home directory shadows files from emacs 23.2, and that gnus-fallback-lib/eieio/* shadows files from emacs 23.2. I just did another test. I created a new user, started emacs with "emacs -q --no-site-file" and then evaluated each of these lines in the *scratch* buffer: (add-to-list 'load-path "/tmp/emacs/gnus/lisp") (add-to-list 'load-path "/tmp/emacs/gnus/lisp/gnus-fallback-lib/eieio/") (require 'registry) where /tmp/emacs/gnus is a copy of git gnus as of a couple of weeks ago. When I evaluated the last one, I got a *Compile-Log* buffer containing: Error: Not a lambda list: #[(db) "[lots of 8-bit things deleted]" [db data limit --cl-var-- candidates eieio-oref :data 0 :max-hard registry-size :prune-factor nil maphash #[(k --cl-var--) "[more deleted]" [k --cl-var--] 2]] 6 "Collects pruning candidates from the registry-db object THIS. Proposes any entries over the max-hard limit minus size * prune-factor."] Here are the eieio files I have: -rw-rw-r-- 1 jdc jdc 12617 2011-02-21 09:38 eieio-base.el -rw-rw-r-- 1 jdc jdc 5113 2011-08-30 10:38 eieio-comp.el -rw-rw-r-- 1 jdc jdc 15808 2011-08-30 10:38 eieio-custom.el -rw-rw-r-- 1 jdc jdc 4862 2011-02-21 09:38 eieio-datadebug.el -rw-rw-r-- 1 jdc jdc 117129 2011-08-30 10:38 eieio.el -rw-rw-r-- 1 jdc jdc 21950 2011-08-30 10:38 eieio-opt.el -rw-rw-r-- 1 jdc jdc 15789 2011-02-21 09:38 eieio-speedbar.el And registry.el: -rw-rw-r-- 1 jdc jdc 18702 2011-08-30 10:38 registry.el And I'm using emacs23 23.2+1-4ubuntu1~ppa3 from https://launchpad.net/~ubuntu-elisp/+archive/ppa Any ideas? Dan