nix-community / nix-doom-emacs

doom-emacs packaged for Nix [maintainers=@thiagokokada]
MIT License
214 stars 43 forks source link

`init.el` module help doesn't seem to work #434

Open nilp0inter opened 1 year ago

nilp0inter commented 1 year ago

Hi, I am fairly new to doom-emacs and nix-doom-emacs. To learn about all doom-emacs functionality a fairly common workflow would be:

  1. Open init.el file via SPC f p
  2. Put the cursor over a module (docker, for instance)
  3. Press K to display the module's help

Step 3 doesn't work at all for me, even using the minimal flake.nix. Instead, I get this vertico menu: image

Is this expected behavior? Any workaround or method to learn about the functionality of doom-emacs without leaving nix-doom-emacs?

Thank you very much! I love the project 😀

ckiee commented 1 year ago

Yeah, this has been broken for a while. See #353 and #316 — we haven't been able to update our Doom version. Good luck!

nilp0inter commented 1 year ago

Thank you for the fast response, @ckiee !

I don't mind using an older version of doom-emacs in the meanwhile, since I want to learn to use it first :)

Could you point me to a commit where this functionality worked?

Thanks!

ckiee commented 1 year ago

I don't know of one, it was too long ago. hlissner (the upstream maintainer) runs his Doom on NixOS without much of anything special: you can do that too if you want- there's also a shell.nix in there you could try.

(Maybe you'll even learn enough Elisp to try to revive this accursed project)

nilp0inter commented 1 year ago

I appreciate your insight. For the time being, I am gonna stick with running doom-emacs as hlissner does. I'll keep an eye on this repo, though, in case the situation improves 🤞.

Thank you!