[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-terminal.
From: |
jgart |
Subject: |
[bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-terminal. |
Date: |
Sat, 11 Jun 2022 20:08:15 -0500 |
* gnu/packages/emacs-xyz.scm (emacs-corfu-terminal): New variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 469579792a..dff0d99632 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31656,6 +31656,34 @@ (define-public emacs-osm
parallel fetching of tiles with cURL, and more.")
(license license:gpl3+)))
+(define-public emacs-corfu-terminal
+ (let ((commit "7c5a8a1c07b6c1a41b358b083d5bf7773701d26b")
+ (revision "0"))
+ (package
+ (name "emacs-corfu-terminal")
+ (version (git-version "0.4" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://codeberg.org/akib/emacs-corfu-terminal")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pk5vfcz8w4hiqrwzwpxdjzlbhla0bw7a1h6v0mqxad0j9y7v3nw"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-corfu emacs-popon))
+ (home-page "https://codeberg.org/akib/emacs-corfu-terminal/")
+ (synopsis "Corfu popup in terminal")
+ (description
+"@code{emacs-corfu} uses child frames to display candidates. This makes
+it unusable in the terminal. @code{emacs-corfu-popup} replaces that with
+popup/popon, which works everywhere. Use @code{M-x corfu-popup-mode}
+to enable. You'll probably want to enable it only in the terminal.")
+ (license license:gpl3+))))
+
(define-public emacs-popon
;; Upstream does not tag releases. The commit below matches the version
;; bump.
--
2.36.1