From f08bf17d40510e27d8e132d55f9a5714b175b56f Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Mon, 20 Oct 2025 13:38:44 +0200 Subject: [PATCH 1/2] swi-prolog --- packages/nixmacs/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nixmacs/default.nix b/packages/nixmacs/default.nix index 4c15a2c..a2c00f9 100644 --- a/packages/nixmacs/default.nix +++ b/packages/nixmacs/default.nix @@ -103,6 +103,7 @@ gcc # for C++ code blocks python3 #for python code blocks #kdePackages.qtdeclarative #qmlls + swi-prolog ]); # Optionally override derivations. From afe0269ecafaaf10f3662c280ecd21700048afe1 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Mon, 20 Oct 2025 13:42:53 +0200 Subject: [PATCH 2/2] org babel prolog --- config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 0a00028..79c349f 100644 --- a/config.org +++ b/config.org @@ -639,11 +639,14 @@ Adding rainbow coloring to parentheses. * Org Babel [[https://orgmode.org/worg//org-contrib/babel/languages/ob-doc-C.html][How to use C++ code blocks (tables included)]] #+begin_src emacs-lisp + (git-package "https://github.com/ljos/ob-prolog") + (use-package ob-prolog) (org-babel-do-load-languages 'org-babel-load-languages '((shell . t) (C . t) - (python . t))) + (python . t) + (prolog . t))) #+end_src * ORG MODE ** Org Copy Link