doomemacs / doomemacs/core

Library(ies) suddenly not loading

Open
#7,174 1 comment 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [X] The issue can be reproduced on the **latest** available commit of Doom.

- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*

### Expected behavior

My version of Emacs _is_ compiled with libxml2 support. I was working on a package that uses the `dom-___` functions. The library is still on my system, and `locate-library` finds the `dom` library. `load-library` also loads it just fine. I shut Emacs down (and I may have hit the wrong key on accident, it felt like I might have), and after I started it back up, it kept telling me that `dom-search` was void. After loading the module manually, it works just fine. But before that seemingly odd shutdown, I didn't have to manually load it. Why is that library (possibly others, not sure) suddenly not autoloading?

### Current behavior

Now I have to manually load the `dom` library to get its functions to be available.

### Steps to reproduce

May not be reproducible, as I don't know the keybind I hit that may have caused this. That's the only thing I can think of.

### System Information

https://pastebin.com/jBDVp3Eg

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.