aboutsummaryrefslogtreecommitdiffstats
path: root/oni
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-04-03 22:59:58 -0700
committerGravatar Tom Willemse2025-04-03 22:59:58 -0700
commitc0d69d07bcb1a3483bca304282b51d86dab54e2a (patch)
tree0b95ed09f811accb716268f17da410981edb0ccb /oni
parent4fcd2067e67a87c42484565f61ddca414c89732a (diff)
downloadnew-dotfiles-c0d69d07bcb1a3483bca304282b51d86dab54e2a.tar.gz
new-dotfiles-c0d69d07bcb1a3483bca304282b51d86dab54e2a.zip
rincewind: Add emacs-indexed package
Diffstat (limited to 'oni')
-rw-r--r--oni/home/config/rincewind.scm7
-rw-r--r--oni/packages/emacs.scm24
2 files changed, 29 insertions, 2 deletions
diff --git a/oni/home/config/rincewind.scm b/oni/home/config/rincewind.scm
index 96ed2bf..089a688 100644
--- a/oni/home/config/rincewind.scm
+++ b/oni/home/config/rincewind.scm
@@ -160,7 +160,8 @@
emacs-outli
emacs-syncthing-status
emacs-nginx-mode
- emacs-next-org-modern))
+ emacs-next-org-modern
+ emacs-indexed))
#:use-module ((oni packages emacs-config)
#:select (emacs-oni-org-roam
emacs-oni-elfeed
@@ -377,7 +378,9 @@
(with-source snes-blackthorne-icons
(format #f "~a/pictures/icons/Blackthorne/blackthorne_icons.tar.gz" (getenv "HOME")))
(with-source snes-blackthorne
- (format #f "~a/downloads/Blackthorne.7z" (getenv "HOME")))))
+ (format #f "~a/downloads/Blackthorne.7z" (getenv "HOME")))
+
+ emacs-indexed))
(services
(list
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index bb0f42b..80d7032 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -823,3 +823,27 @@ https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.ht
(~/.emacs.d/init.el) (defun my-php-mode-setup () \"My PHP-mode hook.\" (require
flycheck-phpstan) (flycheck-mode t)) (add-hook php-mode-hook my-php-mode-setup).")
(license #f)))
+
+(define-public emacs-indexed
+ (package
+ (name "emacs-indexed")
+ (version "20250327.1025")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/meedstrom/indexed.git")
+ (commit "1a0a8e2776cdc861ffbe9b49f99d5aac70c7d89a")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1p1vpv2jjym107fc0xj3iiqqnxijd7n57kx3z9z7w1pahg346w4l"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-el-job emacs-emacsql emacs-llama))
+ (home-page "https://github.com/meedstrom/org-node")
+ (synopsis "Cache metadata on all Org files")
+ (description
+ "An efficient cache of metadata about all your Org files. Builds fast. Provides
+two APIs: - regular elisp accessors such as `indexed-olpath', `indexed-pos etc -
+an in-memory SQLite database that mimics the org-roam database.")
+ (license #f)))
+