all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Haider Mirza <haider@haider.gq>
To: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>,
	55864@debbugs.gnu.org
Subject: [bug#55864] Added the emacs-org-auto-tangle package
Date: Fri, 10 Jun 2022 20:02:23 +0100	[thread overview]
Message-ID: <877d5oz6io.fsf@xps.mail-host-address-is-not-set> (raw)
In-Reply-To: <52b7d8e9f14ae161487e50c3a3fee9ba829fb963.camel@ist.tugraz.at>


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

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@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.

[-- Attachment #1.2: 0001-gnu-Add-emacs-org-auto-tangle.patch --]
[-- Type: text/x-patch, Size: 1935 bytes --]

From 7d98fb3263173f1b7f0368b2afcd4ae64ce37568 Mon Sep 17 00:00:00 2001
From: Haider Mirza <x7and7@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@polidoro.io>
 ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
 ;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
+;;; Copyright © 2022 Haider Mirza <haider@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


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

  reply	other threads:[~2022-06-10 19:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-08 21:34 [bug#55864] Added the emacs-org-auto-tangle package Haider Mirza
2022-06-10  6:09 ` Liliana Marie Prikler
2022-06-10 19:02   ` Haider Mirza [this message]
2022-06-10 19:15     ` Haider Mirza
2022-06-11  7:23       ` bug#55864: " Liliana Marie Prikler
2022-06-10 19:09 ` [bug#55864] " Haider Mirza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877d5oz6io.fsf@xps.mail-host-address-is-not-set \
    --to=haider@haider.gq \
    --cc=55864@debbugs.gnu.org \
    --cc=liliana.prikler@ist.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.