[bug#78278] gnu: Add emacs-org-modern-indent.

Message ID ef70d56f72df64af484ee3546a88f91f34b611c2.1746534934.git.mail@nicolasgoaziou.fr
State New
Headers
Series [bug#78278] gnu: Add emacs-org-modern-indent. |

Commit Message

Nicolas Goaziou May 6, 2025, 12:36 p.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-org-modern-indent): New variable.

Change-Id: Ib4d9ee0ef84d7abf003c15c1abcc603758605c78
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


base-commit: db336991b517f9ddc0d896b0f087eb3b88636804
  

Comments

Liliana Marie Prikler May 7, 2025, 7:31 p.m. UTC | #1
Am Dienstag, dem 06.05.2025 um 14:36 +0200 schrieb Nicolas Goaziou:
> * gnu/packages/emacs-xyz.scm (emacs-org-modern-indent): New variable.
> 
> Change-Id: Ib4d9ee0ef84d7abf003c15c1abcc603758605c78
> ---
>  gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 50a6f4c386..b553c6efe7 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -42711,6 +42711,34 @@ (define-public emacs-org-modern
>  source blocks.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-org-modern-indent
> +  (package
> +    (name "emacs-org-modern-indent")
> +    (version "0.5.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/jdtsmith/org-modern-indent")
> +             (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> +         "09bg1shw06ddlxq678abr9q6g9wfc6b483xi0iwldxk4qbgzgpdj"))))
> +    (build-system emacs-build-system)
> +    (arguments
> +     (list #:tests? #false))            ;no tests
> +    (propagated-inputs (list emacs-compat))
> +    (home-page "https://github.com/jdtsmith/org-modern-indent")
> +    (synopsis "Modern block styling with Org Indent mode")
> +    (description
> +     "Org Modern mode cannot style various Org blocks properly when
> used in
> +conjunction with Org Indent mode.  This small package approximately
> reproduces
> +the block styling of Org Modern mode when using Org Indent mode.  It
> can be
> +used with or without Org Modern mode.")
> +    (license license:gpl3+)))
> +
> +
There's a gratuitous newline here, otherwise LGTM.
>  (define-public emacs-org-margin
>    (let* ((commit "4013b59ff829903a7ab86b95593be71aa5c9b87d")
>           (revision "0"))
> 
> base-commit: db336991b517f9ddc0d896b0f087eb3b88636804

Cheers
  
Nicolas Goaziou May 16, 2025, 2:54 p.m. UTC | #2
Hello,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> Am Dienstag, dem 06.05.2025 um 14:36 +0200 schrieb Nicolas Goaziou:
>> * gnu/packages/emacs-xyz.scm (emacs-org-modern-indent): New variable.
> There's a gratuitous newline here, otherwise LGTM.

I removed the gratuitous newline. I also added `emacs-org' as
a propagated input because bundled one is too old for this package.
I added a comment about in the package definition.

Applied. Thank you!

Regards,
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 50a6f4c386..b553c6efe7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -42711,6 +42711,34 @@  (define-public emacs-org-modern
 source blocks.")
     (license license:gpl3+)))
 
+(define-public emacs-org-modern-indent
+  (package
+    (name "emacs-org-modern-indent")
+    (version "0.5.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jdtsmith/org-modern-indent")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "09bg1shw06ddlxq678abr9q6g9wfc6b483xi0iwldxk4qbgzgpdj"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list #:tests? #false))            ;no tests
+    (propagated-inputs (list emacs-compat))
+    (home-page "https://github.com/jdtsmith/org-modern-indent")
+    (synopsis "Modern block styling with Org Indent mode")
+    (description
+     "Org Modern mode cannot style various Org blocks properly when used in
+conjunction with Org Indent mode.  This small package approximately reproduces
+the block styling of Org Modern mode when using Org Indent mode.  It can be
+used with or without Org Modern mode.")
+    (license license:gpl3+)))
+
+
 (define-public emacs-org-margin
   (let* ((commit "4013b59ff829903a7ab86b95593be71aa5c9b87d")
          (revision "0"))