I typed customize-mode to add something to the hook, only to find that there wasn't one. Is there something I'm missing?
customize-mode compatibility #36
I think would be useful to have a hook too. Would be trivial to add one like zig-mode-hook. If folks think this is doable, I can make a PR for that.
zig-mode is using the standard define-derived-mode. The mode hook should be defined already. 🤔
if i had to guess it exists but isn't visible to custom.
What package management tool do you use to install packages? package.el? 🤔
yes.
it seems customize-mode is actually broken with a lot of non-core modes, i believe you need to add :group 'zig-mode to the mode definition.
I believed is there for a long time, see
ziglang/zig-mode@9ce2009710/zig-mode.el (L494)
Apparently, customize mode can't work with unloaded module. Therefore, you have to (require 'zig-mode) before customize-mode.
I believed is there for a long time, see
ziglang/zig-mode@9ce2009710/zig-mode.el (L494)Apparently, customize mode can't work with unloaded module. Therefore, you have to
(require 'zig-mode)before customize-mode.
This doesn't appear to be the case on my setup. zig-mode-hook does not appear in the customize menu, despite being defined. I've created a PR (#113) that fixes this issue.
https://ziglang.org/news/announcing-donor-bounties
Observed behavior contradicts documented or intended behavior.
This issue is limited in scope and/or knowledge of project internals.
An issue with a third-party project that uses this project.
Solving this issue will likely involve adding new logic or components to the codebase.
An issue related to project infrastructure, e.g. continuous integration.
A task to improve performance and/or resource usage.
No questions on the issue tracker; use a community space instead.
A bug that did not occur in a previous version.
An issue with a third-party project that this project uses.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?