all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 55916@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-terminal.
Date: Sat, 11 Jun 2022 20:08:15 -0500	[thread overview]
Message-ID: <20220612010816.11448-1-jgart@dismail.de> (raw)
In-Reply-To: <20220611200548.GB11172@gac>

* 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





  reply	other threads:[~2022-06-12  1:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-12  1:05 [bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-doc-terminal jgart via Guix-patches via
2022-06-12  1:08 ` jgart via Guix-patches via [this message]
2022-06-12  1:08   ` [bug#55916] [PATCH 2/2] " jgart via Guix-patches via
2022-06-12 11:23 ` [bug#55916] [PATCH 1/2] " Liliana Marie Prikler
2022-06-12 11:42   ` bug#55916: " Liliana Marie Prikler
2022-06-12 20:55     ` [bug#55916] " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220612010816.11448-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=55916@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.