Subject: [bug#60837] [PATCH v2] gnu: Add emacs-auto-compile.

From: Cayetano Santos <[email-masked]>
Date: Mon, 16 Jan 2023 16:02:00 +0100

>lun. 16 janv. 2023 at 15:31, Liliana Marie Prikler 
><[email-masked]> ...

> Am Montag, dem 16.01.2023 um 13:38 +0100 schrieb Cayetano 
> Santos:
>> * gnu/packages/emacs-xyz.scm (emacs-auto-compile): New 
>> variable.
>> ---
>>  gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
>>  1 file changed, 22 insertions(+)
>>
>> diff --git a/gnu/packages/emacs-xyz.scm 
>> b/gnu/packages/emacs-xyz.scm
>> index 5f60d82ad5..ea97cb09a2 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -259,6 +259,28 @@ (define-module (gnu packages emacs-xyz)
>>  ;;; Emacs hacking.
>>  ;;;
>>
>> +(define-public emacs-auto-compile
>> +  (package
>> +    (name "emacs-auto-compile")
>> +    (version "1.7.2")
>> +    (source (origin
>> +              (method git-fetch)
>> +              (uri (git-reference
>> +                    (url
>> "https://github.com/emacscollective/auto-compile.git")
>> +                    (commit version)))
>> +              (sha256
>> +               (base32
>> +
>> "1njnyilv6lxnbvi6yrgzg6qjhf6vgh4fpag4hav1j45718y6kd31"))))
>> +    (build-system emacs-build-system)
>> +    (propagated-inputs (list emacs-compat emacs-packed))
>> +    (home-page 
>> "https://github.com/emacscollective/auto-compile")
>> +    (synopsis "Automatically compile Emacs Lisp libraries")
>> +    (description
>> +     "This package provides two minor modes which 
>> automatically
>> recompile Emacs Lisp
> Note how you're exceeding fill-column.
>> +source files. Together these modes guarantee that Emacs never 
>> loads
> Use two spaces at the end of sentences.

Sorry for that, won’t forget next time.

>> outdated
>> +byte code files.")
>> +    (license license:gpl3+)))

> I also moved this before emacs-auto-sudoedit.  Placing packages
> directly at the start or end f files makes it mildly harder to 
> rebase.
>
> The package appears to build fine with both emacs and 
> emacs-minimal, so
> if there's no objection, I'll push this (with some fixes re the 
> above
> points) on the 29th.

Fine with me.

Cheers,