GNU bug report logs - #55864
Added the emacs-org-auto-tangle package

Previous Next

Package: guix-patches;

Reported by: Haider Mirza <haider <at> haider.gq>

Date: Thu, 9 Jun 2022 04:43:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

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 55864 in the body.
You can then email your comments to 55864 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#55864; Package guix-patches. (Thu, 09 Jun 2022 04:43:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Haider Mirza <haider <at> haider.gq>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 09 Jun 2022 04:43:03 GMT) Full text and rfc822 format available.

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

From: Haider Mirza <haider <at> haider.gq>
To: guix-patches <at> gnu.org
Subject: Added the emacs-org-auto-tangle package
Date: Wed, 08 Jun 2022 22:34:28 +0100
[Message part 1 (text/plain, inline)]
Good Morning/Afternoon,
Here is a patch to add the Emacs Orgmode package specialized for lazy
people (org-auto-tangle).
Please let me know if there's any way this package definition can be improved!

Regards,
Haider.

[0001-Added-the-emacs-org-auto-tangle-package.patch (text/x-patch, inline)]
From c78b82bce0c2e77369db9432826c34d5d228734d Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7 <at> gmail.com>
Date: Wed, 8 Jun 2022 22:14:56 +0100
Subject: [PATCH] Added the emacs-org-auto-tangle package

---
 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 2633b775a6..cf4f9171a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -113,6 +113,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la <at> protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5486,6 +5487,27 @@ (define-public emacs-org-inline-pdf
 inline PDF preview in Org buffers by using pdf2svg.")
     (license license:gpl3+)))
 
