From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#28899: 26.0.90; describe-function on class contructor gives make-text-button: Unknown button type =?UTF-8?Q?=E2=80=98cl-type-definition=E2=80=99?= Date: Thu, 19 Oct 2017 07:55:20 -0400 Message-ID: <87h8uvfj2v.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508414174 9271 195.159.176.226 (19 Oct 2017 11:56:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2017 11:56:14 +0000 (UTC) To: 28899@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 19 13:56:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e59Qn-0001i7-71 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Oct 2017 13:56:09 +0200 Original-Received: from localhost ([::1]:48806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e59Qu-00080q-OD for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Oct 2017 07:56:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e59Qk-00080L-02 for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e59Qg-0003yb-RV for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e59Qg-0003yR-O8 for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e59Qg-0004co-Gk for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Oct 2017 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150841413817744 (code B ref -1); Thu, 19 Oct 2017 11:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2017 11:55:38 +0000 Original-Received: from localhost ([127.0.0.1]:49225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e59QH-0004c7-Tg for submit@debbugs.gnu.org; Thu, 19 Oct 2017 07:55:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e59QH-0004bw-0t for submit@debbugs.gnu.org; Thu, 19 Oct 2017 07:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e59QA-0003dg-SX for submit@debbugs.gnu.org; Thu, 19 Oct 2017 07:55:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e59QA-0003dQ-PJ for submit@debbugs.gnu.org; Thu, 19 Oct 2017 07:55:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e59Q9-0007iv-5L for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:55:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e59Q6-0003ZP-10 for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:55:29 -0400 Original-Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:44818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e59Q5-0003XQ-NO for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 07:55:25 -0400 Original-Received: by mail-it0-x22c.google.com with SMTP id n195so10344529itg.1 for ; Thu, 19 Oct 2017 04:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=MqeIrblHExUoxQ2s3XwMoyYgjktZwy4oFnUNliwDOPY=; b=RV7bu88uvdppLiFt92MqMBSSzKSBfmeLC3tM8/qBYVcnpzoomxwyYPDtX/BqVeZ0lj 0vBK0ICjROmqNEb2wwENp9Jmwf+s/8zHYhQbqpRBpd71KROiZ0bsl4dCIqAJxVbTE45T GSDTuO29rrq5FjsIBWdNtyF0MWmZ04/bNky342fVQ1Fm3yGdegDYBIJgwvTdyeTUD5Sz 3Sjwj+ti9yuQEMeLCbblIvZpX5f81KcjZMbWxQ7n+m2NJf9+g0aSm8HWeJxYENwRel0u O9oxBYGzQNcgTcI9iSYoYTlRbSngzdunfwLe6pzhNlMBkLlY1ashY1uRpr3Y4MsEEsEZ RbOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=MqeIrblHExUoxQ2s3XwMoyYgjktZwy4oFnUNliwDOPY=; b=SzYmNJlqtO+4vy5GZGPripPv7FFoSKeHLjmuG2eZ1gejxYivsl7fyWlbcY0Rb3dxhy Z0G9p5g7efduoGaGLc81Ai1qzhnTK1I3cczRAG/2p1smJGQvdml/wkonUM/v85GW54eL qiXpQtFwOBiJKpCje1eO8VW332uITOUP2uvUs7JRNeYvBxnojsJJm9WgOP/E+KPE0+54 KC/R9yi5Z0j9wAn0+WqfEB7IikbJRzSSCHlWdG/6+OFqgVymuk0peCf+uiT2BL6zYCOt QlMHs84or2F+06oWmUtvZNBKwa8knX0iBWywEBzl5xslm/23zAIuuB+Kthjz90kxoUhq 1CWQ== X-Gm-Message-State: AMCzsaVDl59fHnxwNUlrwLbS8PixOxCjTy4hAGX2V+yE3ExJiVWwWBN6 8QWTZ7+0zO2jVWkGZFSLLld7qg== X-Google-Smtp-Source: ABhQp+QCqsmMiwSxOW9ReM8Md53Our2f94Cp+S3WkGz0gZcWtWGOb+hi1wRPCVWv11EqBx/8tQvYFA== X-Received: by 10.36.83.137 with SMTP id n131mr2104896itb.82.1508414122971; Thu, 19 Oct 2017 04:55:22 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id h187sm580135ita.2.2017.10.19.04.55.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 04:55:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:138714 Archived-At: Severity: minor emacs -Q M-x toggle-debug-on-error f chart Debugger entered--Lisp error: (error "Unknown button type =E2=80=98cl-type-= definition=E2=80=99") signal(error ("Unknown button type =E2=80=98cl-type-definition=E2=80=99")) error("Unknown button type `%s'" cl-type-definition) make-text-button(46 54 type cl-type-definition help-args (chart "/home/np= ostavs/src/emacs/emacs-26/lisp/emacs-lisp/chart.el" define-type)) apply(make-text-button 46 54 (type cl-type-definition help-args (chart "/= home/npostavs/src/emacs/emacs-26/lisp/emacs-lisp/chart.el" define-type))) insert-text-button("chart.el" type cl-type-definition help-args (chart "/= home/npostavs/src/emacs/emacs-26/lisp/emacs-lisp/chart.el" define-type)) help-insert-xref-button("chart.el" cl-type-definition chart "/home/nposta= vs/src/emacs/emacs-26/lisp/emacs-lisp/chart.el" define-type) eieio-help-constructor(chart) run-hook-with-args(eieio-help-constructor chart) describe-function-1(chart) describe-function(chart) funcall-interactively(describe-function chart) call-interactively(describe-function nil nil) command-execute(describe-function) It doesn't happen in Emacs 25, because loading eieio loads cl-extra (via bytecomp, refer [1: acc443ad03] and [2: b6a57fb80c]). A simple way to fix is to add (require 'cl-extra) in eieio-help-constructor. What's really needed is a way of autoloading button definitions. [1: acc443ad03]: 2014-10-23 09:31:20 -0400 * lisp/emacs-lisp/bytecomp.el: Require cl-extra. * lisp/emacs-lisp/cl-ext= ra.el: Add missing provide. https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Dacc443ad03bf46aa= 49c87bc93f2df836bedede94 [2: b6a57fb80c]: 2017-04-18 20:52:22 -0400 Tweak bytecomp's loading of cl-extra https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3Db6a57fb80c49bcd9= 163966d612671a5256f3a1a8