From 4c0f3c0720c55de5b4c243dc25e53a98f8ffd866 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 23 Sep 2017 11:56:22 +0800 Subject: [PATCH 3/4] gnu: Add emacs-pos-tip. * gnu/packages/emacs.scm (emacs-pos-tip): New variable. --- gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index c7f200fec..8970f7364 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4800,6 +4800,33 @@ constructs.") config Chinese fonts easily.") (license license:gpl2+))) +(define-public emacs-pos-tip + (package + (name "emacs-pos-tip") + (version "0.4.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/pitkali/pos-tip/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r")))) + (build-system emacs-build-system) + ;; The following functions and variables needed by emacs-pos-tip are + ;; not included in emacs-minimal: + ;; x-display-pixel-width, x-display-pixel-height, x-show-tip + (arguments `(#:emacs ,emacs)) + (home-page "https://github.com/pitkali/pos-tip") + (synopsis "Show tooltip at point") + (description "The standard library tooltip.el provides the function +for displaying a tooltip at mouse position which allows users to easily +show it. However, locating tooltip at arbitrary buffer position in window +is not easy. Pos-tip provides such function to be used by other +frontend programs.") + (license license:gpl2+))) + (define-public emacs-pyim-basedict (package (name "emacs-pyim-basedict") -- 2.14.1