Live data from Hacker News

Ymacs -- An Emacs-like editor for the Web

ymacs.org

31–40 of 66 posts

Re: Ymacs -- An Emacs-like editor for the Web

#32
post #30
post #2

Incidentally, Emacs 24 removes the dashes from the modeline, so using Ymacs is almost a bit nostalgic!

Odd, I'm using "GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.2.0, NS apple-appkit-1038.25) of 2010-03-27 on gallifrey.local" and it still has the dashes on the modeline.

If you are going to use a prerelease Emacs, you should update it more frequently than every 7 months! (This particular change is from about two weeks ago.)

Re: Ymacs -- An Emacs-like editor for the Web

#33
This is something I've wanted to make, I'll be reading through the source to work on my Javascript knowledge. Now I need a Chrome plugin to make every text entry box work like this (Edit With Emacs didn't do it for me last time I tried, I habitually type C-x s and that was closing my buffer and returning to the browser).

Re: Ymacs -- An Emacs-like editor for the Web

#34

Super Dee Duper! I cracked myself up when trying C-M-q using the Command (clover) key on my mac, which of course was seen as CMD-Q by the browser, which for you non OS X folks means QUIT.

I tried it wondering if it would quit the browser, but it didn't. (I'm using Firefox)

Re: Ymacs -- An Emacs-like editor for the Web

#35
post #20

Dear god, If you could combine this with a Google-docs-like collaborative editing feature, I could once again enjoy a life free of word processors, where the true meaning of Meta-Shift-^ could become known to the masses. That would rock. Just sayin'.

I felt the same way and started making my own editor:

http://vianedit.appspot.com

Unfortunately I had to make it use vi key-bindings since the emacs ones were incompatible with most browser defaults. But it's extensible like emacs, through Javascript.

Someday I'll have time to finish it.

Re: Ymacs -- An Emacs-like editor for the Web

#36
I worked on this (my own version) for awhile and I got the basics working pretty quickly, but I just wasn't happy writing in JS, I really wanted it to be written in Lisp, but I couldn't find a JS version of Lisp that was good enough, and I didn't have the time to make one myself.

I'm glad to see this and I'm sure I'll enjoy using it. It would be nice to have the ability to create accounts and store in the cloud so I can access my code from anywhere.

Re: Ymacs -- An Emacs-like editor for the Web

#37

Earlier quoted context omitted.

Maybe it depends on which browser you're using, but in Safari 5, when the main textbox/input box has focus, C-n works for me, as well as ESC for Meta. You may want to try giving it focus first?

Strangely (ironically) Ctrl-N works fine in Safari (on Windows), but Ctrl-P brings up the "Print" dialog. In Chrome Ctrl-P works fine, but Ctrl-N brings up the "New Window" dialog. Both work fine in Firefox. Who said that one of the best things about developing web-apps is that the apps are cross-platform?

Hopefully it's equally broken in different ways on various browsers on OS X and Linux. ;-)

Re: Ymacs -- An Emacs-like editor for the Web

#38

I tried integrating this into an app I am working on, but it was just too tightly integrated within its custom UI library. This app is truly awesome, but it is just impossible to integrate with anything. Someday I might try to fork it -- lord knows I already know enough about its internals. (edit: sorry about the double post. I wiped the screen of my iphone immediately after hitting submit -- guess this is what happe…

Ah, so Ymacs stays true to its roots in being stuck with its own stack.

Re: Ymacs -- An Emacs-like editor for the Web

#39
post #38

I tried integrating this into an app I am working on, but it was just too tightly integrated within its custom UI library. This app is truly awesome, but it is just impossible to integrate with anything. Someday I might try to fork it -- lord knows I already know enough about its internals. (edit: sorry about the double post. I wiped the screen of my iphone immediately after hitting submit -- guess this is what happe…

Ah, so Ymacs stays true to its roots in being stuck with its own stack.

Hah, I wouldn't say you're wrong.
Post reply on HN