diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-05-16 16:49:25 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-05-16 16:49:25 +0200 |
commit | e80054495fdeeab86a712214798b0e702ce1e779 (patch) | |
tree | d608da834ad4ddaecc4531f3607cb1637936eaf1 | |
parent | df492d419157764f1f33494ae51fe69b77d47716 (diff) | |
download | guix-e80054495fdeeab86a712214798b0e702ce1e779.tar.gz guix-e80054495fdeeab86a712214798b0e702ce1e779.zip |
gnu: Add emacs-org-modern-indent.
* gnu/packages/emacs-xyz.scm (emacs-org-modern-indent): New variable.
Change-Id: Ib263a5e79c9e7179741121295a1284766d940dbd
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4374e1e630..8abc263691 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -42811,6 +42811,36 @@ and text properties. The package styles headlines, keywords, tables and 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 + ;; XXX: Bundled Org mode (as of Emacs 29.4) is too old; Org Modern + ;; Indent mode cannot work properly with it. + (list emacs-compat emacs-org)) + (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")) |