make flycheck an optional dependency#93
Conversation
|
One thing I am still puzzled by is the autoload of |
|
I reran the latest commit to make sure that was false failure. https://github.com/emacs-rustic/rustic/actions/runs/13517402444/job/38352881470 It looks like markdown mode now depends on Emacs 28 |
|
It's up to you, because upcoming PR's will have the same complaint. Maybe we should drop the tests for Emacs version > 28? A separate PR would be required for that though, since this is completely unrelated. |
|
Thanks! Sorry this took so long. |
|
No worries, and glad to help out! :) |
|
This PR causes compilation error. Reproducing steps:
(progn
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-install 'rustic))
Only non-flycheck users will see this error. This error is not great but harmless for them. One way to avoid this error is to move the optional file |
To be clear, splitting only changes the distribution of |
|
FWIW,
|
|
I should've tested in Lines 229 to 230 in 22a5ef8 |
|
All files get compiled during installation. That's why MELPA suggests distributing optional files/packages (rustic-flycheck.el here) separately. |
It doesn't change anything for the developers, but it does mean that users now need to be aware of and import that package. Since I would guess 90% of users are using flycheck and it previously worked out of the box that would cause a big support headache. Not worth it for such a trivial change. |
NOTE: I am still very new to elisp world and this is the second PR I write for an elisp pacakge. If there is something missing, please ping me and I'll make sure to fix it! :)
Solves: #85