Stefano Costa is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Stefano Costa @steko

I've been using for years now, always at a very basic level (major modes for CSV, Python, Markdown, and a bit of magit.. Orgmode too, but I'm not a daily user) , and I still can't understand how package management should be done in order to maintain sanity. use-package seems great, except for all packages that won't work with it.

@steko

> use-package seems great, except for all packages that won't work with it.

I have been using use-package just fine. Do you want to elaborate on that?

@kaushalmodi no, I've worded this wrongly, the problem is in my limited understanding of Emacs Lisp, not in use-package. E.g. I can't work out how org-mode exporting should be configured in the use-package declaration, since most documentation just points to (require 'ox-md) which is not "idiomatic" with use-package as far as I can tell 😢

@steko

> most documentation just points to (require 'ox-md)

In general terms, (require 'foo) translates to (use-package foo).

After that, the :init and :config keywords are common. Read through that and other keywords as needed in the use-package documentation: jwiegley.github.io/use-package

@kaushalmodi looking at the documentation for your own ox-hugo is very helpful. The use-package documentation is really too much for my current Emacs skills, apart from the general concepts. Thank you

@steko How did ox-hugo documentation help with use-package? :)

But no worries, #emacs is a life skill, you never stop learning; you just learn the bits and pieces of it as and when you need :)

@kaushalmodi these simple two paragraphs are quite effective: