bug-recutils
[Top][All Lists]
Advanced

[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: Mon, 13 Dec 2021 10:30:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Hi Jose.
> Thanks for the quick reply.
>
> Am Freitag, den 10.12.2021, 16:51 +0100 schrieb Jose E. Marchesi:
>> 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.  [...]
>> 
>> The latest versions of rec-mode are available via ELPA.  They feature
>> ;;;###autoload marks.
> Perhaps I was a little unclear; the point is that such a cookie is
> missing before
>
>   (define-derived-mode rec-mode nil "Rec"
>
> Therefore, even with autoloads built and loaded, the major mode "rec-
> mode" is unbound and won't be loaded unless you manually require
> recutils or set up the autoload yourself.  The suggestion is to add it
> like so:
>
>   ;;;###autoload
>   (define-derived-mode rec-mode nil "Rec"

I just added it in rec-mode.git.
Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]