From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes Date: Mon, 12 Jan 2015 10:11:37 -0500 Message-ID: References: <8761cfqu7u.fsf@ericabrahamsen.net> <837fwu7tvy.fsf@gnu.org> <9rh9vyh1fg.fsf@fencepost.gnu.org> <83oaq65rji.fsf@gnu.org> <83lhla5pkj.fsf@gnu.org> <87iogehw8y.fsf@ericabrahamsen.net> <87d26k4ikb.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421075539 29000 80.91.229.3 (12 Jan 2015 15:12:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 15:12:19 +0000 (UTC) Cc: 19552@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 16:12:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YAgf7-00033k-8f for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 16:12:13 +0100 Original-Received: from localhost ([::1]:34627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAgf6-0004eX-9c for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 10:12:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAgf1-0004bN-HC for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 10:12:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAgew-0000vv-DN for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 10:12:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAgew-0000vr-AQ for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 10:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YAgew-00071u-1W for bug-gnu-emacs@gnu.org; Mon, 12 Jan 2015 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jan 2015 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19552-submit@debbugs.gnu.org id=B19552.142107550526999 (code B ref 19552); Mon, 12 Jan 2015 15:12:01 +0000 Original-Received: (at 19552) by debbugs.gnu.org; 12 Jan 2015 15:11:45 +0000 Original-Received: from localhost ([127.0.0.1]:54613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAgef-00071O-AZ for submit@debbugs.gnu.org; Mon, 12 Jan 2015 10:11:45 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:12728) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YAgec-000712-RB for 19552@debbugs.gnu.org; Mon, 12 Jan 2015 10:11:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj8PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJC6IHAnWWQEBAQEBBQIBH5BvB4RIBYsBpC6BeIQZIYJ3AQEB X-IPAS-Result: Aj8PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJC6IHAnWWQEBAQEBBQIBH5BvB4RIBYsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="107569703" Original-Received: from 184-175-10-11.dsl.teksavvy.com (HELO ceviche.home) ([184.175.10.11]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Jan 2015 10:11:37 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 21930660FB; Mon, 12 Jan 2015 10:11:37 -0500 (EST) In-Reply-To: <87d26k4ikb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 12 Jan 2015 14:30:28 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98263 Archived-At: >>> The other is the "gh" Github-access package from Melpa: that gives "too >>> many arguments to defclass". >> Can you show a backtrace for that error? > I don't know how to get a proper backtrace for compilation errors... (setq debug-on-error t) (setq byte-compile-debug t) And then `M-x byte-compile'. > Following any of the linked errors leads to the require statements at > the top of the file in question, and round and round you go. That's because the error happens while loading the required file. > I can't actually get to a real error related to defclass. There's > something odd about the require pattern of this package: gh-auth.el > ends this way: > (provide 'gh-auth) > ;; to avoid circular dependencies... > (require 'gh-oauth) > ;;; gh-auth.el ends here > I don't really understand why. It might be worth getting Yann Hodique to > comment. That's usually done because `gh-auth' needs to use functions from `gh-oauth' and vice-versa, so the author moved the require after the provide, so that when `gh-oauth' is required from `gh-auth', the (require 'gh-auth) found in gh-oauth is just skipped (since we just did (provide 'gh-auth)) rather than causing a recursive load of gh-auth which would re-require gh-oauth, ... It's usually not the best solution to recursive dependencies, but sometimes it's a handy quick-fix, and in this case I don't think it's the cause of the "Too many arguments to `defclass'" error. Stefan