--- Begin Message ---
Subject: |
[PATCH] gnu: Add emacs-jit-spell. |
Date: |
Sat, 18 Mar 2023 23:47:23 -0400 |
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/emacs-xyz.scm (emacs-jit-spell): New variable.
---
This package only refers to aspell/ispell/whatever through variables defined in
Emacs proper so we don't have to care about patching any paths or anything.
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 05c326d423..fe3b73a2dc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9579,6 +9579,30 @@ (define-public emacs-jinja2-mode
sgml/html integration, and indentation (working with sgml).")
(license license:gpl3+)))
+(define-public emacs-jit-spell
+ (package
+ (name "emacs-jit-spell")
+ (version "0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://elpa.gnu.org/packages/jit-spell-"
+ version ".tar"))
+ (sha256
+ (base32
+ "10h2nbp6lap26arwifhzs119mkfj76fvjsix3iccjjvfdi88wdn9"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-compat))
+ (home-page "https://github.com/astoff/jit-spell")
+ (synopsis "Just-in-time spell checking")
+ (description
+ "This package highlights all misspelled words in a window, just like a
+word processor or web browser does. This behavior is different from the
+built-in Flyspell package, which only checks words as the cursor moves over
+them. Moreover, unlike Flyspell, jit-spell communicates with the
+spell-checking subprocess entirely asynchronously, which can lead to a
+noticeable performance improvement.")
+ (license license:gpl3+)))
+
(define-public emacs-company-cabal
;; The latest version is 0.3.0, but no release has been provided after 0.2.1.
(let ((commit "62112a7259e24bd6c08885629a185afe512b7d3d")
--
2.39.2
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#62271] [PATCH] gnu: Add emacs-jit-spell. |
Date: |
Fri, 24 Mar 2023 10:16:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hello,
Morgan.J.Smith@outlook.com writes:
> * gnu/packages/emacs-xyz.scm (emacs-jit-spell): New variable.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
--- End Message ---