Kaushal Modi is a user on mastodon.technology. 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.

I've been using #Emacs 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 😢

#Emacs

Kaushal Modi @kaushalmodi

@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

· Web · 0 · 1

@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

#Emacs

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

But no worries, 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: