Skip to content

embark-verbose-indicator-display-action can result in error with popup-frames #777

@Thaodan

Description

@Thaodan

When calling (embark-action) if pop-up-frames is active
(either t or 'graphic-only) the default value of embark-verbose-indicator-display-action will result in the
error below.

I haven't fully tested with but what to document the issue in case
someone else might encounter it.

The values besides the default that caused the error for me where:

  • display-buffer-reuse-window (the default)
  • '(display-buffer-below-selected (window-height . fit-window-to-buffer))
    • If embark-action is called outside of a minibuffer no error
    • When calling from a minibuffer such as in M-x the error
      happens.

Both bottom of the frame options don't cause errors.

Backtrace:

Debugger entered--Lisp error: (error "handle-switch-frame must be bound to an event with parameters")
  command-execute(handle-switch-frame)
  #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_78>(:action handle-switch-frame :quit t :orig-type command :orig-target "piem-lei-q" :bounds nil :type command :target "piem-lei-q")
  embark--run-around-action-hooks(handle-switch-frame (:orig-type command :orig-target "piem-lei-q" :bounds nil :type command :target "piem-lei-q") t)
  #f(compiled-function () #<bytecode -0x11af92ad7d7cdf60>)()
  apply(#f(compiled-function () #<bytecode -0x11af92ad7d7cdf60>) nil)
  #f(compiled-function () #<bytecode 0x14a7c8edb02c9aa4>)()
  #f(compiled-function () #<bytecode -0x1d643992603c0cc2>)()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions