xuchunyang / github-notifier.el

Displays your GitHub notifications unread count in Emacs mode-line
32 stars 6 forks source link

Error during redisplay: (eval (let (unread-text help-text).... #14

Open sshaw opened 6 years ago

sshaw commented 6 years ago

Just installed 26.1 and got this error. Not sure if it's 26.1 or maybe #13?

Loading /Users/skyes/.emacs.d/.cask/26.1/elpa/github-notifier-20180420.2016/github-notifier.elc...done
Github-Notifier mode enabled
Error during redisplay: (eval (let (unread-text help-text) (cond ((null github-notifier-unread-count) (setq unread-text "-?" help-text "The Github notifications number is unknown.")) ((zerop github-notifier-unread-count) (setq unread-text "" help-text "Good job, you don't have unread notification.")) (t (setq unread-text (format "-%d%s" github-notifier-unread-count (if (github-notifier-notifications-checked) "*" "")) help-text (if (= github-notifier-unread-count 1) "You have 1 unread notification.
mouse-1 Read it on Github." (format "You have %d unread notifications.
mouse-1 Read them on Github." github-notifier-unread-count))))) (when (> github-notifier-unread-count 0) (propertize (concat " GH" unread-text) (quote help-echo) help-text (quote local-map) github-notifier-mode-line-map (quote mouse-face) (quote mode-line-highlight))))) signaled (wrong-type-argument number-or-marker-p nil)

This happens when running emacs -Q and M-x github-notifier.

sshaw commented 6 years ago

Also seeing under 25.3.1.

sshaw commented 3 years ago

Completely forgot about this. Then I installed Emacs 27 and encountered this error again and, here I am!