alphapapa / burly.el

Save and restore frames and windows with their buffers in Emacs
GNU General Public License v3.0
301 stars 14 forks source link

wrong-type-argument listp \.\.\. when opening burly-bookmark #27

Closed Aaronzinhoo closed 1 year ago

Aaronzinhoo commented 3 years ago

Hi. I am facing an issue when saving window configs using burly-bookmark-windows. I tried closing emacs (27.1) after and reopening to my dashboard and face this error. Also I am using the master branch if that helps. I switched to the stable branch and saw the same issue so this may actually be a problem with my config. Thanks for your help and this package!

Debugger entered--Lisp error: (wrong-type-argument listp \.\.\.)
  window--state-put-1((hc (pixel-width . 2556) (pixel-height . 1349) (total-width . 256) (total-height . 71) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 1280) (pixel-height . 1349) (total-width . 128) (total-height . 71) (normal-height . 1.0) (normal-width . 0.5007824726134585) (parameters (burly-url . "emacs+burly+bookmark://main.go?filename=%22~%2Fdev...")) (buffer #<buffer main.go> (selected . t) (hscroll . 0) (fringes 8 8 nil nil) (margins 1) (scroll-bars nil 0 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 306) \.\.\.) (prev-buffers ("main.go" 1 215) ("go.mod" 1 229) ("*Messages*" 6137 13767) ("application.go" 1 66) ("angular-dex-pof" 1 336) ("magit-diff: dotfiles" 1 1) ("Dockerfile" 1 193) ("home.component.ts" 2918 4789) ("WAPT-UI" 1 310))) \.\.\.) #<window 269 on  *temp*> nil t 1349)
  window-state-put((((min-height . 4) (min-width . 20) (min-height-ignore . 3) (min-width-ignore . 9) (min-height-safe . 1) (min-width-safe . 4) (min-pixel-height . 76) (min-pixel-width . 200) (min-pixel-height-ignore . 57) (min-pixel-width-ignore . 90) \.\.\.) hc (pixel-width . 2556) (pixel-height . 1349) (total-width . 256) (total-height . 71) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 1280) (pixel-height . 1349) (total-width . 128) (total-height . 71) (normal-height . 1.0) (normal-width . 0.5007824726134585) (parameters (burly-url . "emacs+burly+bookmark://main.go?filename=%22~%2Fdev...")) (buffer #<buffer main.go> (selected . t) (hscroll . 0) (fringes 8 8 nil nil) (margins 1) (scroll-bars nil 0 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 306) \.\.\.) (prev-buffers ("main.go" 1 215) ("go.mod" 1 229) ("*Messages*" 6137 13767) ("application.go" 1 66) ("angular-dex-pof" 1 336) ("magit-diff: dotfiles" 1 1) ("Dockerfile" 1 193) ("home.component.ts" 2918 4789) ("WAPT-UI" 1 310))) \.\.\.) #<window 80>)
  burly--windows-set(#s(url :type "emacs+burly+windows" :user nil :password nil :host nil :portspec nil :filename "?%28%28%28min-height%20.%204%29%20%28min-width%20...." :target nil :attributes nil :fullness nil :silent nil :use-cookies t :asynchronous t))
  burly-open-url("emacs+burly+windows:?%28%28%28min-height%20.%204%2...")
  burly-bookmark-handler((#("Burly: test" 0 11 (bmkp-full-record #1)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))
  bookmark-handle-bookmark((#("Burly: test" 0 11 (bmkp-full-record #1)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))
  bookmark--jump-via((#("Burly: test" 0 11 (bmkp-full-record #1)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)) bmkp--pop-to-buffer-same-window)
  bmkp-jump-1(#("Burly: test" 0 11 (bmkp-full-record (#1 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))) bmkp--pop-to-buffer-same-window nil)
  bookmark-jump(#("Burly: test" 0 11 (bmkp-full-record (#1 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))))
  (lambda (&rest ignore) (bookmark-jump #("Burly: test" 0 11 (bmkp-full-record (#5 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler))))))((item :tag #(" Burly: test" 0 1 (rear-nonsticky t display (raise -0.06) font-lock-face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver) face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver)) 2 13 (bmkp-full-record (#("Burly: test" 0 11 (bmkp-full-record #7)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))) :action (lambda (&rest ignore) (bookmark-jump #("Burly: test" 0 11 (bmkp-full-record (#11 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))))) :button-face dashboard-items-face :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 914 to 927 in *dashboard*> :from #<marker (moves after insertion) at 914 in *dashboard*> :to #<marker at 927 in *dashboard*>) nil)
  widget-apply((item :tag #(" Burly: test" 0 1 (rear-nonsticky t display (raise -0.06) font-lock-face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver) face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver)) 2 13 (bmkp-full-record (#("Burly: test" 0 11 (bmkp-full-record #7)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))) :action (lambda (&rest ignore) (bookmark-jump #("Burly: test" 0 11 (bmkp-full-record (#11 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))))) :button-face dashboard-items-face :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 914 to 927 in *dashboard*> :from #<marker (moves after insertion) at 914 in *dashboard*> :to #<marker at 927 in *dashboard*>) :action nil)
  widget-apply-action((item :tag #(" Burly: test" 0 1 (rear-nonsticky t display (raise -0.06) font-lock-face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver) face (:family "FontAwesome" :height 1.2 :inherit all-the-icons-dsilver)) 2 13 (bmkp-full-record (#("Burly: test" 0 11 (bmkp-full-record #7)) (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))) :action (lambda (&rest ignore) (bookmark-jump #("Burly: test" 0 11 (bmkp-full-record (#11 (time 24568 24282 78895 100000) (visits . 0) (url . "emacs+burly+windows:?%28%28%28min-height%20.%204%2...") (handler . burly-bookmark-handler)))))) :button-face dashboard-items-face :mouse-face highlight :button-prefix "" :button-suffix "" :format "%[%t%]" :button-overlay #<overlay from 914 to 927 in *dashboard*> :from #<marker (moves after insertion) at 914 in *dashboard*> :to #<marker at 927 in *dashboard*>) nil)
  widget-button-press(914)
  dashboard-return()
  funcall-interactively(dashboard-return)
  call-interactively(dashboard-return nil nil)
  command-execute(dashboard-return)
alphapapa commented 3 years ago

Hi,

First, are you still having this problem?

If so, what is this dashboard you mentioned? Does the error only happen when using it, or when using bookmarks related to it? Can you save and restore Burly bookmarks that don't use it?

Thanks.