GNU bug report logs - #40372
Add emacs-beancount

Previous Next

Package: guix-patches;

Reported by: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Date: Wed, 1 Apr 2020 12:52:02 UTC

Severity: normal

Done: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40372 in the body.
You can then email your comments to 40372 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40372; Package guix-patches. (Wed, 01 Apr 2020 12:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 Apr 2020 12:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: guix-patches <at> gnu.org
Subject: Add emacs-beancount
Date: Wed, 01 Apr 2020 08:51:19 -0400
[Message part 1 (text/plain, inline)]
Hot on the heels of beancount!

Also is able to inherit the beancount package in a really elegant way,
since it's installing a .el file from that.  Moments like this make me
say "I love Guix's delightful design!"

[0001-gnu-Add-emacs-beancount.patch (text/x-patch, inline)]
From 7fda36e4be1abc16a9855e13ee450927f0f0e25a Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Wed, 1 Apr 2020 08:48:25 -0400
Subject: [PATCH] gnu: Add emacs-beancount.

* gnu/packages/emacs-xyz.scm (emacs-beancount): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ed3e6f15cd..f908a9f2a3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2015 Federico Beffa <beffa <at> fbengineering.ch>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2016, 2017, 2018, 2019 Chris Marusich <cmmarusich <at> gmail.com>
-;;; Copyright © 2015, 2016, 2018 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
+;;; Copyright © 2015, 2016, 2018, 2020 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
 ;;; Copyright © 2016 Adriano Peluso <catonano <at> gmail.com>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2016 David Thompson <davet <at> gnu.org>
@@ -106,6 +106,7 @@
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dictionaries)
   #:use-module (gnu packages emacs)
+  #:use-module (gnu packages finance)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
@@ -22064,3 +22065,21 @@ conventions.")
       (description "Haskell-Snippets is a collection of YASnippet Haskell
 snippets for Emacs.")
       (license license:expat))))
+
+;; The beancount source ships with elisp in a subdirectory
+(define-public emacs-beancount
+  (package
+    (inherit beancount)
+    (name "emacs-beancount")
+    (build-system emacs-build-system)
+    (arguments
+     `(#:tests? #f ;no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'chdir-emacs
+           (lambda _
+             (chdir "editors/emacs")
+             #t)))))
+    (synopsis "Emacs mode for beancount")
+    (description
+      "Emacs mode for the beancount accounting tool.")))
-- 
2.25.1

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40372; Package guix-patches. (Thu, 02 Apr 2020 12:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 40372 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Cc: 40372 <at> debbugs.gnu.org
Subject: Re: [bug#40372] Add emacs-beancount
Date: Thu, 02 Apr 2020 14:26:57 +0200
Hello Chris!

Christopher Lemmer Webber <cwebber <at> dustycloud.org> skribis:

> Hot on the heels of beancount!
>
> Also is able to inherit the beancount package in a really elegant way,
> since it's installing a .el file from that.  Moments like this make me
> say "I love Guix's delightful design!"

Heheh.  :-)

> From 7fda36e4be1abc16a9855e13ee450927f0f0e25a Mon Sep 17 00:00:00 2001
> From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
> Date: Wed, 1 Apr 2020 08:48:25 -0400
> Subject: [PATCH] gnu: Add emacs-beancount.
>
> * gnu/packages/emacs-xyz.scm (emacs-beancount): New variable.

[...]

> +    (synopsis "Emacs mode for beancount")
> +    (description
> +      "Emacs mode for the beancount accounting tool.")))

Bonus points if you can turn that into a full sentence.  :-)

Otherwise LGTM, thank you!

Ludo’.




Reply sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
You have taken responsibility. (Thu, 02 Apr 2020 15:21:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Thu, 02 Apr 2020 15:21:02 GMT) Full text and rfc822 format available.

Message #13 received at 40372-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 40372-done <at> debbugs.gnu.org
Subject: Re: [bug#40372] Add emacs-beancount
Date: Thu, 02 Apr 2020 11:20:36 -0400
Ludovic Courtès writes:

> Hello Chris!
>
> Christopher Lemmer Webber <cwebber <at> dustycloud.org> skribis:
>
>> Hot on the heels of beancount!
>>
>> Also is able to inherit the beancount package in a really elegant way,
>> since it's installing a .el file from that.  Moments like this make me
>> say "I love Guix's delightful design!"
>
> Heheh.  :-)
>
>> From 7fda36e4be1abc16a9855e13ee450927f0f0e25a Mon Sep 17 00:00:00 2001
>> From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
>> Date: Wed, 1 Apr 2020 08:48:25 -0400
>> Subject: [PATCH] gnu: Add emacs-beancount.
>>
>> * gnu/packages/emacs-xyz.scm (emacs-beancount): New variable.
>
> [...]
>
>> +    (synopsis "Emacs mode for beancount")
>> +    (description
>> +      "Emacs mode for the beancount accounting tool.")))
>
> Bonus points if you can turn that into a full sentence.  :-)
>
> Otherwise LGTM, thank you!
>
> Ludo’.

Ok, done and pushed!  Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 May 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.