Live data from Hacker News

A Tour of the Acme Editor

research.swtch.com

81–90 of 91 posts

Re: A Tour of the Acme Editor

#81
post #57
post #45

Earlier quoted context omitted.

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?

At Bell Labs, Rob switched acme and sam from black and white to color in the development version of Plan 9, called Brazil, in the late fall of 1997. I used Brazil on my laptop as my day-to-day work environment, but I was not a developer. I remember writing Rob an email saying how much I enjoyed having color but that it would be nice to have options to set the color scheme. He wrote a polite but firm response back exp…

I think this approach to color selection is a wee bit patronizing, assuming that all users are the same (and gives waaaaay to much credibility/authority to graphic designers). Never mind that even if you agree with the intended choice, you'd need to make adjustments to cope with environmental factors (displays, light etc.).

Re: A Tour of the Acme Editor

#82
post #77

Earlier quoted context omitted.

-F changes the fixed width font. You want -f.

Thanks. Am now able to choose among the fonts supplied by the plan9port tarball. Still would like to be able to choose a OS X system font, though.

Sorry, my original reply with the screenshot included a command line, but it got lost in the internet tubes, and when I reposted the reply I forgot the command line.

acme -f /mnt/font/ComicSansMS/16a/font is how I made the screenshot. Run fontsrv -p . to get a list of the fonts you can use.

Re: A Tour of the Acme Editor

#83
post #61

Earlier quoted context omitted.

Not only have I watched the video, I've used acme. VGA text is everywhere. No need to switch to Linux (and patch it), switch to OSX, use hardware than runs Plan 9, or any other restrictions. No need to run X11. It just works.

You have a better imagination than I do, then. I don't see how you can make acme run in text mode and still be acme.

Hmm? Apart from the proportional text what would you lose? Even IBM line drawing characters should be able to simulate the scrollbars and dividing lines. Given a sufficiently high-resolution text mode, multiple columns should pose no problem, either.

Granted, I see no real reason for it, as you might as well hook the existing code into e.g. Linux' framebuffer mode, instead of porting it to curses. It would run over ssh, of course, but so does acme with X forwarding, and the best general solution would probably involve merging sam's client/server mode with acme.

Re: A Tour of the Acme Editor

#84
post #82

Earlier quoted context omitted.

Thanks. Am now able to choose among the fonts supplied by the plan9port tarball. Still would like to be able to choose a OS X system font, though.

Sorry, my original reply with the screenshot included a command line, but it got lost in the internet tubes, and when I reposted the reply I forgot the command line. acme -f /mnt/font/ComicSansMS/16a/font is how I made the screenshot. Run fontsrv -p . to get a list of the fonts you can use.

Success! My aging eyes thank you.

Re: A Tour of the Acme Editor

#85

Earlier quoted context omitted.

Some extensions like FFAP (file-find-at-point) lookup the word at point in the filesystem, some leverage font and mouse infrastructure to turn text into action. 10$ it's quite easy to do, a generalized *-at-point, the "challenge" is to make it as configurable.

Unknowingly I just reimplemented part of FFAP. After a little playing with Acme I want to add some of its features to my emacs (FFAP is one of these, since click/command opening included files in my .tex or code is great) Next step is making my FFAP more intelligent (depending on buffer extension & mode) and then make it "execute at point" if it is not intended to be a file (depending on context)

Do you host it on a public repo ? I'd be curious to see how people iterate when writing emacs extensions.

Re: A Tour of the Acme Editor

#86

Earlier quoted context omitted.

Unknowingly I just reimplemented part of FFAP. After a little playing with Acme I want to add some of its features to my emacs (FFAP is one of these, since click/command opening included files in my .tex or code is great) Next step is making my FFAP more intelligent (depending on buffer extension & mode) and then make it "execute at point" if it is not intended to be a file (depending on context)

Do you host it on a public repo ? I'd be curious to see how people iterate when writing emacs extensions.

No, I used to hold some code in my googlecode repo, but gave up a long time ago. Until I get more proficient with git, I'll probably just post it in my blog (and then the marmalade-repo, just like I did with gnusnotes.el) when it is decent enough for general usage

Re: A Tour of the Acme Editor

#87
post #7

Earlier quoted context omitted.

The plumber is effectively at the OS level. It's a userspace program, but it provides it services to the whole system at once. It's a global service that handles all plumbing between all programs. (Think "Android Intents". It's not too far off, conceptually.). Running, for example, plumb path/to/file.c:123 will send the file to whatever editor instance is set up to handle C files, and move the dot to line 123, from w…

Right, I just meant something as global as the windows namespaces (I don't know how it is designed, kernel module for vfs or userspace)

[deleted]

Re: A Tour of the Acme Editor

#89
post #82

Earlier quoted context omitted.

Thanks. Am now able to choose among the fonts supplied by the plan9port tarball. Still would like to be able to choose a OS X system font, though.

Sorry, my original reply with the screenshot included a command line, but it got lost in the internet tubes, and when I reposted the reply I forgot the command line. acme -f /mnt/font/ComicSansMS/16a/font is how I made the screenshot. Run fontsrv -p . to get a list of the fonts you can use.

A final question, Russ: are you the primary author of fontsrv?

Re: A Tour of the Acme Editor

#90
post #82

Earlier quoted context omitted.

Sorry, my original reply with the screenshot included a command line, but it got lost in the internet tubes, and when I reposted the reply I forgot the command line. acme -f /mnt/font/ComicSansMS/16a/font is how I made the screenshot. Run fontsrv -p . to get a list of the fonts you can use.

A final question, Russ: are you the primary author of fontsrv?

Not sure if russ is still reading this thread, but AFAIK, yes, he, or one of the many secret rsc clones is the primary author of fontsrv.
Post reply on HN