[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rec-mode: No autoload for `rec-mode'
From: |
Jose E. Marchesi |
Subject: |
Re: rec-mode: No autoload for `rec-mode' |
Date: |
Fri, 10 Dec 2021 16:51:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Liliana.
Thanks for reaching out.
> Hello everyone,
>
> typically, Elisp libraries that provide major modes, such as c-mode or
> org-mode, use an autoload cookie to have them be known even if the mode
> itself is not yet loaded. This allows Emacs to load the major mode as-
> needed, e.g. when the rec-file declares "mode: rec" in its file-local
> variables or the ".rec" ending is added through auto-mode-alist and
> books.rec is opened. Such an autoload is currently missing in both
> version 1.5 (bundled with the latest recutils release) and version
> 1.8/git master. While users can easily autoload functions on their
> own, I think this ought to be provided from upstream :)
The latest versions of rec-mode are available via ELPA. They feature
;;;###autoload marks.