From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 28899@debbugs.gnu.org
Subject: bug#28899: 26.0.90; describe-function on class contructor gives make-text-button: Unknown button type ‘cl-type-definition’
Date: Thu, 19 Oct 2017 07:55:20 -0400 [thread overview]
Message-ID: <87h8uvfj2v.fsf@users.sourceforge.net> (raw)
Severity: minor
emacs -Q
M-x toggle-debug-on-error
<f1> f chart
Debugger entered--Lisp error: (error "Unknown button type ‘cl-type-definition’")
signal(error ("Unknown button type ‘cl-type-definition’"))
error("Unknown button type `%s'" cl-type-definition)
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))
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/npostavs/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-extra.el: Add missing provide.
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=acc443ad03bf46aa49c87bc93f2df836bedede94
[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=b6a57fb80c49bcd9163966d612671a5256f3a1a8
next reply other threads:[~2017-10-19 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 11:55 Noam Postavsky [this message]
2018-01-31 3:38 ` bug#28899: 26.0.90; describe-function on class contructor gives make-text-button: Unknown button type ‘cl-type-definition’ Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8uvfj2v.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=28899@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).