Earlier quoted context omitted.
Acme does this, and I love it, but most people's response to seeing Acme is "what the hell? No syntax highlighting? No autocomplete?" You can also easily create a second "view" into a file with the Zerox command, which is a nice way to look at two parts of a file at once. It's the best thing I've found for managing large numbers of buffers at once, though, and with things like acmego (go fmt + add missing imports on…
> You can also easily create a second "view" into a file with the Zerox command, which is a nice way to look at two parts of a file at once. Emacs has this too. You can look at a buffer from different windows, or clone-indirect-buffer in order to edit multiple parts of it simultaneously.
Emacs 26 Brings Generators and Threads
141–150 of 175 posts
Re: Emacs 26 Brings Generators and Threads
#142In all honesty, the main selling point of Emacs for me isn't just how configurable it is but also how performant it is in different environments. Since VSCode uses Electron editing feels sluggish, high ram and cpu usage is expected, and there's a noticable latency between keypresses. While these may seem like trivial issues, they actually negatively impact my typing experience to a high degree. I'm currently using th…
> While these may seem like trivial issues, they actually negatively impact my typing experience to a high degree. I don't think these are trivial issues at all. I do the majority of my computing work in a text editor so it's important to me that it's as performant as possible. Imagine if, in real life, there was a slight lag every time you sent a "command" (e.g. pick up coffee). It would drive you crazy. And yet a l…
> I don't think these are trivial issues at all
I'm stunned that anyone would actually be OK with "a noticable latency between keypresses" in text-editors. This might be still a thing if the whole desktop is streamed on a slow network but it shuld be completely unacceptable for normal text-editing.
(Unfortunatly I do have that problem sometimes with emacs (on cygwin) with c++-files that are too large. But I won't dismiss cygwin.)
Re: Emacs 26 Brings Generators and Threads
#143Earlier quoted context omitted.
...and if you haven't given TRAMP an honest shot, you definitely should. I took the leap not too long ago, and it is absolutely amazing. Whenever I can't access a host using TRAMP (does happen, but very rarely), I put off whatever task I have to do on that host for a very long time. The fact that TRAMP lets you open files on remote systems in and of itself is fairly mundane. What makes it really cool is that it works…
It's this sort of thing that when I first saw it on Apollo's Aegis and again later on Plan 9 it was so obviously useful I figured it would just be everywhere in no time. At then Sun touted "The Network Is The Computer (TM)" and I was like here it comes! But it hasn't quite panned out that way. Considering the number of viruses and ransomware perhaps that's a good thing but it would be cool as hell if I had shared nam…
Re: Emacs 26 Brings Generators and Threads
#144This is cool, but it's too bad folks here don't seem to have kept up with the evolution of iteratees/enumerators and free monadic computations (conduit/pipes/streaming) that other languages have pushed forwards as evolutions of the generator ideal. The net result for common iteration ops is quite nice, and has options for reasonable optimizations in the world of lisp where macros are real.
I thought the natural "successor" to generators was delimited continuations, rather than iteratees or free monads/algebraic effects. Do such streaming concepts map well to eager, imperative code? I've only encountered them in Haskell, where laziness makes stuff like co-induction/recursion trivial.
But certainly iteratees as an independent went out of fashion when conduit and pipes came on scene.
Re: Emacs 26 Brings Generators and Threads
#145Seeing generators and threads being mentioned in the release announcement of a text editor feels a bit... strange. Then again, Emacs is closer to a LISP toolkit for building text editors than it is a text editor, so I guess it's not so strange after all.
Emacs is an application platform, just like how the browsers are today. It has a nice way for making UIs: it's all text, parts interactive, and you can bind keys, make hooks and thus create decent, customisable applications in it. Add to that the possibility to update code on the go and advices, and you have a very nice place to make yours completely. I wish we had a popular OS where the main UI toolkit was similar,…
Re: Emacs 26 Brings Generators and Threads
#146Earlier quoted context omitted.
...and if you haven't given TRAMP an honest shot, you definitely should. I took the leap not too long ago, and it is absolutely amazing. Whenever I can't access a host using TRAMP (does happen, but very rarely), I put off whatever task I have to do on that host for a very long time. The fact that TRAMP lets you open files on remote systems in and of itself is fairly mundane. What makes it really cool is that it works…
It's this sort of thing that when I first saw it on Apollo's Aegis and again later on Plan 9 it was so obviously useful I figured it would just be everywhere in no time. At then Sun touted "The Network Is The Computer (TM)" and I was like here it comes! But it hasn't quite panned out that way. Considering the number of viruses and ransomware perhaps that's a good thing but it would be cool as hell if I had shared nam…
Not affiliated, just getting good use out of it.
Re: Emacs 26 Brings Generators and Threads
#147Earlier quoted context omitted.
Why would writing a patch for any other editor be easier (or less hard) than writing a patch for Emacs?
Emacs API is just insane with too many special cases or with other packages unexpectedly affecting semantics. Even after stepping in debugger I often could not be sure if the things worked like I thought they should work with too much unstructured global state that is randomly poked.
Re: Emacs 26 Brings Generators and Threads
#148Earlier quoted context omitted.
It's C-u in Emacs lingo; it pops the mark ring. Some actions like C- , M- push the position of the point to the mark ring before moving it, and when you pop the mark ring, you jump to the position that was pushed most recently.
> Some actions [...] push the position of the point to the mark ring before moving it Notably C-s and C-r (incremental search forward/backward). That in combination with C-space is the way to navigate in emacs like a pro :-) (btw: its C-u C-space. C-u space inserts 4 whitespace)
Re: Emacs 26 Brings Generators and Threads
#149Earlier quoted context omitted.
Emacs is an application platform, just like how the browsers are today. It has a nice way for making UIs: it's all text, parts interactive, and you can bind keys, make hooks and thus create decent, customisable applications in it. Add to that the possibility to update code on the go and advices, and you have a very nice place to make yours completely. I wish we had a popular OS where the main UI toolkit was similar,…
There is a window manager called stumpwm like that.
Re: Emacs 26 Brings Generators and Threads
#150Earlier quoted context omitted.
Java by many definitions is a bit like assembly language of our current times. You will end up stitching highly verbose pieces of code. Which is why Java IDEs have specific features to emit get/set functions etc. Plus you will have to access a method hiding 5 class layers below. You will need IDEs designed to do this sort of work really well. Emacs and Vi have been designed to largely play with Text, plus I think wit…
Wouldn't call assembly programming "highly verbose". If anything it's opposite - very little boilerplate, if at all.