aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages/emacs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'oni/packages/emacs.scm')
-rw-r--r--oni/packages/emacs.scm92
1 files changed, 87 insertions, 5 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index 105a855..5629998 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -610,7 +610,7 @@ dot-separated path form like @code{jobs.build.docker} and
(license license:gpl3))))
(define-public emacs-yoshi-theme
- (let ((commit "6e436a34cc56a73eec49f8d5f8fbcfcaa5cae808")
+ (let ((commit "dc7b512dbe29db8f61f1485dad4213f5c5fd2669")
(revision "0"))
(package
(name "emacs-yoshi-theme")
@@ -623,7 +623,7 @@ dot-separated path form like @code{jobs.build.docker} and
(method git-fetch)
(file-name (git-file-name name version))
(sha256
- (base32 "1xidzl08sf2hndd7jazc1f5b9gwnbasq7p5901bbbnr898b7r407"))))
+ (base32 "0qjcqrj1k8mlkjlahjn83l7hq76dmjvn1n9xnj0rz3drk114wxb0"))))
(build-system emacs-build-system)
(arguments
`(#:include '("icons/*" . ,%default-include)))
@@ -843,7 +843,7 @@ flycheck-phpstan) (flycheck-mode t)) (add-hook php-mode-hook my-php-mode-setup).
(license #f)))
(define-public emacs-org-mem
- (let ((commit "0a33650ccb79c9bd49d7598fbb8f09beb2153350")
+ (let ((commit "07094dac902e452d59533e4d01e8177afaa0cfd1")
(revision "0"))
(package
(name "emacs-org-mem")
@@ -856,9 +856,12 @@ flycheck-phpstan) (flycheck-mode t)) (add-hook php-mode-hook my-php-mode-setup).
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "0jrisa0w6khiv2mndhyrr0yjsg191yix4gpj2g57nvp80l3xbnbl"))))
+ (base32 "09c2s9yz3288g0z66wxqhhk7nwwqri7wgprk3k9h41l0l2hswssc"))))
(build-system emacs-build-system)
- (propagated-inputs (list emacs-el-job emacs-emacsql emacs-llama))
+ (propagated-inputs (list emacs-el-job
+ emacs-emacsql
+ emacs-llama
+ emacs-truename-cache))
(home-page "https://github.com/meedstrom/org-node")
(synopsis "Cache metadata on all Org files")
(description
@@ -1019,3 +1022,82 @@ enabled.")
(synopsis "Emacs major mode for Vue based on Tree-sitter")
(description "Emacs major mode for Vue based on Tree-sitter")
(license license:gpl3+))))
+
+(define-public emacs-stillness-mode
+ (package
+ (name "emacs-stillness-mode")
+ (version "20250307.1608")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neeasade/stillness-mode.el")
+ (commit "05029febdb451941ed218e6ddbef5294776e31d4")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06gj5fjjq922fafn2wi8i0c6sx3s95zi17crmgv2dy0k1f4ljvkz"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-dash))
+ (home-page "https://github.com/neeasade/stillness-mode.el")
+ (synopsis "Prevent windows from jumping on minibuffer activation")
+ (description
+ "stillness-mode is a minor mode that prevents Emacs from scrolling the main
+editing window when a multi-line minibuffer appears. It automatically adjusts
+point just enough so that Emacs doesn't force a jump in the visible buffer.")
+ (license license:expat)))
+
+(define-public emacs-related-files
+ (package
+ (name "emacs-related-files")
+ (version "20230903.851")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DamienCassou/related-files")
+ (commit "8020f375013d5e83c9b8117d118d2402c63e66bb")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09czvj7rcvcb8h6fh6f2i1fiwk0ghg7n0lx1xppnf9yvwpdxld1s"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:tests? #f))
+ (home-page "https://www.gnu.org/software/emacs/")
+ (synopsis "Easily find files related to the current one")
+ (description
+ "Thousands times a day you want to jump from a file to its test file (or to its
+CSS file, or to its header file, or any other related file) and just as many
+times you want to go back to the initial file. Jumping to related files is what
+this package is about. The question is: how does a user specify that a file is
+related to a set of other files? One way is to create a function that takes a
+file as argument and returns a list of related filenames: (defun
+my/related-files-jumper (file) (let ((without-ext (file-name-sans-extension
+file))) (list (concat without-ext \".js\") (concat without-ext \".css\")))) (setq
+related-files-jumpers (list #'my/related-files-jumper)) `my/related-files-jumper
+is called a jumper. With this setup, `related-files-jump will let the user jump
+from Foo.js to Foo.css and back. This is working good but has several
+limitations: 1. If Foo.css is not in the same directory as Foo.js or if you
+want to include test files which end with \"-tests.js\", `my/related-files-jumper
+has to be modified in a non-obvious way or a complicated new jumper must be
+written and added to `related-files-jumpers'; 2. The function
+`my/related-files-jumper has to be shared with all Emacs users working on the
+same project So related-files recommends another approach that is less powerful
+but much simpler. Here is another way to define the same jumper: (recipe
+:remove-suffix \".js\" :add-suffix \".css\") This list must replace
+`my/related-files-jumper in `related-files-jumpers'. This jumper lets the user
+go from Foo.js to Foo.css. related-files will automatically inverse the meaning
+of :remove-suffix and :add-suffix arguments so the user can also go from Foo.css
+to Foo.js with this jumper. See `related-files-jumpers and THE MANUAL (TODO)
+for more information. This kind of jumper can easily be shared with the members
+of a team through a .dir-locals.el file. See (info \"(Emacs) Directory
+Variables\"). `related-files-make also makes it easy to create a related file and
+fill it with some content. If the content is always the same, a string can be
+used to specify it: (recipe :remove-suffix \".js\" :add-suffix \".css\" :filler
+\"Fill the CSS file\") There is also an `auto-insert'-based way to fill new files
+and new kinds of fillers can easily be implemented. See the manual for more
+information. If you want to add a new kind of jump, override
+`related-files-apply and optionally `related-files-get-filler', call
+`related-files-add-jumper-type and add a function to
+`related-files-jumper-safety-functions'. If you want to add a new kind of
+filler, override `related-files-fill and call `related-files-add-filler-type'.")
+ (license license:gpl3+)))