TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

125 点作者 tagx将近 13 年前

16 条评论

ajross将近 13 年前
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 未加载
rcfox将近 13 年前
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 未加载
tagx将近 13 年前
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>
b0rsuk将近 13 年前
I understand the technical challenge, but the Emacs-y way would be to run the browser inside Emacs. Not the other way around.
osener将近 13 年前
You might want to use "text/*" as the mimetype argument to filepicker.getFile to filter out sources like webcam and Instagram.
评论 #4378012 未加载
anaran将近 13 年前
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!
liyanchang将近 13 年前
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 未加载
abbot2将近 13 年前
M-x doctor: No such command: doctor. You should just call that "yet another online editor", really.
sukuriant将近 13 年前
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.
Bootvis将近 13 年前
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?
Estragon将近 13 年前
Good start. What's the timeline for the elisp interpreter? :-)
评论 #4379924 未加载
jack-r-abbit将近 13 年前
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.
geogra4将近 13 年前
Now how about Vim?
评论 #4377915 未加载
biomechanica将近 13 年前
Wouldn't mind seeing Emacs ported to NaCl. That would be a fun project, I think.
samuel1604将近 13 年前
man great but control-w close the browser window not cool!
lefnire将近 13 年前
mind blown