From a224c70cf553261d1f7b1ef434d1f4c584dc9d8f Mon Sep 17 00:00:00 2001 From: qblade Date: Fri, 26 Mar 2021 01:16:20 +0000 Subject: [PATCH 1/2] gnu: Add emacs-showtip * gnu/packages/emacs-xyz.scm (emacs-showtip): New variable. --- 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 f45507c647..bf3cac7b44 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -95,6 +95,7 @@ ;;; Copyright © 2021 Alexey Abramov ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021 qblade ;;; ;;; This file is part of GNU Guix. ;;; @@ -27350,3 +27351,26 @@ and prefered services can easily be configured.") quasi-prefix map, with many useful bindings. These bindings are shorter than usual, using mostly unprefixed keys.") (license license:gpl3+))) + +(define-public emacs-showtip + (package + (name "emacs-showtip") + (version "20090830.1040") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacsorphanage/showtip") + (commit + "930da302809a4257e8d69425455b29e1cc91949b"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01zak0zhha6dp7a2hm28d065gjnc462iwpsfyxhbxgfzcdlicqc7")))) + (build-system emacs-build-system) + (home-page "https://github.com/emacsorphanage/showtip") + (synopsis "Show tip at cursor") + (description + "This library export one function for elisp programer to show +tooltip near the cursor not the mouse.") + (license license:gpl2+))) -- 2.31.0