Live data from Hacker News

My Emacs eye candy

xenodium.com

51–60 of 89 posts

Re: My Emacs eye candy

#52
post #3

Colors are surprisingly helpful! Vim+Python might be more popular than Emacs+Lisp, so here's my rainbow mode plugin to help with Tabs: https://github.com/csdvrx/indent-rainbow

Upvote to the "skinny guides" (thin vertical lines) feature linked from your TODO: https://github.com/preservim/vim-indent-guides#screenshots

Even better if you make it single pixel wide, something I like from VSCode. This way, it works nicely with rainbow colors in dark mode too.

And while we're at it, rainbow color the related opening and closing brackets too: https://code.visualstudio.com/blogs/2021/09/29/bracket-pair-...

EDIT: applying the grayscale color to the background would be another direction, it also looks nice: https://marketplace.visualstudio.com/items?itemName=leodevbr...

Re: My Emacs eye candy

#53
post #11

Shout out to `parrot-mode` for emacs[0]! My life would be incomplete without a dank parrot in my modeline. [0] https://github.com/dp12/parrot

Now make it appear only when you're compiling something.

Would be great when working on a C++ project.

Re: My Emacs eye candy

#55
post #41
post #24

Earlier quoted context omitted.

Yea, I used to maintain a fairly complicated emacs config that I was never quite happy with. Nowadays, I just go with spacemacs. Tired of messing with stuff :)

I went the opposite way. Used Spacemacs to introduce me to Emacs, and then got rid of it once I got the hang of things, and noticed all the extra packages I don't need that were just impacting (the already poor) Emacs performance. A few years later, I'm still using my config and wouldn't go back. It's what allows me to make Emacs _mine_, after all. It requires a minimal amount of maintenance, mostly whenever I decide…

Is base Emacs performance actually poor? I’ve generally found it to be pretty quick and it performs well in environments that other programs totally fail in, eg in a terminal or over X forwarding.

Re: My Emacs eye candy

#56
post #43

Without meaning any offense to the OP, I think this is a pretty low bar for Emacs eye-candy... Nicolas Rougier's "Nano Emacs" [0], or his previous "Elegant Emacs" [1] are better examples. You can also get pretty far using variable-pitch mode for mixing fonts (for example in org-mode [2]). [0]: https://github.com/rougier/nano-emacs [1]: https://github.com/rougier/elegant-emacs [2]: https://github.com/minad/org-modern

Especially regarding org mode I am always surprised about how most users use so little typography. Using the same settings for writing and coding seems counterintuitive yet most org modes I see in screenshots look pretty code-editorisch to me, and the styling options you mentioned are pretty much the only ones I know (missing Olivietti mode [1]) Most other note taking apps surpass here… [1] https://github.com/rnkn/ol…

The last thing I want when editing my diary in org-mode is distraction. I don't need lots of fancy rendering.

Re: My Emacs eye candy

#57
post #32

Earlier quoted context omitted.

You can try Doom Emacs if you want a solid starting point. ( https://github.com/doomemacs/doomemacs ). Emacs is so idiosyncratic compared to a lot of modern stuff people are used to, starting with a base like this may be a little easier than trying to do it from the ground up.

Whats the difference between Doom emacs and spacemacs ?

Both are very opinionated frameworks. Basically, they establish a convention for dealing with packages and custom config code, and build from there.

With Spacemacs, the expected default is to use Vim-style editing, with the addition of the Space key (hence the name) to access all of Emacs functionality. It's quite user-friendly and very discoverable. And it's still Emacs, so it offers a lot of customization.

Doom Emacs is a more focused approach, it has a clean set of defaults, and the ability to load lots of optional features. One key difference with Spacemacs is the use of an extra CLI utility to manage things such as package installation and config upgrades. Doom also disables customize-mode, which leads to cleaner configs at the cost of some discoverability.

Personally, I've been using Spacemacs for years, the key shortcuts just make sense to me, and it includes everything I want. I also love the default theme, the documentation is helpful, and the main drawback, long startup times, is minimized because I never exit Emacs.

Re: My Emacs eye candy

#58
post #45

Earlier quoted context omitted.

Do not underestimate the usefulness of the context-based menu bar. It will save you an apropos on many occasion, and open your mind to new actions that you missed on the first skim of the package methods.

If you've turned off the main menu bar, it becomes available as a popup with ctrl right-click. (I too turn off the menu bar, but it's really helpful for accessing some of the more obscure operations in Calc.)

It's also available through F10.

Re: My Emacs eye candy

#60
post #43

Earlier quoted context omitted.

Especially regarding org mode I am always surprised about how most users use so little typography. Using the same settings for writing and coding seems counterintuitive yet most org modes I see in screenshots look pretty code-editorisch to me, and the styling options you mentioned are pretty much the only ones I know (missing Olivietti mode [1]) Most other note taking apps surpass here… [1] https://github.com/rnkn/ol…

The last thing I want when editing my diary in org-mode is distraction. I don't need lots of fancy rendering.

Which is why it's good that these are optional things... Different folks, different strokes
Post reply on HN