5 ms·
It's not emacs (I guess it's "an emacs"). It's an editor that does syntax coloring, handles the core emacs keystrokes, and implements the subset of GNU emacs f
by ajross 14y ago
It's not emacs (I guess it's "an emacs"). It's an editor that does syntax coloring, handles the core emacs keystrokes, and implements the subset of GNU emacs functionality that the author uses in a routine manner.
Right off the bat, I hit the following speedbumps:
+ No replace-regexp
+ No set-fill-prefix (or it's unbound)
+ Default fill prefix detection doesn't work like GNU emacs (e.g. no
way to fill a long paragraph with a prefix of "> " for quoting
email)
+ No ispell-word (or any spell checker) on C-$
+ C-x b tab doesn't give me the list of buffers I expect
+ No keyboard navigability in file selection dialog! I hit C-x C-f
and end up in this weird web 2.0 world where I'm (no joke) prompted to
"Drag files here".
So.. it's cute. But other than the author (or someone else willing to reimplement the bits of emacs they need) I don't see to whom it's going to appeal. Serious emacs users aren't the target demographic.
- stcredzero 14y agoAn excellent, informative, high value comment! Someone could host emacs in virtual machines that have a bunch of real emacsen hosted with TTYs implemented in Javascript and a virtual filesystem that actually writes to Dropbox. Someone could probably make good lifestyle-business money doing that.
- eslaught 14y agoIf you're going to go to that much trouble, you might as well just compile Emacs to Javascript with enscripten and run it natively in the browser. The download time might be painful, but then we'd have a web editor actually worth using.
- jdc 14y agoBetter just to do a smaller editor like Vim.
- stcredzero 14y agoThere's more value in having Emacs cloud hosted, I think. The old joke that it's an OS masquerading as a text editor is actually somewhat true. Hosted in the cloud, you have really great bandwidth to other cloud environments, all accessible through low-bandwidth requirement TTY.
- ams6110 14y agoYou might not even need to implement all of emacs, just emacsclient and have the emacs daemon running on the server. But why does everything need to run in the browser? You have a perfectly good OS and you can run Emacs natively and use tramp to open remote files over ssh. I do it every day, it's awesome because I'm using my local emacs configured the way I like it and I can edit files on any server that has sshd running. Problem solved.
- Tcepsa 14y agoIt'd be nifty if I could have the power of Emacs available to me on a tablet. Since I don't imagine anyone's going to port it soon, being able to use it in a browser seems like the only way that's going to happen.
- cycojesus 14y agoIt's running right now on Android: https://play.google.com/store/apps/details?id=com.zielm.emacs https://play.google.com/store/apps/details?id=com.zielm.emac... It's even 24.1. I only have patchy wifi now so I haven't been able to finish the install yet on my tablet but it installed and ran M-x tetris just fine on my phone.
- Tcepsa 14y agoI stand corrected and am looking forward to giving it a spin--thanks for pointing this out!
- Arelius 14y agoYes, the core C part of Emacs is actually surprisingly small. Sadly the vast majority of the C emacs core is platform-specific code, the sort of thing that emscripten would be worthless at. That being said, a manual port of the VM and C modules is not inconceivable.
- danielweber 14y agoC-k (the most useful command ever) is captured by my browser. Google Chrome.
- radarsat1 14y agoThat's actually a pretty big problem with the whole "browser app" thing, isn't it... there are certain key bindings that you just can't have. I wonder if there'll ever be a solution for that. Anything I can think of sounds like it would be a security issue, or annoying. (Having to answer pages asking for permission for certain keybindings... ugh.)
- slipperyp 14y agoIn an effort not to totally derail the conversation I guess I'll mention that nearly every browser is going to have some shortcut keys that would map to common emacs functions that will get swallowed by the browser. But what I'm really wondering: what makes you say C-k (kill-line) is the most useful command ever? This is slightly inconvenient with basic Windows shortcuts (shift+end ctrl+x, approximately). I tend to think one of the functions which isn't trivially replicated in other environments is more useful. Just curious...
- danielweber 14y agowhat makes you say C-k (kill-line) is the most useful command ever A little bit of a joke, but it's based on a bias that the best thing you can do to source code is make it smaller. To its ridiculous conclusion wiping out every line leaves you with a program with no bugs. :)
- FuzzyDunlop 14y agoI suppose it could have been developed on a Mac, where a bunch of emacs keybindings are integrated into the OS itself. I had no problem deleting and re-inserting that above sentence with C-k and C-y, in the textfield, for example. Hell, even C-t works.
- DeepDuh 14y ago
- foobarqux 14y agoShortcut (i.e. key binding) conflicts with the web browser like C-n (new-line) make it unusable for me.
- pjmlp 14y agoEmacsLisp is also missing.