Live data from Hacker News

A Tour of the Acme Editor

research.swtch.com

41–50 of 91 posts

Re: A Tour of the Acme Editor

#41
post #36

Conceptually I love Acme, but the three-button mouse thing has turned out to be a real problem for me. I don't think I can work without a scroll mouse, and I've never found a mouse that has both three real buttons and a scroll wheel. Can anybody recommend one?

You can click the scroll wheel, although I find that causes hand pain for me. Another option would be http://www.amazon.com/IBM-3-Button-Scrollpoint-Optical-Mouse... but in my opinion the scrollpoint kinda sucks.

Re: A Tour of the Acme Editor

#42
post #38

How do you indent with spaces instead of tabs?

Execute the command "Indent on" to turn auto-indent on for the current window. Acme will then automatically insert the same indentation as the previous line for every new line you make. I just tested, it works with tabs and spaces. (But don't use spaces :-)

Re: A Tour of the Acme Editor

#43
Russ do you prepend plan9port/bin to PATH when using acme as a way to prefer tools which do not make use of escape sequences for coloring term output? Or do you disable color in tools like mercurial?

Re: A Tour of the Acme Editor

#45
post #17
post #9

Very neat. It seems to me the really interesting bit here is the ability to add execution meaning to arbitrary bits of text. Can anyone who uses Acme comment on whether or not that is primarily what gives Acme its power? Is there something else key to it that isn't shown cleanly in the video? Interestingly, I also see Light Table as an "Integrating" Development Environment - something that utilizes all the amazing to…

It's definitely the ability to parse expressions like " : " and open files at the right position, it essentially makes it integrated with many many unix tools without actually having to write any integration code. The ease of piping the selection through an external program is a close second. However I do not use it. What's funny about acme is that it's a perfect metaphor for the entire plan9: it shows you how strivi…

I had seen acme color theme files in a previous plan9port repository version but can't seem to find them today. I believe I was also able to use them. Does anyone remember or know more?

Re: A Tour of the Acme Editor

#46
post #32

Earlier quoted context omitted.

(I have used both Acme and Emacs but only a little bit each) I can believe that most of the time it is easier to switch to the mouse to move the cursor where you want if it is no where near your current position. But what about just moving up and down one or two lines? Do you really just use Ctrl-A twice to go up a line? Or do you use the mouse? Or is there some alternative that I haven't heard yet? http://acme.cat-v…

As you say, there are great use cases for just having a simple keyboard shortcut. Ron Minnich made "smacme", a modified acme with the basic Emacs C-f, C-b, C-n, C-p bindings in; you can find it in the sources directory IIRC, but in any case it's really a pretty simple hack.

I've only found a reference in a 2006 post from Ron. Is it a modification to acme which would need to be ported to plan9port or is it already part of plan9port's acme or is it maybe just a set of scripts to source on acme startup?

Re: A Tour of the Acme Editor

#47
post #42
post #38

How do you indent with spaces instead of tabs?

Execute the command "Indent on" to turn auto-indent on for the current window. Acme will then automatically insert the same indentation as the previous line for every new line you make. I just tested, it works with tabs and spaces. (But don't use spaces :-)

Thanks I'll try that. Am I able to make acme source that from a personal customization script on startup?

Re: A Tour of the Acme Editor

#48
I like that Acme has such a radically different paradigm from vi, but I can't imagine that pixel-dependent mouse interactions could ever beat vi for text manipulation. (It takes me a maximum of about 4 keystrokes to get anywhere I want in a vi buffer.)

Re: A Tour of the Acme Editor

#49
post #47
post #42

Earlier quoted context omitted.

Execute the command "Indent on" to turn auto-indent on for the current window. Acme will then automatically insert the same indentation as the previous line for every new line you make. I just tested, it works with tabs and spaces. (But don't use spaces :-)

Thanks I'll try that. Am I able to make acme source that from a personal customization script on startup?

No, we don't support startup scripts in Acme (you could implement it of course, the code is simple), but you can use the "Dump" command to take a snapshot of your current Acme layout. I'm not sure if that will preserve the status of Indent, but it may at least help you.
Post reply on HN