temporal / nyan-mode Goto Github PK
View Code? Open in Web Editor NEWNyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!
License: GNU General Public License v3.0
Nyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!
License: GNU General Public License v3.0
Moved from source comments. Probably irrelevant by now.
Good evening,
Tonight I am writing to humbly put in a request for you to tag this project.
The reason is that a lot of users want to rely on a "numbered" release, by
the most broad definition of the term. For me, it is really simple, I am setting
up a "kind of stable" Emacs configuration of my system here https://github.com/grettke/home/blob/master/.emacs.el
and I would like to rely 100% just one tag. Whenever a "kind of stable" version
is ready, another tag would be super, too.
You might already have the most stable version in the mainline; and tagging it
would make it crystal clear to new users. Perhaps you have already released such
a version elsewhere, and if so, my apologies, and where does it live?
Stable is not the best word here. It just means that the project lives on GitHub
and that it has a tag. It doesn't mean that the software is perfect, it just
means that it is tagged. That tag gives users a version to settle on and go on
with their life is all.
I've used your package for a long time, love it, and so do many, many others.
This is a way to get that project out to the other thousands and thousands of
users who also rely upon MELPA stable.
All it takes is for you to create a tag, and within hours, it will show up on
MELPA stable.
Can't wait to hear about what you think and whether or not a tag is in this
project's future!
Kind regards,
Grant Rettke
It's madness
After updating my Emacs from 25.x to 26.2, my Nyan cat is in text only, not displaying the xpm graphics.
nyan-mode-1.1.2 from elpa with emacs-version 26.2 from https://github.com/m-parashar/emax64/releases/tag/emax64-26.2-20190417 on latest Windows 10.
I checked the img
folder and made sure that my Emacs is able to display the xpm files as graphic which it does.
So maybe there is an issue with the latest Emacs version. Let me know if I should check something.
I noticed, that all of my mode-line icons are replaced with their text counterparts: m-parashar/emax64#23 - maybe it is good to keep this issue open for others who recognize this behavior. I'll close it when the other issue is solved.
More specifically, http://nyan-mode.buildsomethingamazing.com/. Perhaps it would make more sense to use Github's page service?
~: cd .emacs.d/elpa/nyan-mode-20150128.1218/ 15:44:45
~/.e/e/nyan-mode-20150128.1218: ls 15:44:50
img nyan-mode-autoloads.el nyan-mode-pkg.el nyan-mode.el nyan-mode.elc
The home page URL in melpa and also on the github version is http://nyan-mode.buildsomethingamazing.com but that site is no longer showing nyan-mode. Is there an updated home page url?
$ emacs --version
GNU Emacs 24.5.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Enabling nyan on my laptop causes a pretty long delay when scrolling vertically by holding down C-n. What can I do to provide you with relevant info?
It would be pretty cool to be able to click the nyan-bar to scroll to that position in the file.
Or to drag nyan to where I want to read.
The next step would then be
(scroll-bar-mode -1) ; nyan wins :)
When animation is enabled, button highlight is broken.
So if I move my cursor (mouse) onto a button, the highlight will show up for like 0.1s,
then it's gone, instead of staying highlighted.
I have reproduced this by starting a vanilla Emacs and load nyan-mode.
To reproduce:
emacs -q
(nyam-mode)
(nyan-animate-nyancat)
M-x customize
(there are a lot of buttons in customize homepage)This is the error I get when I try to enact nyan mode. I see the note about the .png branch - can you please tell me how I can install it?
I think there is a memory leak if the animation is activated. I opened emacs and just left it inactive while I was watching its memory consumption and it was eating memory gradually. In my office desktop where I only have 8GB of RAM, Linux reached the memory limits and stopped responding.
I disabled the Nyan-mode's animations and emacs stoped eating my RAM like a crazy
Narrowing the buffer seems to result in the length of the rainbow trail being too short. It seems that the trail length is calculated as something like (position within visible region)/(length of whole buffer), where it should be (position within visible region)/(length of visible region).
Emacs 25.2.1, Trisquel 7.0.
Sorry, didn't create a formal pull request for this trivial change.
Please add "*.elc" to the .gitignore file so that pre-compilation of the .el file to .elc doesn't trigger a dirty working directory.
Thanks,
Jeff
Could you add the possibility to customize nyan.xpm and rainbow.xpm?
I have edited these two files with convert from imagemagick.
But, I have to keep replacing the original files when I update or compile Emacs packages.
https://i.imgur.com/WzW9NXb.png
Do you want this two edited files for you to add to nyam and make a way to choose between rainbow and black-white?
If I have especially small windows in my frame (e.g. a sixteenth of the maximized frame) nyan cat will push all of the extra information out of the lower bar (modes, line number, git info, etc.). Perhaps it would be best to disable nyan cat for those cases, or make a resizable nyan that adapts to the window size?
Hello! Nice project, it's a pleasure to work with it 🌈🍞🐱
I got some trouble with the music: I don't have any decoders for mp3 (this is a bare fedora machine) and no mplayer installed. It's no problem to convert the song to wav, but how about mplayer, could give it a try and replace it with a play
command running in a loop?
Thanks in advance
I apologize that this question is somewhat outside the scope of the repo, but I figured this is the best place to ask it. Is there a terminal within which nyan-mode will display the graphical nyan cat when Emacs is running in terminal mode?
MooGNU (https://archive.org/details/M00GNU) is a copyleft alternative to nyan cat.
["(*^ー゚)" "( ^ー^)" "(^ー^ )" "(゚ー^*)"]
when you in the console/terminal, you can see those character emoji
nyan-mode.el needs rename to nyan.el to be loaded by (require 'nyan)
File should end with
;;; nyan-mode.el ends here
to be compatible with package.el. Test by doing (package-buffer-info)
within the .el file.
Got 404 for Read the story so far!
link.
BTW, nyan-mode is awesome.
I noticed that Emacs was hitting my CPU pretty heavily and traced the problem back to a lingering nyan-animation-timer that was spinning despite my having disabled nyan-mode.
Emacs version 26.3, nyan-mode 1.1.2
CPU usage should stop when disabling nyan-mode.
After step (9) above, M-x list-timers shows that the nyan-animation-timer is still spinning. This forces an expensive mode-line update every second. The problem is that the timer only gets canceled through customizing nyan-animate-nyancat, not through disabling the actual mode.
I want to make both of molokai-theme-kit(a mode-line theme) and nyan work. How to do this?
Read the story so far! points to an invalid page.
I'll see if I can work out a pull request to check if nyan-mode
is already active, just recording the issue.
so meow
such pastry
many nyan
Click to scroll buffer to point scrolls wrong buffer
Steps:
Emacs complain about this but when I went into config.el in colors layer, colors-enable-nyan-cat-progress-bar
is there
(defvar colors-enable-nyan-cat-progress-bar nil
"If non nil all nyan cat packages are enabled (for now only `nyan-mode').")
I use spacemacs and add nan-mode into it.
Any ideas?
Here's the relevant section of my emacs.d/init.el:
(require 'nyan-mode)
(setq nyan-wavy-tail t)
(setq nyan-bar-length 20)
(setq nyan-animate-nyancat t)
(nyan-mode)
The bar is 20 units, but it's not wavy or animated. :(
(I love nyan-mode!)
Hi,
I always use nyan-mode
. But I am tired of seeing warnings about cl
being depreciated. Could cl
be removed from nyan-mode
?
As far as I can tell, the only reliance on cl
is a lexical-let
.
Would there be any issues with turning lexical-binding
on for the buffer and getting rid of the lexical-let
?
It seems to work for me.
Like this:
-;;; nyan-mode.el --- Nyan Cat shows position in current buffer in mode-line.
+;;; nyan-mode.el --- Nyan Cat shows position in current buffer in mode-line. -*- lexical-binding: t -*-
+
;; Nyanyanyanyanyanyanya!
;; Author: Jacek "TeMPOraL" Zlydach <[email protected]>
@@ -52,8 +53,6 @@
;;; Code:
-(eval-when-compile (require 'cl))
-
(defconst +nyan-directory+ (file-name-directory (or load-file-name buffer-file-name)))
(defconst +nyan-cat-size+ 3)
@@ -230,7 +229,7 @@
(defun nyan-add-scroll-handler (string percentage buffer)
"Propertize `STRING' to scroll `BUFFER' to `PERCENTAGE' on click."
- (lexical-let ((percentage percentage)
+ (let ((percentage percentage)
(buffer buffer))
(propertize string 'keymap `(keymap (mode-line keymap (down-mouse-1 . ,(lambda () (interactive) (nyan-scroll-buffer percentage buffer))))))))
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.