chuntaro / emacs-keypression

Keystroke visualizer for GUI version Emacs.
122 stars 4 forks source link

(wrong-type-argument stringp (nil)) #22

Open jcs090218 opened 1 month ago

jcs090218 commented 1 month ago

I think this error appeared in Emacs version 29 or above. 🤔

I've tested on both macOS and Windows 11 with emacs -q.

Debugger entered--Lisp error: (wrong-type-argument stringp (nil))
  x-create-frame(((visibility) (ns-transparent-titlebar . t) (bottom-divider-width . 1) (right-divider-width . 1) (parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (z-group) nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  x-create-frame-with-faces(((ns-transparent-titlebar . t) (bottom-divider-width . 1) (right-divider-width . 1) (parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group) (foreground-color . "#404040") (background-color . "AntiqueWhite") nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (visibility) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  #f(compiled-function (params) #<bytecode -0x1d95d7b2fa00ead1>)(((ns-transparent-titlebar . t) (bottom-divider-width . 1) (right-divider-width . 1) (parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group) (foreground-color . "#404040") (background-color . "AntiqueWhite") nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (visibility) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  apply(#f(compiled-function (params) #<bytecode -0x1d95d7b2fa00ead1>) ((ns-transparent-titlebar . t) (bottom-divider-width . 1) (right-divider-width . 1) (parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group) (foreground-color . "#404040") (background-color . "AntiqueWhite") nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (visibility) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  frame-creation-function(((ns-transparent-titlebar . t) (bottom-divider-width . 1) (right-divider-width . 1) (parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group) (foreground-color . "#404040") (background-color . "AntiqueWhite") nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (visibility) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  make-frame(((parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group) (foreground-color . "#404040") (background-color . "AntiqueWhite") nil (parent-frame . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (keep-ratio nil) (fullscreen) (no-accept-focus . t) (no-focus-on-map . t) (modeline) (skip-taskbar . t) (user-size . t) (user-position . t) (icon-type nil) (min-width . 0) (min-height . 0) (border-width . 0) (internal-border-width . 0) (vertical-scroll-bars) (horizontal-scroll-bars) (left-fringe . 8) (right-fringe . 8) (menu-bar-lines . 0) (tool-bar-lines . 0) (tab-bar-lines . 0) (line-spacing . 0) (unsplittable . t) (no-other-frame . t) (undecorated . t) (visibility) (cursor-type) (minibuffer) (width . 1) (height . 1) (no-special-glyphs . t) (inhibit-double-buffering) (desktop-dont-save . t)))
  keypression--create-frame(#<buffer  *keypression-0*> :override-parameters ((parent-frame #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (delete-before . #<frame Emacs - jenchieh@RQ3JT74M3Y-jenchieh.local.meter: 📌  *Minibuf-1* 0x142f89030>) (font) (z-group)) :foreground-color "#404040" :background-color "AntiqueWhite" :left-fringe 8 :right-fringe 8)
  keypression--initialize()
  #f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>)(toggle)
  funcall-interactively(#f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle)
  apply(funcall-interactively (#f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle))
  message-clean-mode--apply(t #f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle)
  apply(message-clean-mode--apply t #f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle)
  message-clean-mode--echo(#f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle)
  apply(message-clean-mode--echo #f(compiled-function (&optional arg) "Keystroke visualizer for GUI version Emacs.\n\nThis is a global minor mode.  If called interactively, toggle the\n`Keypression mode' mode.  If the prefix argument is positive,\nenable the mode, and if it is zero or negative, disable the mode.\n\nIf called from Lisp, toggle the mode if ARG is `toggle'.  Enable\nthe mode if ARG is nil, omitted, or is a positive number.\nDisable the mode if ARG is a negative number.\n\nTo check whether the minor mode is enabled in the current buffer,\nevaluate `(default-value \\='keypression-mode)'.\n\nThe mode's hook is called both when the mode is enabled and when\nit is disabled." (interactive #f(compiled-function () #<bytecode 0xd102fa4d2487d33>)) #<bytecode -0xdd37964572409c3>) toggle)
  keypression-mode(toggle)
  funcall-interactively(keypression-mode toggle)
  call-interactively(keypression-mode record nil)
  command-execute(keypression-mode record)
  execute-extended-command(nil "keypression-mode" nil)
  funcall-interactively(execute-extended-command nil "keypression-mode" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
jcs090218 commented 1 week ago

@chuntaro Friendly ping. :)