logoalt Hacker News

Emacs Bedrock 2.0

102 pointsby ashton314yesterday at 8:12 PM12 commentsview on HN

Comments

dharmatechtoday at 7:40 AM

Hey Ashton,

I see you're with PLT. :-)

Since Racket is built on Chez, you might like this. It's an Emacs-like editor built in Chez Scheme:

https://github.com/paveluv/e

inatreecrown2today at 4:02 AM

Very nice presentation and project.

From the README of the linked repo:

"When I started learning Emacs, my dad gave me his .emacs file. (That's what we used back in ye olden days instead of .emacs.d/init.el and stuff.) I used it without modification for many years. Eventually I learned how to write my own functions and customizations. This package aims to give other users a similar experience. When someone comes to me and expresses their desire to learn Emacs, I can point them at this to help them get over the initial hump, but not coddle them so much that they're afraid or unable to change things to their liking."

show 2 replies
AloysBtoday at 4:04 AM

> Remove wgrep in favor of built-in grep-change-to-grep-edit-mode.

TIL! I might be able to remove my wgrep too. I love those highly crafted starter kits, they are full of gems.

Thank you!

ashton314today at 4:07 AM

Here’s a link to the repo directly: https://codeberg.org/ashton314/emacs-bedrock

I hope Bedrock is useful to some people. :)

warpechtoday at 5:52 AM

Thank you for starting the blog post with reminding what the project is.

So many blogs (and newsletters for that sake) assume the reader knows and remembers what they are about

fractal618today at 6:14 AM

Isn’t eMacs just a text editor like vim or nano?

show 1 reply
gcrtoday at 4:49 AM

I was wondering if this was going to be some Rust fork of Emacs, à la Java Minecraft vs Bedrock Minecraft

show 1 reply
dreamcompilertoday at 4:36 AM

> Bedrock now uses the lexical-binding: t cookie in all its .el files.

This is the right thing to do if you wrote your .el files recently and assumed lexical-binding was true and you understand the implications thereof.

OTOH if your .el files are older and written before lexical binding was possible, it's best to set the cookies of those files to nil. Or go over them with a fine-toothed comb and rewrite them (if necessary) for lexical binding.