Live data from Hacker News

My Emacs eye candy

xenodium.com

81–89 of 89 posts

Re: My Emacs eye candy

#81
post #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-…

> 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.

I could, but on top of my head, this would require using ASCII blocks characters for the 1 pixel vertical lines, which would break your regular copy paste (ex: shift + mouse) if not using vi visual mode (not a big fan personally).

My current solution uses the background color of regular spaces, so you can copy/paste without any issue, and without having to strip characters from your copy paste buffer (like with wl-copy / wl-paste)

> EDIT: applying the grayscale color to the background would be another direction, it also looks nice:

Indeed, and this could also be made more reliable by using the vt52 underline toggle, and using different colors/grayscales for the underline: it wouldn't break the copy/paste, but you would be missing the vertical lines, so it wouldn't be exactly a block :(

Otherwise it'd have to use sixels: you could do nice things like rounded angles, but this would restrict your choices of terminal.

Anyway, lmk if you need any help to setup either. I'm a bit busy rn but I should be able to provide you at least some suggestions on how to do it for your specific usecase, with minimal negative side effects (like breaking copy-paste :)

Re: My Emacs eye candy

#82
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.

I would argue that some typographic changes (eg right amount of white space, line height etc) might lessen the distraction that you get with visual clotting. It appears here, though, that not everyone perceived it that way.. The foremost reason for use of typography in this case should be readability and accessibility and not pretty (which by itself is not a bad thing either)

Re: My Emacs eye candy

#83
I adopted two tools early on and have used them for decades: Emacs and LaTeX/TeX. Both are programmable and have an amazing set of available extensions that enhance their use. As a computer scientist it’s easy to spend time tweaking either of these flexible systems. I have to keep in mind that at some point I need to stop sharpening my axe and start chopping wood.

LaTeX takes a lot of study to become expert in it, but there are books that help. Emacs, on the hand, can be learned from the inside through its great help functionality (starting with the easy to remember Ctrl-H).

Re: My Emacs eye candy

#84
post #47

I’ve turned off nearly everything in my Emacs. Fullscreen, no scrollbars, minimal frame borders, modeline hidden. My only sadness is that you can’t completely reclaim the echo area when it’s not in use. But one thing this has always helped me ensure is that if I want something, I learn how to go there, directly. No scrolling around and rummaging.

I haven't tried it recently, so it's quite possible it's broken but this package has an autohide behavior for the echo area: https://github.com/honmaple/emacs-maple-echoarea You might be able to adapt it.

Yeah I've got my own code to do it, it just seems very flaky. Will give this a go!

Re: My Emacs eye candy

#86
post #28

I always come back to eMacs at least once a year, fall in love with some of the functionality, then rediscover that every package only works for 80% of my use cases and requires extensive configuration, and after spending hours customising it I have a slightly inferior product to any other IDE because a) some things still don’t work and b) nobody works with eMacs, so there is zero interop. Too bad..

I work with Emacs. I also find that magit and org mode are great examples of doing things better than other tools. Biffer management is another thing. I find it to be superior to handling tabs. vterm and shell are also incredibly helpful. vterm for when you need ncurses or self updating output, shell when you do not and want to easily copy paste from output. Vterm can copy paste too but needs a key combination to swi…

Yeah org mode would be great. But please tell me how you actually make your org mode calendar sync 2-way with your outlook, gmail and Apple calendars.

Because if it doesn’t that feature is completely useless to me. Same with LSP. That works great in every ide, but with eMacs you have to do custom configs and still half the stuff doesn’t actually work.

Re: My Emacs eye candy

#87
post #33
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 :)

Similar experience. Not limited to emacs, I used to spend a lot of time to configure my desktop. Nowadays I go with stock XFCE on machines I use occasionally or shared with others and i3 on my main machine. No configurations. In emacs profile I have very few settings to get the indentation required by company style and avoid trailing whitespace / missing newline at the end. That's all.

Your setup sounds exactly like mine. No-config i3 is nice. You might take a look at Regolith Linux, but that's unfortunately built on top of Ubuntu. I run Arch, so this might be useful at some point [0]. I might give it a go on my work laptop.

[0] https://aur.archlinux.org/packages/regolith-full

Re: My Emacs eye candy

#88
post #86

Earlier quoted context omitted.

I work with Emacs. I also find that magit and org mode are great examples of doing things better than other tools. Biffer management is another thing. I find it to be superior to handling tabs. vterm and shell are also incredibly helpful. vterm for when you need ncurses or self updating output, shell when you do not and want to easily copy paste from output. Vterm can copy paste too but needs a key combination to swi…

Yeah org mode would be great. But please tell me how you actually make your org mode calendar sync 2-way with your outlook, gmail and Apple calendars. Because if it doesn’t that feature is completely useless to me. Same with LSP. That works great in every ide, but with eMacs you have to do custom configs and still half the stuff doesn’t actually work.

> Same with LSP. That works great in every ide, but with eMacs you have to do custom configs and still half the stuff doesn’t actually work.

You have to do custom configs in emacs?

Using eglot I just open a file and lsp features are available without me doing anything except having the language server installed.

Re: My Emacs eye candy

#89

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

The title is "my emacs eye candy", not "my emacs eye candy is the best emacs eye candy", there are definitely better "eye-candy" emacs setups out there than OP's, but it doesn't matter as it's not a competition, OP's emacs is still eye candy, good enough for some people. Thanks for pointing the others though

plus nicolas rougier amazing job is .. too amazing, too far off the usual emacs ui feel.
Post reply on HN