Live data from Hacker News

Emacs 27.2

lists.gnu.org

11–20 of 115 posts

Re: Emacs 27.2

#11

Anyone running the jit Emacs? Can't wait for it. I did try compiling it from source for my linux setup. Would love to see it on windows.

> Anyone running the jit Emacs?

I'm running the "native-comp" (libgccjit) branch daily since months and months now: not a single problem here and I've got quite a "heavy" config (thousands of lines of custom config and all the usual suspects: magit / org-mode / lsp / cider etc.).

> I did try compiling it from source for my linux setup.

And it worked? Worked on the first try for me (on the Debian distro).

I was somehow expecting lots of problems (because it's one heck of a change) but it really all just compiled and worked perfectly fine.

Re: Emacs 27.2

#12

Anyone running the jit Emacs? Can't wait for it. I did try compiling it from source for my linux setup. Would love to see it on windows.

I've been using it for a few months on wsl and it's been great. I'm using the Nix package and have run into only a couple of minor issues.

Re: Emacs 27.2

#13

Anyone running the jit Emacs? Can't wait for it. I did try compiling it from source for my linux setup. Would love to see it on windows.

> Anyone running the jit Emacs? I'm running the "native-comp" (libgccjit) branch daily since months and months now: not a single problem here and I've got quite a "heavy" config (thousands of lines of custom config and all the usual suspects: magit / org-mode / lsp / cider etc.). > I did try compiling it from source for my linux setup. And it worked? Worked on the first try for me (on the Debian distro). I was someho…

I followed this tutorial from mastering emacs blog iirc. I built it inside docker. I think it worked on the first try for me as well. I didn't use it much since it was in docker.

Re: Emacs 27.2

#14
I've used Emacs for almost 5 years now and it has served me well. In the beginning it was frustrating and confusing, but now that I understand it, it's the way I naturally interact with code on my computer. The fact that so many gnu tools have movement similar to Emacs means that I can quickly become more effective in them. The fact that my work Macbook allows me to do some rudimentary movement with C-a, C-e, C-f, C-n brings me joy.

Emacs rewards me for learning it better, and when I think about what it does, and is capable of doing, I'm just in awe. I highly recommend reading Mastering Emacs if you would like to become a more effective Emacs user.

After using it for years I can say my single biggest gripe with Emacs is its performance. Elisp is powerful but slow, and has many warts. The developments with GccEmacs excites me, and there is still GuileMacs. As a more experienced user Emacs frustrates me because at times I demand too much of it. And when that happens, I try to temper that frustration with the understanding that the program is 36 years and 5 days old to the day, and has outlived many other pieces of software. Computers looked different in 85 than they did today, and the fact that I have saved truly days of programming time due how effective it makes me cannot be overlooked.

I want Emacs to continue to improve. I want it to get even better than it already is, but I am so grateful for the people who have made it what it is today.

Re: Emacs 27.2

#15

Anyone running the jit Emacs? Can't wait for it. I did try compiling it from source for my linux setup. Would love to see it on windows.

I've been using it for a few months on wsl and it's been great. I'm using the Nix package and have run into only a couple of minor issues.

That's a good idea, will finally try nix package manager on windows.

Re: Emacs 27.2

#16

Anyone running the jit Emacs? Can't wait for it. I did try compiling it from source for my linux setup. Would love to see it on windows.

I have compiled straight from source on the feature/native-comp branch, and it works noticeably much faster. I am actually scared of going back to the regular Emacs, as I may find it way too slow.

I am not sure how much it is from native Emacs, as when I did this, I also enabled all the other recommended optimizations from lsp (increasing the gc threshold early in the config, installing and compiling with native json support etc.)

As far as I know, the latest branch has all the necessary flags enabled, so you can just do

    ./autogen.sh && ./configure --with-nativecomp --with-xwidgets --with-json && make -j4 && make install
after you installed the dependencies and cloned the Emacs repo (--with-nativecomp may actually be set to default now in this branch). You also need a very recent version of gcc, as the libgccjit is somewhat new, and it may err on the compilation process.

Re: Emacs 27.2

#17

I've used Emacs for almost 5 years now and it has served me well. In the beginning it was frustrating and confusing, but now that I understand it, it's the way I naturally interact with code on my computer. The fact that so many gnu tools have movement similar to Emacs means that I can quickly become more effective in them. The fact that my work Macbook allows me to do some rudimentary movement with C-a, C-e, C-f, C-…

I prefer vim as an editor, but in terms of being a unique and fascinating piece of software, emacs wins hands down. There's something really cool about the fact that you can't easily answer the question, "What is emacs similar to?", because it's such a total sui generis.

Re: Emacs 27.2

#18
post #17

I've used Emacs for almost 5 years now and it has served me well. In the beginning it was frustrating and confusing, but now that I understand it, it's the way I naturally interact with code on my computer. The fact that so many gnu tools have movement similar to Emacs means that I can quickly become more effective in them. The fact that my work Macbook allows me to do some rudimentary movement with C-a, C-e, C-f, C-…

I prefer vim as an editor, but in terms of being a unique and fascinating piece of software, emacs wins hands down. There's something really cool about the fact that you can't easily answer the question, "What is emacs similar to?", because it's such a total sui generis.

Viper mode could give you the best of both worlds, depending on what you like about vim. If it's the key navigation, viper has you covered.

Re: Emacs 27.2

#20
post #18
post #17

Earlier quoted context omitted.

I prefer vim as an editor, but in terms of being a unique and fascinating piece of software, emacs wins hands down. There's something really cool about the fact that you can't easily answer the question, "What is emacs similar to?", because it's such a total sui generis.

Viper mode could give you the best of both worlds, depending on what you like about vim. If it's the key navigation, viper has you covered.

spacemacs has a very complete vim layer. By far it's the most complete implementation outside of actual vim I've seen.
Post reply on HN