Show HN: A fireplace for Emacs
github.com
github.com
> think to myself "Oh, did someone port Vim-fireplace to emacs? But why? Must be for fun, let's check it out"
> see repo
> "Emacs users"
They did! And because Emacs has a time machine module, they did it before vim-fireplace existed, the bastards!
C-t M-u C-M-S-y <year>
For those of you without Emacs experience.Unfortunately, I'm having a little problem "regulating the heat": C-+ is supposed to make the fire bigger, C-- smaller. When I run this in a tty, neither of the two does anything. When I run it under X, C-+ moves the fire down and C-- moves it up. Is it just me or is that a bug? (Running elementaryOS Freya.)
At least is does in a graphical environment. Like I said, it doesn't work in terminal.
Go explore.
Edit: ok, I tried what I said. Not that great. Frame rate is really too low.
Edit2: http://imgur.com/a/g0JYu
I think we can do even better, though. Only two colours? Only using solid blocks? We should be able to get beautifully smooth 256x256 (dithered) colour!
Why.
BRB, going to play GTA clone in my editor.
In seriousness though, why not? He probably had a good time writing it, learned a thing or two, and now has something fun to show off. "Why" doesn't need an answer if it's fun. Besides, the odds are that "hey, look at how this code makes a fireplace" will get someone interested in coding who was bored by "hey, look how this code lets me manage a large database of packages."
> You must be a vim user...
Best. Reply. Ever.
(Full disclosure: I used Vim for about four years, then switched to emacs. So I know and like both editors, but prefer emacs.)
I mean, vim's modal language is more expressive, and you can get things done faster, but if I am coding I want most of my brain power to be on the algorithm I write, and I find that sometimes coming up with cool vim motions to do what I need to do instead of up-up-up-delete-up-up-up-delete etc. pulls me out of the zone a little bit because I have to engage my brain more.
For pure fun editing yes, I agree that modal editing is cool, and it is quite nice to be able to do complex text changes without really ever using the cursor keys, but when I am deeply concentrating I don't know, I don't care if I take two seconds longer to do something because I use the cursor keys because in the end those two seconds are seconds I use to think about the problem at hand anyways, which is not "how do I get to that spot and do that text change as quickly as possible"
Not sure, maybe if I give it more time it will become more automatic, but after a few weeks of mostly vim/evil-mode editing I still reach for emacs when doing "serious work"
> (why 'emacs-fireplace)
"Why not?"
>The answer is difficult.
Ours is not to reason why, ours is but to do and die.
> Ours is not to reason why, ours is to do so that no one has to die.
Because we can.
Or perhaps he's trying to salvate us all...
Have they ported a good text editor to Emacs yet?
There's even an emacs distribution built around it https://github.com/syl20bnr/spacemacs