all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38913] [PATCH] gnu: Add emacs-company-posframe.
@ 2020-01-04  3:50 LaFreniere, Joseph
  2020-01-04  4:23 ` bug#38913: " Brett Gilio
  0 siblings, 1 reply; 2+ messages in thread
From: LaFreniere, Joseph @ 2020-01-04  3:50 UTC (permalink / raw)
  To: 38913

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

Patch file is attached.

--
Joseph LaFreniere

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-company-posframe.patch --]
[-- Type: text/x-patch, Size: 2034 bytes --]

From 0018aa632a71dee3bfce1bd30373bdfaf1356284 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Fri, 3 Jan 2020 21:48:20 -0600
Subject: [PATCH] gnu: Add emacs-company-posframe.

* gnu/packages/emacs-xyz.scm (emacs-company-posframe): New variable.
---
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 37a34fe236..a0caa6921a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3674,6 +3674,35 @@ front-ends.  Company comes with many back-ends, e.g. @code{company-elisp}.
 These are distributed in separate files and can be used individually.")
     (license license:gpl3+)))
 
+(define-public emacs-company-posframe
+  (let ((version "0.1.0")
+        (revision "1")
+        (commit "67d899502384fb9ab2870aba0af41523dea7b64f"))
+    (package
+      (name "emacs-company-posframe")
+      (version (git-version version revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/tumashu/company-posframe.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "051smlvz1siwglsd9k9l0m20mygrx4niflmyshha0064287aysxr"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-company" ,emacs-company)
+         ("emacs-posframe" ,emacs-posframe)))
+      (home-page "https://github.com/tumashu/company-posframe")
+      (synopsis "Use a posframe for @code{emacs-company}'s candidate menu")
+      (description
+       "Allows @code{emacs-company} to use child frames for its candidate menus.
+
+@code{emacs-company-posframe} is fast enough for daily use and supports CJK
+languages.")
+      (license license:gpl3+))))
+
 (define-public emacs-irony-mode
   (package
     (name "emacs-irony-mode")
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#38913: [PATCH] gnu: Add emacs-company-posframe.
  2020-01-04  3:50 [bug#38913] [PATCH] gnu: Add emacs-company-posframe LaFreniere, Joseph
@ 2020-01-04  4:23 ` Brett Gilio
  0 siblings, 0 replies; 2+ messages in thread
From: Brett Gilio @ 2020-01-04  4:23 UTC (permalink / raw)
  To: LaFreniere, Joseph; +Cc: 38913-done

Hi Joseph,

Thank you for your contribution! I have pushed it to master with
4589148f573d4af54295994bc907565603e81525. Originally I was curious why
you opted to take a commit for building, but then I realized that their
released tag carries a bug that they revert afterwards, so that makes
sense.

Best,

-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg@gnu.org> <brettg@posteo.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-04  4:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-04  3:50 [bug#38913] [PATCH] gnu: Add emacs-company-posframe LaFreniere, Joseph
2020-01-04  4:23 ` bug#38913: " Brett Gilio

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.