unofficial mirror of guix-patches@gnu.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 2/2] gnu: Add emacs-corfu-doc-terminal.
Date: Sat, 11 Jun 2022 20:08:16 -0500	[thread overview]
Message-ID: <20220612010816.11448-2-jgart@dismail.de> (raw)
In-Reply-To: <20220612010816.11448-1-jgart@dismail.de>

* gnu/packages/emacs-xyz.scm (emacs-corfu-doc-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 dff0d99632..eca0423216 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31684,6 +31684,34 @@ (define-public emacs-corfu-terminal
 to enable.  You'll probably want to enable it only in the terminal.")
       (license license:gpl3+))))
 
+(define-public emacs-corfu-doc-terminal
+  (let ((commit "d8945c64b52d76e864b767b3048674f222daf80b")
+        (revision "0"))
+    (package
+      (name "emacs-corfu-doc-terminal")
+      (version (git-version "0.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://codeberg.org/akib/emacs-corfu-doc-terminal")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0j0dd8np5x93wic22bc5i9h7bq2gj700n4fh11dzzgsj14lv2r5k"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+        (list emacs-corfu emacs-corfu-doc emacs-corfu-terminal emacs-popon))
+      (home-page "https://codeberg.org/akib/emacs-corfu-doc-terminal/")
+      (synopsis "Documentation popup in terminal provided by corfu")
+      (description
+"@code{emacs-corfu-doc} uses child frames to display
+candidates.  This makes @code{emacs-corfu-doc} unusable on
+terminal.  @code{emac-corfu-doc-terminal} replaces that with
+@code{emacs-popon}, which works everywhere.")
+      (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 ` [bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-terminal jgart via Guix-patches via
2022-06-12  1:08   ` jgart via Guix-patches via [this message]
2022-06-12 11:23 ` [bug#55916] [PATCH 1/2] gnu: Add emacs-corfu-doc-terminal 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20220612010816.11448-2-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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).