+(define-public emacs-org-auto-tangle
+  (package
+   (name "emacs-org-auto-tangle")
+   (version "0.4.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yilkalargaw/org-auto-tangle.git")
+		  (commit version)))
+            (sha256
+             (base32
+              "1zb7vcmhmjiqpbbhqrqci689rnpn10p985cs5jk9sgg66xsbrgs3"))))
+   (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-async))
+   (home-page "https://github.com/yilkalargaw/org-auto-tangle")
+   (synopsis "Automatically tangle code blocks on save")
+   (description
+    "This package (i.e org-auto-tangle) is a very simple emacs package that allows you to automatically tangle org files on save.")
+      (license license:bsd-2)))
+
 (define-public emacs-org-rich-yank
   (package
     (name "emacs-org-rich-yank")
-- 
2.36.1

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

Information forwarded to guix-patches <at> gnu.org:
bug#55864; Package guix-patches. (Fri, 10 Jun 2022 06:10:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
To: Haider Mirza <haider <at> haider.gq>, 55864 <at> debbugs.gnu.org
Subject: Re: Added the emacs-org-auto-tangle package
Date: Fri, 10 Jun 2022 08:09:51 +0200
Hello, Haider

Am Mittwoch, dem 08.06.2022 um 22:34 +0100 schrieb Haider Mirza:

> [PATCH] Added the emacs-org-auto-tangle package
> 
> ---
You're missing a ChangeLog here.  Note that with magit+yasnippet you
can generate such commit messages "automatically" after loading the
snippet definitions from /path/to/guix/etc/snippets.  Simply type
"add", then TAB.

> +   (build-system emacs-build-system)
> +    (propagated-inputs
> +     (list emacs-async))
This indentation appears off, also you can squash propagated-inputs
into a single line.

> +   (description
> +    "This package (i.e org-auto-tangle) is a very simple emacs
> package that allows you to automatically tangle org files on save.")
"This package" is enough of a qualifier.  Alternatively, write
@code{org-auto-tangle}. "is a very simple emacs package that" is very
useless filler.  Write "This package allows you..." or similar.  Note
the value of fill-column as per .dir-locals.el

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#55864; Package guix-patches. (Fri, 10 Jun 2022 19:03:02 GMT) Full text and rfc822 format available.

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

From: Haider Mirza <haider <at> haider.gq>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>,
 55864 <at> debbugs.gnu.org
Subject: Re: Added the emacs-org-auto-tangle package
Date: Fri, 10 Jun 2022 20:02:23 +0100
[Message part 1 (text/plain, inline)]
Hello Liliana!
I think that I have fixed all of your recommendations with the package definition.

I love the yasnippet function, would you (Guix in general) mind if I use
their yasnippet config as reference (It is in the Guix repository after all)

Also, if you don't mind answering a question of mine, in Magit the saved
Patch doesn't this section:

> From 7d98fb3263173f1b7f0368b2afcd4ae64ce37568 Mon Sep 17 00:00:00 2001
> From: Haider Mirza <x7and7 <at> gmail.com>
> Date: Wed, 8 Jun 2022 22:14:56 +0100
> Subject: [PATCH] gnu: Add emacs-org-auto-tangle.

> *  (emacs-org-auto-tangle): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
Is this a problem on my side or am I running the wrong command (in the
commit buffer running W+s)

And Like I said before, let me know if there's any way this package definition can
be further improved! (First time making a patch)

Thanks for your help,
Haider.
[0001-gnu-Add-emacs-org-auto-tangle.patch (text/x-patch, inline)]
From 7d98fb3263173f1b7f0368b2afcd4ae64ce37568 Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7 <at> gmail.com>
Date: Wed, 8 Jun 2022 22:14:56 +0100
Subject: [PATCH] gnu: Add emacs-org-auto-tangle.

*  (emacs-org-auto-tangle): 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 2633b775a6..cf4f9171a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -113,6 +113,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la <at> protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5486,6 +5487,27 @@ (define-public emacs-org-inline-pdf
 inline PDF preview in Org buffers by using pdf2svg.")
     (license license:gpl3+)))
 
+(define-public emacs-org-auto-tangle
+  (package
+   (name "emacs-org-auto-tangle")
+   (version "0.4.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yilkalargaw/org-auto-tangle.git")
+		  (commit version)))
+            (sha256
+             (base32
+              "1zb7vcmhmjiqpbbhqrqci689rnpn10p985cs5jk9sgg66xsbrgs3"))))
+   (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-async))
+   (home-page "https://github.com/yilkalargaw/org-auto-tangle")
+   (synopsis "Automatically tangle code blocks on save")
+   (description
+    "This package (i.e org-auto-tangle) is a very simple emacs package that allows you to automatically tangle org files on save.")
+      (license license:bsd-2)))
+
 (define-public emacs-org-rich-yank
   (package
     (name "emacs-org-rich-yank")
-- 
2.36.1

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

Information forwarded to guix-patches <at> gnu.org:
bug#55864; Package guix-patches. (Fri, 10 Jun 2022 19:16:02 GMT) Full text and rfc822 format available.

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

From: Haider Mirza <haider <at> haider.gq>
To: guix-patches <at> gnu.org
Subject: Re: Added the emacs-org-auto-tangle package
Date: Fri, 10 Jun 2022 20:09:52 +0100
[Message part 1 (text/plain, inline)]
Sorry, I included the wrong patch :/

Regards,
Haider.
[0001-gnu-Add-emacs-org-auto-tangle.patch (text/x-patch, inline)]
From 04f1320d53b23f972a1be82e8d8b47128ea27d22 Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7 <at> gmail.com>
Date: Fri, 10 Jun 2022 20:08:19 +0100
Subject: [PATCH] gnu: Add emacs-org-auto-tangle.

* gnu/packages/emacs-xyz.scm (emacs-org-auto-tangle): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6077e52c4a..6ccfc14814 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -113,6 +113,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la <at> protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18639,6 +18640,26 @@ (define-public emacs-bing-dict
 Chinese to English.")
     (license license:gpl3+)))
 
+(define-public emacs-org-auto-tangle
+  (package
+   (name "emacs-org-auto-tangle")
+   (version "0.4.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yilkalargaw/org-auto-tangle.git")
+		  (commit version)))
+            (sha256
+             (base32
+              "1zb7vcmhmjiqpbbhqrqci689rnpn10p985cs5jk9sgg66xsbrgs3"))))
+   (build-system emacs-build-system)
+    (propagated-inputs (list emacs-async))
+   (home-page "https://github.com/yilkalargaw/org-auto-tangle")
+   (synopsis "Automatically tangle code blocks on save")
+   (description
+    "org-auto-tangle is a Emacs Orgmode package that allows you to automatically run org-babel-tangle when saving an orgmode document.")
+      (license license:bsd-2)))
+
 (define-public emacs-org-auto-expand
   (let ((commit "4938d5f6460e2f8f051ba9ac000b291bfa43ef62")
         (revision "1"))
-- 
2.36.1

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

Information forwarded to guix-patches <at> gnu.org:
bug#55864; Package guix-patches. (Fri, 10 Jun 2022 19:16:02 GMT) Full text and rfc822 format available.

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

From: Haider Mirza <haider <at> haider.gq>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>,
 55864 <at> debbugs.gnu.org
Subject: Re: Added the emacs-org-auto-tangle package
Date: Fri, 10 Jun 2022 20:15:50 +0100
[Message part 1 (text/plain, inline)]
Sorry, I included the wrong patch :/

Regards,
Haider.
[0001-gnu-Add-emacs-org-auto-tangle.patch (text/x-patch, inline)]
From 04f1320d53b23f972a1be82e8d8b47128ea27d22 Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7 <at> gmail.com>
Date: Fri, 10 Jun 2022 20:08:19 +0100
Subject: [PATCH] gnu: Add emacs-org-auto-tangle.

* gnu/packages/emacs-xyz.scm (emacs-org-auto-tangle): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6077e52c4a..6ccfc14814 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -113,6 +113,7 @@
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la <at> protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18639,6 +18640,26 @@ (define-public emacs-bing-dict
 Chinese to English.")
     (license license:gpl3+)))
 
+(define-public emacs-org-auto-tangle
+  (package
+   (name "emacs-org-auto-tangle")
+   (version "0.4.1")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/yilkalargaw/org-auto-tangle.git")
+		  (commit version)))
+            (sha256
+             (base32
+              "1zb7vcmhmjiqpbbhqrqci689rnpn10p985cs5jk9sgg66xsbrgs3"))))
+   (build-system emacs-build-system)
+    (propagated-inputs (list emacs-async))
+   (home-page "https://github.com/yilkalargaw/org-auto-tangle")
+   (synopsis "Automatically tangle code blocks on save")
+   (description
+    "org-auto-tangle is a Emacs Orgmode package that allows you to automatically run org-babel-tangle when saving an orgmode document.")
+      (license license:bsd-2)))
+
 (define-public emacs-org-auto-expand
   (let ((commit "4938d5f6460e2f8f051ba9ac000b291bfa43ef62")
         (revision "1"))
-- 
2.36.1

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

Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sat, 11 Jun 2022 07:25:02 GMT) Full text and rfc822 format available.

Notification sent to Haider Mirza <haider <at> haider.gq>:
bug acknowledged by developer. (Sat, 11 Jun 2022 07:25:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Haider Mirza <haider <at> haider.gq>, 55864-done <at> debbugs.gnu.org
Subject: Re: Added the emacs-org-auto-tangle package
Date: Sat, 11 Jun 2022 09:23:46 +0200
Am Freitag, dem 10.06.2022 um 20:15 +0100 schrieb Haider Mirza:
> Sorry, I included the wrong patch :/
I cleaned up your patch and pushed it.

> Is this a problem on my side or am I running the wrong command (in
> the commit buffer running W+s)
There was probably something wrong with your workflow given that you
had to fix things up.  If you start from a blank slate, you shouldn't
experience this, but magit doesn't always have the right diffs as far
as I know.

Cheers




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Jul 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 285 days ago.

Previous Next


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