Skip to content

Error running timer ‘minimap-update’: (wrong-type-argument window-live-p nil) #25

@Kabouik

Description

@Kabouik

Thanks for this nice package! I like to be able to enable or disable the minimap manually, but I am getting this error when scrolling when the minimap is hidden (or when scrolling in a buffer where the minimap hasn't been enabled at all):

mouse-minibuffer-check: Minibuffer window is not active
Error running timer ‘minimap-update’: (wrong-type-argument window-live-p nil)

This is my configuration related to minimap:

(global-set-key (kbd "C-c m") 'minimap-mode)

;; Customize
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(minimap-active-region-background ((t (:extend t :background "#1d1f2c" :weight light :width ultra-condensed))))
 '(minimap-current-line-face ((t (:background "#505678" :foreground "#D5E4E6"))))
 '(minimap-font-face ((t (:height 0.75 :family "Iosevka Term Medium Extended")))))

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
'(minimap-always-recenter t)
 '(minimap-dedicated-window t)
 '(minimap-hide-scroll-bar t)
 '(minimap-mode -1)
 '(minimap-recenter-type 'middle)
 '(minimap-recreate-window nil)
 '(minimap-window-location 'right))

I am new to emacs and could not figure out a way to make it detect when the minimap is hidden, and disabling the associated minimaup-update when it is (since I am assuming that this is the issue, although I am not sure). Would you have any idea on how to fix that issue please?

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