News for hackers. Stuff that matters.
Re:Emacs standing alone on a Linux Kernel (2004) by JulianMorrison on Wednesday November 02, 2016 @10:07AM (#12854828)
It's a nice operating system but someone needs to port a decent text editor.
Re:Emacs standing alone on a Linux Kernel (2004) by mnw21cam on Wednesday November 02, 2016 @10:11AM (#12854875)
Never mind, you can always execute an instance of vim from your emacs shell.
Re:Emacs standing alone on a Linux Kernel (2004) by eth0up on Wednesday November 02, 2016 @11:20AM (#12855657)
Systemdemacs will take care of that.
Re:Emacs standing alone on a Linux Kernel (2004) by lima on Wednesday November 02, 2016 @10:38AM (#12855165)
someone did: evil-mode
Re:Emacs standing alone on a Linux Kernel (2004) by cmrx64 on Wednesday November 02, 2016 @10:12AM (#12854886)
spacemacs ;)
Re:Emacs standing alone on a Linux Kernel (2004) by chongli on Wednesday November 02, 2016 @11:19AM (#12855647)
I tried spacemacs for a while but I got tired of fighting all the little idiosyncratic differences from real vi. Trying to replicate a sophisticated interface like that, especially one that allows the buildup of muscle memory, is always going to be a fraught problem. It's the Anna Karenina principle [0]:

Happy families are all alike; every unhappy family is unhappy in its own way.

[0] https://en.wikipedia.org/wiki/Anna_Karenina_principle

Re:Emacs standing alone on a Linux Kernel (2004) by JulianMorrison on Wednesday November 02, 2016 @10:58AM (#12855406)
To clarify this gnomic reply: http://spacemacs.org/ it's sort of a modal emacs with live keybinding display.
Re:Emacs standing alone on a Linux Kernel (2004) by cmrx64 on Wednesday November 02, 2016 @11:09AM (#12855536)
And it integrates many "vimisms" via evil-mode. I'd been a vim user for a long time but was increasingly dissatisfied as I got deeper into extending it. I've found the opposite of emacs (especially with spacemacs) almost a year into the "conversion".

One example that I've come around with was an initial extreme distaste of dynamic binding/non-lexical scope, from a PL standpoint of writing robust software.

But it's also super nice for incremental, interactive development.

Re:Emacs standing alone on a Linux Kernel (2004) by sevensor on Wednesday November 02, 2016 @11:41AM (#12855928)
Having tried spacemacs, I bounced back to vim. Even though vim is just a tiny bit more responsive, it's enough to make emacs feel laggy. Granted, I use extensions very lightly, so I'm not feeling the qualitative difference of being able to do something in spacemacs that's impossible in vim.
Re:Emacs standing alone on a Linux Kernel (2004) by johanvts on Wednesday November 02, 2016 @11:51AM (#12856059)
What do you mean laggy? In the response time when typing or the time to start a new instance of emacs? If it's the first did you try emacs -q to check that you don't have something strange in you setup. If it's the latter, did you check out emacs --daemon ?
Re:Emacs standing alone on a Linux Kernel (2004) by sevensor on Thursday November 03, 2016 @08:41AM (#12863472)
I did give emacs --daemon a try, and that definitely helped with the long startup time. I went so far as to alias vim to emacsclient -t. But what I mean when I say it was laggy is that typing and cursor movement are ever so slightly less responsive. Not MS Word on Windows 3.0 laggy, just enough for me to notice the difference. I dug into it a little bit with spacemacs and vim open side by side, and according to top, spacemacs was using about 10x the CPU of vim.
Re:Emacs standing alone on a Linux Kernel (2004) by poizan42 on Wednesday November 02, 2016 @12:08PM (#12856290)
You could make an llvm backend that outputs elisp and then build vim with it :)
Re:Emacs standing alone on a Linux Kernel (2004) by mistaken on Wednesday November 02, 2016 @10:22AM (#12854999)
Somone should port emacs to boot directly from the BIOS :)
Re:Emacs standing alone on a Linux Kernel (2004) by erikj on Thursday November 03, 2016 @04:19AM (#12862329)
You can include it in coreboot.
Re:Emacs standing alone on a Linux Kernel (2004) by liquidzoot on Wednesday November 02, 2016 @10:57AM (#12855393)
Imagine writing drivers in elisp.
Re:Emacs standing alone on a Linux Kernel (2004) by anthk on Wednesday November 02, 2016 @11:05AM (#12855478)