Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't list breakpoints in Emacs 27 #237

Closed
DamienCassou opened this issue Feb 12, 2020 · 2 comments
Closed

Can't list breakpoints in Emacs 27 #237

DamienCassou opened this issue Feb 12, 2020 · 2 comments

Comments

@DamienCassou
Copy link
Collaborator

indium-list-breakpoints calls xref--show-xrefs with a list of xrefs as argument. However, this private function takes a fetcher as argument, not a list of xrefs. The fetcher must be a function that returns xrefs (see xref--show-xref-buffer). This changed in http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=62349fe82ad42d7d2a7fb19e40860ee5d6ebd017.

@ldionmarcil
Copy link

Same issue on emacs 28.0.50.

Debugger entered--Lisp error: (cl-assertion-failed ((functionp fetcher) nil))
cl--assertion-failed((functionp fetcher))
xref--show-xref-buffer((#<xref-item xref-item-1565041d0ac0>) ((window . #<window 1 on buf.ts>) (display-action)))
xref--show-xrefs((#<xref-item xref-item-1565041d0ac0>) nil)
indium-list-breakpoints()
funcall-interactively(indium-list-breakpoints)
call-interactively(indium-list-breakpoints record nil)
command-execute(indium-list-breakpoints record)

NicolasPetton added a commit that referenced this issue Nov 3, 2020
* indium-interaction.el: Fix xref call for Emacs 27.1.
@NicolasPetton
Copy link
Owner

Fixed in master, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants