Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate nyans after reload init file #40

Open
suzuki11109 opened this issue Jun 3, 2018 · 3 comments
Open

Duplicate nyans after reload init file #40

suzuki11109 opened this issue Jun 3, 2018 · 3 comments
Labels

Comments

@suzuki11109
Copy link

This is my setting.

    (use-package nyan-mode
      :init
      (setq nyan-animate-nyancat t)
      (setq nyan-wavy-trail t)
      (setq nyan-minimum-window-width 80)
      (setq nyan-bar-length 20)
      (nyan-mode))

This is what happen.
screen shot 2018-06-03 at 13 37 25

Thanks!

@novoid
Copy link

novoid commented Jul 8, 2018

I do have the same issue of nyan cats that got schizo but it doesn't need reloading my init file. The issue occurred a couple of weeks ago. Unfortunately, I don't have an idea what was changed before the issue appeared. I don't know how to debug the issue.

Version 1.1.2 from Melpa stable with setup:

(use-package nyan-mode
  :ensure t
  :init
  (when (my-system-type-is-windows)
    (setq nyan-bar-length 20);; reduce length on narrow upward/tilted display
  )
  :config
  (nyan-mode t)
)

The issue persists on Windows and non-Windows machines (referring to the switch above) with different Emacs versions: 25.1.1 Linux, 26 Windows, 27.0.50 Linux

My temporal workaround is to M-x nyan-mode RET once after starting Emacs in order to get rid of the second one.

@TeMPOraL TeMPOraL added the bug label May 26, 2020
@TeMPOraL
Copy link
Owner

Please try it with the current versions. I have two theories as to why this happens, but the current solution only addresses one of them. The relevant code is in need of slight overhaul anyway, so I hope to solve it soon-ish.

@novoid
Copy link

novoid commented May 26, 2020

I do not run the Windows machine any more.
On my current machines (Emacs 26.3, 27.0.50, 28.0.50) on Debian 10 and Xubuntu with nyan-mode-20170423.740 the issue is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants