all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40372] Add emacs-beancount
@ 2020-04-01 12:51 Christopher Lemmer Webber
  2020-04-02 12:26 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Lemmer Webber @ 2020-04-01 12:51 UTC (permalink / raw)
  To: 40372


[-- Attachment #1.1: Type: text/plain, Size: 214 bytes --]

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!"


[-- Attachment #1.2: 0001-gnu-Add-emacs-beancount.patch --]
[-- Type: text/x-patch, Size: 2248 bytes --]

From 7fda36e4be1abc16a9855e13ee450927f0f0e25a Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber@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@fbengineering.ch>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016, 2017, 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
-;;; Copyright © 2015, 2016, 2018 Christopher Lemmer Webber <cwebber@dustycloud.org>
+;;; Copyright © 2015, 2016, 2018, 2020 Christopher Lemmer Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 David Thompson <davet@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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#40372] Add emacs-beancount
  2020-04-01 12:51 [bug#40372] Add emacs-beancount Christopher Lemmer Webber
@ 2020-04-02 12:26 ` Ludovic Courtès
  2020-04-02 15:20   ` bug#40372: " Christopher Lemmer Webber
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-04-02 12:26 UTC (permalink / raw)
  To: Christopher Lemmer Webber; +Cc: 40372

Hello Chris!

Christopher Lemmer Webber <cwebber@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@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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40372: Add emacs-beancount
  2020-04-02 12:26 ` Ludovic Courtès
@ 2020-04-02 15:20   ` Christopher Lemmer Webber
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Lemmer Webber @ 2020-04-02 15:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40372-done

Ludovic Courtès writes:

> Hello Chris!
>
> Christopher Lemmer Webber <cwebber@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@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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-02 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01 12:51 [bug#40372] Add emacs-beancount Christopher Lemmer Webber
2020-04-02 12:26 ` Ludovic Courtès
2020-04-02 15:20   ` bug#40372: " Christopher Lemmer Webber

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.