Subject: bug#60837: closed (Re: bug#60837: [PATCH] gnu: Add emacs-auto-compile)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Jan 2023 07:37:02 +0000

Your bug report

#60837: [PATCH] gnu: Add emacs-auto-compile

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60837: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60837
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#60837: [PATCH] gnu: Add emacs-auto-compile
From: Liliana Marie Prikler <[email-masked]>
To: Maxim Cournoyer <[email-masked]>
Cc: Cayetano Santos <[email-masked]>, [email-masked]
Date: Sun, 29 Jan 2023 08:35:52 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Am Montag, dem 16.01.2023 um 11:47 -0500 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <[email-masked]> writes:
> 
> > 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.
> > > 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.
> 
> Make sure to use two spaces between sentences.  Other than that, LGTM
> too, so feel free to push it already.
Pushed with the spaces :)

Cheers

Subject: [PATCH] gnu: Add emacs-auto-compile
From: [email-masked]
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>
Date: Sun, 15 Jan 2023 20:55:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Cayetano Santos <[email-masked]>

---
 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
+source files. Together these modes guarantee that Emacs never loads outdated
+byte code files.")
+    (license license:gpl3+)))
+
 (define-public emacs-geiser
   (package
     (name "emacs-geiser")
-- 
2.38.1