mamapanda / evil-owl

preview registers and marks before actually using them
GNU General Public License v3.0
51 stars 4 forks source link

cannot record macro with posframe display method #12

Open tshu-w opened 2 years ago

tshu-w commented 2 years ago

minimal config:

;;; emacs -Q -l ~/.config/emacs/test.el

(package-initialize)

(require 'evil)
(require 'evil-owl)

(evil-mode)
(evil-owl-mode)
(setq evil-owl-display-method 'posframe)

Backtrace:

Debugger entered--Lisp error: (error "Attempt to delete the sole visible or iconified fr...")
  posframe-delete-frame("*evil-owl*")
  posframe-delete("*evil-owl*")
  evil-owl--hide-posframe()
  evil-owl--hide-popup()
  #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_27>()
  evil-owl--eval-interactive-spec(evil-record-macro evil-owl--register-display-string)
  byte-code("\300\301\302\"\207" [evil-owl--eval-interactive-spec evil-record-macro evil-owl--register-display-string] 3)
  command-execute(evil-owl-record-macro)