Live data from Hacker News

Show HN: Emacs Configuration Generator

emacs.amodernist.com

21–30 of 103 posts

Re: Show HN: Emacs Configuration Generator

#21
post #10

Neat. I like the fact that it is opinionated providing a decent setup to get things done. Here are some of the things i was confused about, or thought could be improved. 1. The label of checkbox don't seem to respond to clicks. 2. On Font Input, There's no description or selections on what inputs are acceptable. 3. There is no mention of Javascript in programming language support section. iirc typescript package can…

As you might have noticed, I am not a web developer, but I will try and look into resolvi g the issues you brought up. I have an idea of how to solve the font issue (https://git.sr.ht/~pkal/ecg/tree/master/item/ecg.lisp#L342), but on my systems this never gives me all the fonts.

The programming language section is also difficult, content-wise, because I don't use most of those languages, and am thus not familiar with their options. My hope is to gather feedback from other users or the package maintainers on what would be interesting.

Re: Show HN: Emacs Configuration Generator

#22

Quick question; I was a little confused by the fact that after asking for LSP support, and answering affirmatively, I went through a list of programming language modes to install. Shouldn't the LSP be handling that? Or what am I missing? I don't have much experience with LSP--it's something I've been wanting to get to trying out, but haven't yet.

The short answer is that LSP doesn't mean universal LSP. You still need to pick and choose which LSP servers you want to install, because they are language specific. There are dozens of them and there is no point to downloading a C++ LSP if you work in Typescript.

Re: Show HN: Emacs Configuration Generator

#23

Quick question; I was a little confused by the fact that after asking for LSP support, and answering affirmatively, I went through a list of programming language modes to install. Shouldn't the LSP be handling that? Or what am I missing? I don't have much experience with LSP--it's something I've been wanting to get to trying out, but haven't yet.

The short answer is that LSP doesn't mean universal LSP. You still need to pick and choose which LSP servers you want to install, because they are language specific. There are dozens of them and there is no point to downloading a C++ LSP if you work in Typescript.

Thank you. That makes sense.

Re: Show HN: Emacs Configuration Generator

#24

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…

If you haven't yet I'd recommend going through the tutorial and looking at the elisp manual. Both are accessible if you press `C-h i` (there's a lot of other goodies in the list of manuals you get there, the calc one is great).

Re: Show HN: Emacs Configuration Generator

#25
post #24

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…

If you haven't yet I'd recommend going through the tutorial and looking at the elisp manual. Both are accessible if you press `C-h i` (there's a lot of other goodies in the list of manuals you get there, the calc one is great).

Except on Debian and Debian-derived systems. Apparently there's an issue with license compatibility, on those you may need to install this package: emacs-common-non-dfsg.

But on pretty much every other system with a standard emacs install, yes, `C-h i` is all you need to get to the documentation.

Re: Show HN: Emacs Configuration Generator

#26
post #24

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…

If you haven't yet I'd recommend going through the tutorial and looking at the elisp manual. Both are accessible if you press `C-h i` (there's a lot of other goodies in the list of manuals you get there, the calc one is great).

Ill definitely give that a go. I feel like I NEED to learn Lisp. My college data structures prof had his own book where all the java examples had a lisp counterpart.

He wouldn’t allow us to use normal Java data structures for assignments rather a lisp data structure called “cons”.

Not sure how different elisp and lisp is but syntax wise they look identical to me.

Re: Show HN: Emacs Configuration Generator

#27
this is definitely a useful tool, thank you for putting the work into it!

from the evil camp, it works be really useful if it also included an option to generate doom/spacemacs style mnemonic keybindings, as those are a central facet of why those like us start using them. i’d be interested in switching but for the enormous amount of effort it would take to add those! and if i were coming in as a newer user of emacs, having examples of how to create those kind of layered bindings would be hugely helpful.

Re: Show HN: Emacs Configuration Generator

#29
I discovered this project recently via some random HN post, and I've been contemplating using it to start over with my very chaotic Emacs configuration.

https://github.com/bbatsov/prelude

The list of features:

* Improved UX, that's still in line with Emacs traditions

* Sane defaults of baseline Emacs functionality

* Automatic installation of many major programming modes on demand

* A curated set of 3rd party packages to enhance the base functionality

* Simple modular architecture

* Easy customization

Re: Show HN: Emacs Configuration Generator

#30
post #24

Earlier quoted context omitted.

If you haven't yet I'd recommend going through the tutorial and looking at the elisp manual. Both are accessible if you press `C-h i` (there's a lot of other goodies in the list of manuals you get there, the calc one is great).

Ill definitely give that a go. I feel like I NEED to learn Lisp. My college data structures prof had his own book where all the java examples had a lisp counterpart. He wouldn’t allow us to use normal Java data structures for assignments rather a lisp data structure called “cons”. Not sure how different elisp and lisp is but syntax wise they look identical to me.

If you know some Common Lisp, Emacs Lisp isn't hard to learn (and they're even closer than when I learned elisp 15-20 years ago). Some minor gotchas with literal syntax (literal arrays/vectors and chars are represented differently in each) and some differences in their standard libraries. A more major gotcha is elisp's dynamic scope, which comes up if you're used to lexical scope.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Dy...

In practice, I've never been bitten by this except when I tried to do some fancier functional programming things in elisp that I normally would use another language for. And you can specify that you want lexical scope:

https://www.gnu.org/software/emacs/manual/html_node/elisp/Le...

The whole section those two come from: https://www.gnu.org/software/emacs/manual/html_node/elisp/Va...

Post reply on HN