6 ms·
Acme is an incredible, fascinating editor... that relies too much on rat wrestling to be useful to me. I really find it interesting how it takes advantage of Pl
by bitwize 6y ago
Acme is an incredible, fascinating editor... that relies too much on rat wrestling to be useful to me. I really find it interesting how it takes advantage of Plan 9's aggressive Unix philosophy to provide functionality that would've been plugins or extensions in other editors as separate C programs or scripts.
But having to use the mouse for everything just drives me nuts. It's easier for my fingers to acquire even Emacs keybindings than it is for me to acquire the mouse and point at something with any precision.
- zeveb 6y agoIt is definitely an interesting editor, and it has some neat ideas. But when I compare the masterpiece that is Acme on Plan 9 with the — frankly — cobbled-together heap that is Emacs … I would prefer to use Emacs, because Emacs does more for me than Acme on Plan 9. I think that says a lot about the fundamental power of dynamic languages in general and Lisp in particular. Plan 9 is in a lot of ways the zenith (or … heh … acme) of what C and Unix can do. It is awesome, it is wonderful, it is better in every technical way than Linux or true Unix. But it pales in comparison to the hacked-together incomplete Lisp machine that is Emacs. Imagine how much better off we would be with true Lisp machines on our desks and in our data centres! (in my ideal world this 21st-century Lisp machine would actually take a lot of ideas from Plan 9, and even some from Emacs)
- mhd 6y agoHave you had a look at Oberon? That's where Acme took most of its stuff from, and it being a fully integrated language, the interfaces between the parts are a lot cleaner. That's what Oberon, Smalltalk and even Emacs Lisp have that's not as good in Unix. Files full of plain text plus executables are a good foundation, but they're also quite unstructured and so is communication between them. Command line parameter parsing is an absolute nightmare. Whereas if you use a language directly, that's just function parameters and you're also not restricted to arrays of strings as your sole communication format. Not that Emacs is doing all that it can with that, as it's usually used as an intermediary between a high-falutin' language environment and text files.
- zeveb 6y ago> Have you had a look at Oberon? No, but it is on my list of things to look at when I get some free time. It sounds like another one of those tantalising might-have-beens. One of my retirement projects will be to write an OS as it should be, given what we have learned from decades of research and use. I imagine that I will never complete it, but it will give me something to do with my time!
- coliveira 6y ago> is the acme of what C and Unix can do No way, acme is just ONE direction for Unix and C. Vi is another direction, as well as a ton of other editors that were made for Unix and C.
- zeveb 6y agoI was making a pun: 'acme' means the highest point. But I also disagree with you: acme is strictly more powerful than vi, and vim is just a Greenspunned Emacs. Greenspun's Tenth Rule holds that 'any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp'; I contend that vim is an ad-hoc, informally-specified[0], bad-taste (seriously, have you ever looked at Vimscript?) reimplementation of Emacs's functionality. It does, however, have better keybindings than Emacs does by default. 0: outside of the POSIX stuff it gets from vi, that is
- coliveira 6y agoEmacs is built on Unix like vi and everything else. The fact that vi has a less elegant language doesn't affect me, because I don't see much value in adding extensions to the editor. What I need is a sane user interface, which vim provides.
- abjKT26nO8 6y agoThe original Emacs was written for Multics at a time when people outside of Bell Labs were largely unaware of the existence of Unix[1]. It also doesn't follow the Unix philosophy of making small CLI utilities composed with pipes. As I understand it (though I haven't used it), Acme is extended with external programs which communicate through pipes just like the traditional Unix utilities. [1]: https://www.jwz.org/doc/emacs-timeline.html https://www.jwz.org/doc/emacs-timeline.html
- coliveira 6y agoThe first version of Emacs was not made in lisp, instead it used TECO, a horrible programming editor/programming language.
- mhd 6y agoSometimes it just feels faster to think about and execute keyboard shortcuts, although the actual tests I've read about that seem to be from the early Macintosh age, which feels a bit like measuring anything by looking at your university's students...
- appleflaxen 6y agoI don't understand what you're saying. That evidence of keys being faster than the mouse are old? Why would the speed change over time? It's measuring the human, not the machines; and we are no faster.
- struxure 6y agoI think speed could change over time because our generation uses computer and common shortcuts from childhood. People who participated in the study could have been much less experienced users at that time and the shortcuts might have been less established and more varying from platform to platform
- mhd 6y agoThat's an assumption that needs to be verified. Sure, over a generation it's quite unlikely that evolution made for better mouse users. But we don't need to go that far. I mean, when you were testing during the development of the Mac, it was what, 1983? The mouse was a new thing, CUA didn't exist yet, I doubt that many vim and emacs users were part of the target group. I doubt that speed changes if you test the same demographic as back then, although it's harder to find people as unaccustomed to mice. In addition, has there ever been a test that includes mouse chords as used in Acme/Oberon?
- jxy 6y agoIt is convenient with a pointer or trackpad close to your thumb. Three buttons associated with such pointer or trackpad would be nice, but it would work much better with more buttons. Two or three buttons for each hand would be awesome.
- yiyus 6y agoI used acme for years with a laptop and no external mouse, just using the trackpad (and trackpoint). I never missed more buttons.
- jxy 6y agoSo currently control, option, and command are three buttons. I'm wondering if it would be better with the left and right sides functioning differently. You could get many more chording combinations.
- bitwize 6y agoSorry, but a trackpad or TrackPoint just makes things worse. It's much harder to precision-highlight a chunk of text with those than with the mouse (or my Logitech TrackMan).
- jeromenerf 6y agoIt would not be infuriating if basic movements were possible using the keyboard, such as the classic left-down-up-right. As for key binding, it’s pretty easy to add that as external tools, thanks to the 9p interface.
- 4ad 6y agoLeft and right already works. Up and down can't work, because acme was designed for proportional fonts, and many of us acme users use proportional fonts. Up and down are not well defined/not useful with proportional fonts.
- anamexis 6y agoUp and down works just fine in just about every word processor out there, using proportional fonts.
- ardy42 6y ago> Up and down can't work, because acme was designed for proportional fonts, and many of us acme users use proportional fonts. Up and down are not well defined/not useful with proportional fonts. It can work with proportional fonts. Word for instance defines it well enough to be useful. Rather than down taking you to the same column on the next line, it just takes you to the character rendered at a similar x coordinate on the next line.
- 4ad 6y agoAnd this is useful when writing code how? I'd use such a feature if I had to fill a table, and wanted to move to the same column on a different row. But with proportional fonts, the columns don't line up. So yes, it can move to the same x coordinate, but why is this useful?
- ardy42 6y ago> And this is useful when writing code how? It's useful for general text navigation, and writing code is an instance of that. > I'd use such a feature if I had to fill a table, and wanted to move to the same column on a different row. But with proportional fonts, the columns don't line up. So yes, it can move to the same x coordinate, but why is this useful? "Doesn't work well for use case X" != "not useful [in general]" If your text is laid out assuming fixed-width fonts, and it's important for you to move to the same column in a different row, then just use fixed-width fonts and the method I described would work as you expect.