From unknown Sun Aug 10 02:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50896: emacs-beancount broken, moved to its own project Resent-From: Christine Lemmer-Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Sep 2021 18:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50896 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50896@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1632938740650 (code B ref -1); Wed, 29 Sep 2021 18:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2021 18:05:40 +0000 Received: from localhost ([127.0.0.1]:50186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdxb-0000AQ-JE for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:05:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:38826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdxa-0000AI-6w for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:05:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVdxa-0007EU-2D for bug-guix@gnu.org; Wed, 29 Sep 2021 14:05:38 -0400 Received: from dustycloud.org ([50.116.34.160]:38552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVdxV-0000zc-G7 for bug-guix@gnu.org; Wed, 29 Sep 2021 14:05:37 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 9B8EE26663 for ; Wed, 29 Sep 2021 14:05:31 -0400 (EDT) User-agent: mu4e 1.6.6; emacs 27.2 From: Christine Lemmer-Webber Date: Wed, 29 Sep 2021 14:03:20 -0400 Message-ID: <87v92jp89k.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello... emacs-beancount is broken because it's no longer just bundled in beancount. However, I've attached a fix. If nobody has any problem with this I'll just push it up to master. Since it's a leaf package, and the current state is "it's broken" I figure it's probably fine to push, but since it's a significant refactoring thought I'd ask for a review before I did so. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-emacs-beancount-Restructure-package-now-independ.patch Content-Transfer-Encoding: quoted-printable From=20e6f150f3eb3f3f63455c2a21a9490690b59216f2 Mon Sep 17 00:00:00 2001 From: Christine Lemmer-Webber Date: Wed, 29 Sep 2021 12:46:01 -0400 Subject: [PATCH] gnu: emacs-beancount: Restructure package, now independent= of beancount. * gnu/packages/finance.scm (emacs-beancount): Restructure package, now independent of beancount and in its own git repository. Note that there is= no version number for the now independent code tree, so unfortunately this mig= ht look like a "version downgrade" to some users as it switched from being beancount's revision number to being a git-derived version number. =2D-- gnu/packages/finance.scm | 41 ++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4aaab58906..e554d93535 100644 =2D-- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1643,25 +1643,30 @@ define financial transaction records in a text file= , read them in memory, generate a variety of reports from them, and provides a web interface.") (license license:gpl2))) =20 =2D;; The beancount source ships with elisp in a subdirectory (define-public emacs-beancount =2D (package =2D (inherit beancount) =2D (name "emacs-beancount") =2D (build-system emacs-build-system) =2D (arguments =2D `(#:tests? #f ;no tests =2D #:phases =2D (modify-phases %standard-phases =2D (add-before 'install 'chdir-emacs =2D (lambda _ =2D (chdir "editors/emacs") =2D #t))))) =2D (inputs '()) =2D (native-inputs '()) =2D (synopsis "Emacs mode for beancount") =2D (description =2D "Emacs-beancount is an Emacs mode for the Beancount accounting too= l."))) + (let ((commit "dbafe6a73d90c1f64d457b356b9dbb43499f70d5") + (revision "0")) + (package + (name "emacs-beancount") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beancount/beancount-mode") + (commit commit))) + (sha256 + (base32 + "0v9bws2gv5b00x829p7hrcxqgdp7iwxvv1vhfjka81qrw6w1fvjw")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (license license:gpl3+) + (home-page "https://github.com/beancount/beancount-mode") + (inputs '()) + (native-inputs '()) + (synopsis "Emacs mode for beancount") + (description + "Emacs-beancount is an Emacs mode for the Beancount accounting tool= .")))) =20 (define-public hledger-web (package =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUQqGKOKndniPjHCcS8Alkl/49NMFAmFUqucACgkQS8Alkl/4 9NNhNA/+JDt+2oOwCX/99nk800FWZS9Kr17VOZTqpcQ55t5mMVk59Oe9LX2nS2nC AfZLQW+22kuHxEHassWPnnFAbcr+sszdSrP9toSP6Q3iXRRM0K7SK2U+RLBGcB+m CtAJBsTZTnM6URPB7HGjSZr/eNXfRVquToJORLv/p9DcZ+KI95pQ+wgcQ3ji8uzk /xqgTdio13ViE4SCWygwyZQwQjr0s2O61KOEGSWAQLvBh7oHuWK0wU39zekcBBPv LMBOrvHgDC1jbovSs347ABRSuuMlIILsZiX6Bdjcd1Zc8pfk45uFQTTXwhtM9wDt CKsieZMUO7Ocn2uIHVq6JVOl/VkvvHxV7ZEY/GnlUgJAgzAwBHpGXhnH++Yg4/wa DBwucL1+SV74p7nE7cglmi5rnoDm+5XVd6mJ2ACqnBFt5SBmFDBTbU4/rkcPhJJD EwE9+7UDJs4t8BwZddfNf6VsbSTw88ljzjvEyZC2zamUhejsnYM8tM17DQ8BPUGu oBg0yDFXuKrbJGqpDhe1HR8ZwmzT/i9+iCyUeH4k3u33DP7DWc+CbRK0u07IVtdc iz4cQfmPHEJ2TMNhhQ55tKFBhPR+YfZqtJbkdiVrqZal6J/2xTpcAZ0Snef7Ngo7 2xr/U5mlRFAVXTEL7x2kcIQkByGT+sIiTkQ0/Yl2tMIog2INqJA= =aSId -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Aug 10 02:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50896: emacs-beancount broken, moved to its own project Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Sep 2021 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50896 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christine Lemmer-Webber Cc: 50896@debbugs.gnu.org Received: via spool by 50896-submit@debbugs.gnu.org id=B50896.163294381517835 (code B ref 50896); Wed, 29 Sep 2021 19:31:01 +0000 Received: (at 50896) by debbugs.gnu.org; 29 Sep 2021 19:30:15 +0000 Received: from localhost ([127.0.0.1]:50310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVfHT-0004da-JZ for submit@debbugs.gnu.org; Wed, 29 Sep 2021 15:30:15 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:59991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVfHR-0004dJ-6G for 50896@debbugs.gnu.org; Wed, 29 Sep 2021 15:30:14 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 5FB87200004; Wed, 29 Sep 2021 19:30:06 +0000 (UTC) From: Nicolas Goaziou References: <87v92jp89k.fsf@dustycloud.org> Date: Wed, 29 Sep 2021 21:30:05 +0200 In-Reply-To: <87v92jp89k.fsf@dustycloud.org> (Christine Lemmer-Webber's message of "Wed, 29 Sep 2021 14:03:20 -0400") Message-ID: <87sfxnxjr6.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Christine Lemmer-Webber writes: > + (let ((commit "dbafe6a73d90c1f64d457b356b9dbb43499f70d5") > + (revision "0")) I suggest to mention in a comment that upstream has not made any release yet. > + (package > + (name "emacs-beancount") > + (version (git-version "0.0.0" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/beancount/beancount-mode") > + (commit commit))) > + (sha256 > + (base32 > + "0v9bws2gv5b00x829p7hrcxqgdp7iwxvv1vhfjka81qrw6w1fvjw")) > + (file-name (git-file-name name version)))) > + (build-system emacs-build-system) > + (license license:gpl3+) Nitpick: usually, license field is at the end of the package definition. > + (home-page "https://github.com/beancount/beancount-mode") > + (inputs '()) > + (native-inputs '()) You can remove inputs and native-inputs fields, since they are empty. > + (synopsis "Emacs mode for beancount") Nitpick: beancount -> Beancount > + (description > + "Emacs-beancount is an Emacs mode for the Beancount accounting > tool.")))) Otherwise, LGTM! Regards, -- Nicolas Goaziou From unknown Sun Aug 10 02:40:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christine Lemmer-Webber Subject: bug#50896: closed (Re: bug#50896: emacs-beancount broken, moved to its own project) Message-ID: References: <8735p5mw9w.fsf@dustycloud.org> <87v92jp89k.fsf@dustycloud.org> X-Gnu-PR-Message: they-closed 50896 X-Gnu-PR-Package: guix Reply-To: 50896@debbugs.gnu.org Date: Wed, 13 Oct 2021 03:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1634096162-5833-1" This is a multi-part message in MIME format... ------------=_1634096162-5833-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50896: emacs-beancount broken, moved to its own project which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50896@debbugs.gnu.org. --=20 50896: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50896 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1634096162-5833-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50896-done) by debbugs.gnu.org; 13 Oct 2021 03:36:01 +0000 Received: from localhost ([127.0.0.1]:57037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maV3g-0001Vr-Ri for submit@debbugs.gnu.org; Tue, 12 Oct 2021 23:36:00 -0400 Received: from dustycloud.org ([50.116.34.160]:58050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maV3f-0001Vk-Ml for 50896-done@debbugs.gnu.org; Tue, 12 Oct 2021 23:35:59 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id C726326679; Tue, 12 Oct 2021 23:35:57 -0400 (EDT) References: <87v92jp89k.fsf@dustycloud.org> <87sfxnxjr6.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.6.6; emacs 27.2 From: Christine Lemmer-Webber To: Nicolas Goaziou Subject: Re: bug#50896: emacs-beancount broken, moved to its own project Date: Tue, 12 Oct 2021 23:34:20 -0400 In-reply-to: <87sfxnxjr6.fsf@nicolasgoaziou.fr> Message-ID: <8735p5mw9w.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50896-done Cc: 50896-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thank you... did all the above and pushed! The emacs-beancount package is sensibly alive again! ------------=_1634096162-5833-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Sep 2021 18:05:40 +0000 Received: from localhost ([127.0.0.1]:50186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdxb-0000AQ-JE for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:05:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:38826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdxa-0000AI-6w for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:05:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVdxa-0007EU-2D for bug-guix@gnu.org; Wed, 29 Sep 2021 14:05:38 -0400 Received: from dustycloud.org ([50.116.34.160]:38552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVdxV-0000zc-G7 for bug-guix@gnu.org; Wed, 29 Sep 2021 14:05:37 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 9B8EE26663 for ; Wed, 29 Sep 2021 14:05:31 -0400 (EDT) User-agent: mu4e 1.6.6; emacs 27.2 From: Christine Lemmer-Webber To: bug-guix@gnu.org Subject: emacs-beancount broken, moved to its own project Date: Wed, 29 Sep 2021 14:03:20 -0400 Message-ID: <87v92jp89k.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello... emacs-beancount is broken because it's no longer just bundled in beancount. However, I've attached a fix. If nobody has any problem with this I'll just push it up to master. Since it's a leaf package, and the current state is "it's broken" I figure it's probably fine to push, but since it's a significant refactoring thought I'd ask for a review before I did so. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-emacs-beancount-Restructure-package-now-independ.patch Content-Transfer-Encoding: quoted-printable From=20e6f150f3eb3f3f63455c2a21a9490690b59216f2 Mon Sep 17 00:00:00 2001 From: Christine Lemmer-Webber Date: Wed, 29 Sep 2021 12:46:01 -0400 Subject: [PATCH] gnu: emacs-beancount: Restructure package, now independent= of beancount. * gnu/packages/finance.scm (emacs-beancount): Restructure package, now independent of beancount and in its own git repository. Note that there is= no version number for the now independent code tree, so unfortunately this mig= ht look like a "version downgrade" to some users as it switched from being beancount's revision number to being a git-derived version number. =2D-- gnu/packages/finance.scm | 41 ++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 4aaab58906..e554d93535 100644 =2D-- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1643,25 +1643,30 @@ define financial transaction records in a text file= , read them in memory, generate a variety of reports from them, and provides a web interface.") (license license:gpl2))) =20 =2D;; The beancount source ships with elisp in a subdirectory (define-public emacs-beancount =2D (package =2D (inherit beancount) =2D (name "emacs-beancount") =2D (build-system emacs-build-system) =2D (arguments =2D `(#:tests? #f ;no tests =2D #:phases =2D (modify-phases %standard-phases =2D (add-before 'install 'chdir-emacs =2D (lambda _ =2D (chdir "editors/emacs") =2D #t))))) =2D (inputs '()) =2D (native-inputs '()) =2D (synopsis "Emacs mode for beancount") =2D (description =2D "Emacs-beancount is an Emacs mode for the Beancount accounting too= l."))) + (let ((commit "dbafe6a73d90c1f64d457b356b9dbb43499f70d5") + (revision "0")) + (package + (name "emacs-beancount") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beancount/beancount-mode") + (commit commit))) + (sha256 + (base32 + "0v9bws2gv5b00x829p7hrcxqgdp7iwxvv1vhfjka81qrw6w1fvjw")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (license license:gpl3+) + (home-page "https://github.com/beancount/beancount-mode") + (inputs '()) + (native-inputs '()) + (synopsis "Emacs mode for beancount") + (description + "Emacs-beancount is an Emacs mode for the Beancount accounting tool= .")))) =20 (define-public hledger-web (package =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUQqGKOKndniPjHCcS8Alkl/49NMFAmFUqucACgkQS8Alkl/4 9NNhNA/+JDt+2oOwCX/99nk800FWZS9Kr17VOZTqpcQ55t5mMVk59Oe9LX2nS2nC AfZLQW+22kuHxEHassWPnnFAbcr+sszdSrP9toSP6Q3iXRRM0K7SK2U+RLBGcB+m CtAJBsTZTnM6URPB7HGjSZr/eNXfRVquToJORLv/p9DcZ+KI95pQ+wgcQ3ji8uzk /xqgTdio13ViE4SCWygwyZQwQjr0s2O61KOEGSWAQLvBh7oHuWK0wU39zekcBBPv LMBOrvHgDC1jbovSs347ABRSuuMlIILsZiX6Bdjcd1Zc8pfk45uFQTTXwhtM9wDt CKsieZMUO7Ocn2uIHVq6JVOl/VkvvHxV7ZEY/GnlUgJAgzAwBHpGXhnH++Yg4/wa DBwucL1+SV74p7nE7cglmi5rnoDm+5XVd6mJ2ACqnBFt5SBmFDBTbU4/rkcPhJJD EwE9+7UDJs4t8BwZddfNf6VsbSTw88ljzjvEyZC2zamUhejsnYM8tM17DQ8BPUGu oBg0yDFXuKrbJGqpDhe1HR8ZwmzT/i9+iCyUeH4k3u33DP7DWc+CbRK0u07IVtdc iz4cQfmPHEJ2TMNhhQ55tKFBhPR+YfZqtJbkdiVrqZal6J/2xTpcAZ0Snef7Ngo7 2xr/U5mlRFAVXTEL7x2kcIQkByGT+sIiTkQ0/Yl2tMIog2INqJA= =aSId -----END PGP SIGNATURE----- --==-=-=-- ------------=_1634096162-5833-1--