Live data from Hacker News

Show HN: Emacs Configuration Generator

emacs.amodernist.com

41–50 of 103 posts

Re: Show HN: Emacs Configuration Generator

#42
post #41

I'm not getting why you wouldn't just use Emacs's customize to do the job?

The intended audience are people who haven't yet got into Emacs, and are therefore not familiar with Elisp, the packages and the options. Of course if you have a basic understanding of Emacs and an overview of the package space (and perhaps the time + motivation), you don't need anything like this.

Re: Show HN: Emacs Configuration Generator

#43
post #41

I'm not getting why you wouldn't just use Emacs's customize to do the job?

Not all of these (like the packages) fall out of emacs' built-in customize. Though they aren't far (package-list-packages, find them). Also you need to know that these options are even there (customize-apropos is good, but it's not hard to get stuck finding the right keyword to get to the option or option group you want).

Re: Show HN: Emacs Configuration Generator

#44
post #37

Looks pretty good, I'll give it a spin soon as I'm trying to migrate from Doom to a vanilla config. One thing's that seems to be missing is that option to disable those pesky backup~ files.

Good point. I will add backup file configuration. Tough disabling them all together is rarely worth it, moving them to some other directory is usually preferable.

Re: Show HN: Emacs Configuration Generator

#45
post #35

Very neat tool. Ive been getting more and more into using emacs. I like the options you provide like disabling the tool bar, line numbers etc. these are quality of life changes that probably everybody goes through. The most difficult part for me was setting up a LSP with golang. I would say it was difficult because I was trying to rush through by copying random bits from everywhere to make it work. I did eventually g…

I strongly recommend storing your config in an org file and using Babel to load the init. I find it the only way to preserve my sanity as my config grows.

Is org file/babel something limited to org mode? I havent come across these yet.

ill look into it

Re: Show HN: Emacs Configuration Generator

#47
post #40
post #35

Earlier quoted context omitted.

I strongly recommend storing your config in an org file and using Babel to load the init. I find it the only way to preserve my sanity as my config grows.

What advantages to find yourself having by using Org compared to say outline-minor-mode?

Org provides a lot more features than an outline mode. Org-babel lets you mix code with prose, and execute (for many languages) the code in the code blocks. It works cleanly with the agenda/diary system. You can schedule items, marking both due and start dates and times. Tag items and query based on tags, it's a very handy thing.

Re: Show HN: Emacs Configuration Generator

#48
post #41

I'm not getting why you wouldn't just use Emacs's customize to do the job?

Not all of these (like the packages) fall out of emacs' built-in customize. Though they aren't far (package-list-packages, find them). Also you need to know that these options are even there (customize-apropos is good, but it's not hard to get stuck finding the right keyword to get to the option or option group you want).

Sure, I get it as a curated list of things to add, but it kind of has a hierarchy that resembles the one in customize.

Re: Show HN: Emacs Configuration Generator

#49
post #42
post #41

I'm not getting why you wouldn't just use Emacs's customize to do the job?

The intended audience are people who haven't yet got into Emacs, and are therefore not familiar with Elisp, the packages and the options. Of course if you have a basic understanding of Emacs and an overview of the package space (and perhaps the time + motivation), you don't need anything like this.

Isn't that Customize's intended audience as well?

Re: Show HN: Emacs Configuration Generator

#50

Hello, I think you have a bug disabling the splash screen: https://git.sr.ht/~pkal/ecg/tree/master/item/ecg.lisp#L372 According to the internet (I don't use emacs) it's supposed to be "inhibit-splash-screen t" - looks like a copypasta induced mistake is all.

Thanks for the hint, I have fixed the code: https://git.sr.ht/~pkal/ecg/commit/4abf496e89cc93ca4c7fec049...
Post reply on HN