TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Ymacs - Emacs in the browser with Dropbox, GDrive, etc

125 pointsby tagxalmost 13 years ago

16 comments

ajrossalmost 13 years 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.<p>Right off the bat, I hit the following speedbumps:<p><pre><code> + 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 "&#62; " 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". </code></pre> 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.
评论 #4377962 未加载
评论 #4378421 未加载
评论 #4378323 未加载
评论 #4379624 未加载
rcfoxalmost 13 years ago
Posted 1 month ago: <a href="http://news.ycombinator.com/item?id=4209091" rel="nofollow">http://news.ycombinator.com/item?id=4209091</a><p>And 2 years ago: <a href="http://news.ycombinator.com/item?id=1862442" rel="nofollow">http://news.ycombinator.com/item?id=1862442</a><p>And 3 years ago: <a href="http://news.ycombinator.com/item?id=962562" rel="nofollow">http://news.ycombinator.com/item?id=962562</a><p>...
评论 #4377967 未加载
评论 #4377990 未加载
tagxalmost 13 years ago
The core of the editor is YMacs (<a href="http://www.ymacs.org/" rel="nofollow">http://www.ymacs.org/</a>).<p>I just integrated filepicker.io. The source is at <a href="https://github.com/tageorgiou/ymacs" rel="nofollow">https://github.com/tageorgiou/ymacs</a>
b0rsukalmost 13 years ago
I understand the technical challenge, but the Emacs-y way would be to run the browser inside Emacs. Not the other way around.
oseneralmost 13 years ago
You might want to use "text/*" as the mimetype argument to filepicker.getFile to filter out sources like webcam and Instagram.
评论 #4378012 未加载
anaranalmost 13 years ago
My feedback is targeted at the ymacs demos giving a better "first impression", which at this point might be the only one allowed for many.<p>I am taking the time because that's the most emacsy (unintended bun) experience I've had in a web editor and to me that is a compliment.<p>I had to "Load its own code!" and read it to jump over these brick walls:<p>* C-x C-b is undefined<p>* C-h gives me a chrome://chrome/history/ lesson, but that might be chrome's fault<p>* M-x sounds the bell (why?) but "that's all she wrote". Neiter ? nor SPC do more than insert themselves in the minibuffer. Reading sources I find M-x switch_to_buffer (C-x b) would work, if only by keyboard (the menu does not allow one to actually pick an entry).<p>Why not implement C-x C-b? Would it be that hard? Or just let it do what C-x b does for now?<p>M-x ? and M-x SPC listing all available commands would be a big win too.<p>But a commad like M-x switch_to_buffer should not really be presented to an emacs user, make that M-x switch-to-buffer, even if some internal mapping may be needed.<p>This HN article links to <a href="http://tageorgiou.github.com/ymacs/" rel="nofollow">http://tageorgiou.github.com/ymacs/</a> and [Try Out] there links to <a href="http://tageorgiou.github.com/ymacs/demo/" rel="nofollow">http://tageorgiou.github.com/ymacs/demo/</a><p>* It seems to have some character encoding issues in the modeline:<p>ymacs.frames[0].getModelineElement().innerHTML<p>"-- &#60;b&#62;test.js&#60;/b&#62;Â&#38;nbsp;Â&#38;nbsp;49% of 1.35kÂ&#38;nbsp;Â&#38;nbsp;(13,3) "<p>[Live demo] at <a href="http://www.ymacs.org/" rel="nofollow">http://www.ymacs.org/</a> links to <a href="http://www.ymacs.org/demo/" rel="nofollow">http://www.ymacs.org/demo/</a><p>* Modeline looks good in this one:<p>ymacs.frames[0].getModelineElement().innerHTML<p>"-- &#60;b&#62;test.lisp&#60;/b&#62; (1,0) "<p>brettcvz, mishoo, tomelam, keep up the good work, I really like this!
liyanchangalmost 13 years ago
Pretty Cool. I hate having to download files from Dropbox just to upload again when I need to save. I think this might do the trick.<p>EDIT: I just realized that it's not clear. I do use the client and it works really well from my computer. It doesn't work very well from a computer lab.
评论 #4377870 未加载
评论 #4377865 未加载
abbot2almost 13 years ago
M-x doctor: No such command: doctor. You should just call that "yet another online editor", really.
sukuriantalmost 13 years ago
I am sad, there is no M-x tetris...<p>In seriousness, this is quite a cool attempt. For some reason, using an international keyboard with the application prevents me from ever getting the ' character to appear. I'm not sure why this is the case.
Bootvisalmost 13 years ago
Very nice! I was seriosuly missing something like this, especially for my org-files. A few times a week I want to add or change something to my todo.org but I can't because I'm at some corporate computer. At the moment I try to remember and make my changes when I can, far from ideal.<p>My plan is to use parenscript to convert the org elisp code to Javascript and provide some extra functionality such as document export through a webserver running headless emacs. Any opinions on this idea? Could this be possible with YMacs?
Estragonalmost 13 years ago
Good start. What's the timeline for the elisp interpreter? :-)
评论 #4379924 未加载
jack-r-abbitalmost 13 years ago
Not working in my browser. When looking at the source I see it probably only works in FF. But I also noticed you've included "ymacs-mode-markdown.js" twice.<p>Edit... ok refreshed the page a few times and it seems to be working now. Cool.
geogra4almost 13 years ago
Now how about Vim?
评论 #4377915 未加载
biomechanicaalmost 13 years ago
Wouldn't mind seeing Emacs ported to NaCl. That would be a fun project, I think.
samuel1604almost 13 years ago
man great but control-w close the browser window not cool!
lefnirealmost 13 years ago
mind blown