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.

Frontmacs

157 pointsby jimylover 7 years ago

14 comments

cup-of-teaover 7 years ago
I have mixed feelings about emacs starter kits. On the one hand I&#x27;m always happy that more people might discover emacs. It&#x27;s quite simply the most powerful text editor out there. Hands down. I could not imagine using a computer seriously without emacs.<p>On the other hand, the power of emacs comes from the fact that it&#x27;s essentially a lisp interpreter which is good at doing text editor stuff. If you abstract this away then what you get is an editor which is implemented in emacs, but is ultimately comparable to any other text editor.<p>Emacs really shines when you make it your own. And that goes far beyond the usual &quot;customisation&quot; that you see. I have files full of macros that help me write lisp which eventually changes the way the editor works. And some of that functionality helps me write the macros that help me write lisp that (...and so on).<p>For those that don&#x27;t use emacs the above might sound bizarre. Maybe it&#x27;s only attractive to a few programmers. Or maybe you have to try it before you really understand. I don&#x27;t know. But that&#x27;s why I have mixed feelings.
评论 #16070764 未加载
评论 #16069700 未加载
评论 #16071190 未加载
评论 #16070258 未加载
评论 #16069457 未加载
评论 #16070707 未加载
评论 #16070452 未加载
评论 #16070593 未加载
评论 #16070891 未加载
pdkl95over 7 years ago
(edit: reposted this comment in their bug tracker)<p>You might want to warn people that this enables auto-saving buffers on many buffer&#x2F;frame events that are usually considered safe.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;thefrontside&#x2F;frontmacs&#x2F;blob&#x2F;master&#x2F;frontmacs-editing.el#L128" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thefrontside&#x2F;frontmacs&#x2F;blob&#x2F;master&#x2F;frontm...</a><p><pre><code> (defadvice switch-to-buffer (before save-buffer-now activate) (when buffer-file-name (save-buffer))) ; the same defadvice is applied to: ; other-window ; windmove-{up,down,left,right} </code></pre> This absolutely <i>needs</i> a warning.<p><pre><code> (add-hook &#x27;focus-out-hook (lambda () (when buffer-file-name (save-buffer)))) </code></pre> Also, maybe this should only happen to buffers that are already backed up in the VCS? Saving unknown changes back to the original file whenever the frame looses focus - which can happen due to external, unpredictable events - seems like an accident waiting to happen.
评论 #16069891 未加载
评论 #16069462 未加载
评论 #16071254 未加载
forvelinover 7 years ago
Some screenshots could be nice, probably most people are not tend to try it out until they see a screenshot.<p>Anyway, I am a simple man. I see people using Emacs and I become happy.
评论 #16069360 未加载
评论 #16070648 未加载
评论 #16069156 未加载
评论 #16074266 未加载
grewil2over 7 years ago
My prefered way to quickly test these things without having to mess with your own setup, elpa directories etc:<p><pre><code> mkdir &#x2F;tmp&#x2F;.emacs.d wget -P &#x2F;tmp&#x2F;.emacs.d https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;thefrontside&#x2F;frontmacs&#x2F;master&#x2F;scripts&#x2F;init-frontmacs.el echo &#x27;(load (expand-file-name &quot;init-frontmacs.el&quot; user-emacs-directory))&#x27; &gt; &#x2F;tmp&#x2F;.emacs.d&#x2F;init.el env HOME=&#x2F;tmp emacs</code></pre>
vogover 7 years ago
Slightly off-topic, but:<p><i>&gt; Most of the planet doesn&#x27;t treat editor configuration as software. We do.</i><p>This is so true! And it applies to many, many other types of configuration as well.
评论 #16069180 未加载
vr46over 7 years ago
Great approach. Now what does it do? (Or rather, what can I do with it specifically compared to other distros, and how?)
Zitraxover 7 years ago
It claims to be &quot;Awesome by default&quot;, but does not tell much about what that actually means.
评论 #16069348 未加载
评论 #16069404 未加载
评论 #16069378 未加载
skocznymrocznyover 7 years ago
So many buzzwords and startup like speak but no &quot;made with love&quot;?
wyuenhoover 7 years ago
This is very similar to what I have configured in my .emacs[1] and custom.el[2]. I like that this project is minimalist. If I were to start using emacs 2 years ago, I&#x27;d probably start with this.<p>A slight gripe I have with Frontmacs is everything is loaded eagerly on startup. I&#x27;d imagine this massively increases start up time given how heavy weight some of the packages are (yasnippet, magit, tide). I also find issues with it calling itself <i>awesome</i> without integrating with any emacs window management package.<p>Most config in emacs these days is just installing a couple of packages and toggling on and off a couple customizable variables, and occasionally a couple of `add-hook` calls. These are all low hanging fruits since packages became an official thing in Emacs. The most annoying and non-obvious part of Emacs is how it manages windows. To tame the totally insane default window management system, you pretty much have to shop for a layout manager of some sort, and in order to do that, you have to know what Emacs is doing under the hood. That&#x27;s hard and I wish more of these Emacs distros would come integrated with some sane window management package.<p>I used to just rely on popwin and desktop mode mainly, and used golden-ratio and centered-window-mode for a while. Recently I&#x27;ve completely ripped them out of my config and replaced them with [purpose](<a href="https:&#x2F;&#x2F;github.com&#x2F;bmag&#x2F;emacs-purpose" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bmag&#x2F;emacs-purpose</a>) and [perspective](<a href="https:&#x2F;&#x2F;github.com&#x2F;nex3&#x2F;perspective-el" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nex3&#x2F;perspective-el</a>). I&#x27;m loving them so far, others seem to like e2wm, tile, rotate and others.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;wyuenho&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.emacs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wyuenho&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.emacs</a> [2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;wyuenho&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.emacs.d&#x2F;custom.el" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wyuenho&#x2F;dotfiles&#x2F;blob&#x2F;master&#x2F;.emacs.d&#x2F;cus...</a>
nukeopover 7 years ago
After years of using other people&#x27;s configs, I found that they never really fit my way of working completely and they&#x27;re filled with things I don&#x27;t understand and&#x2F;or don&#x27;t use. I think most people will want to use their own configs after a while, and that&#x27;s one of emacs&#x27;s greatest strengths. Nowadays we have multiple package repositories and multiple ways of configuring it to suit your tastes.<p>I also find the description filled with buzzwords and buzz-phrases to the point where it becomes meaningless.
评论 #16070682 未加载
Myrmornisover 7 years ago
&gt; We don&#x27;t want to maintain code, we just want to enter a few keystrokes and download more awesome.<p>The phrase &quot;download more awesome&quot; makes me very strongly doubt whether the authors are genuinely experienced with the difficulties of software engineering.
评论 #16080043 未加载
finnjohnsen2over 7 years ago
&quot;Most of the planet doesn&#x27;t treat editor configuration as software. We do.&quot;<p>But I also wanna be the cool kid, and not a part of the herd :&#x27;(
mcguireover 7 years ago
What is the difference between this and spacemacs?
gyrgtynover 7 years ago
Do any of the frontside people use evil mode ?
评论 #16079881 未加载