From patchwork Wed Jul 12 18:43:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51691 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E7F4227BBE9; Wed, 12 Jul 2023 19:45:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 767BE27BBE2 for ; Wed, 12 Jul 2023 19:45:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJepl-0006Jy-Sj; Wed, 12 Jul 2023 14:45:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJepk-0006Ja-8Q for guix-patches@gnu.org; Wed, 12 Jul 2023 14:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJepk-0007aC-0F for guix-patches@gnu.org; Wed, 12 Jul 2023 14:45:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJepi-0001wq-HX; Wed, 12 Jul 2023 14:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64585] [PATCH] gnu: Add emacs-which-key-posframe. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 12 Jul 2023 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64585 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64585@debbugs.gnu.org Cc: Ahmad Draidi , Andrew Tropin , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.16891874547391 (code B ref -1); Wed, 12 Jul 2023 18:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2023 18:44:14 +0000 Received: from localhost ([127.0.0.1]:52932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJeow-0001v9-64 for submit@debbugs.gnu.org; Wed, 12 Jul 2023 14:44:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:40694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJeou-0001v1-E9 for submit@debbugs.gnu.org; Wed, 12 Jul 2023 14:44:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJeou-0006B9-4b for guix-patches@gnu.org; Wed, 12 Jul 2023 14:44:12 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJeoq-0007Gc-KR for guix-patches@gnu.org; Wed, 12 Jul 2023 14:44:11 -0400 Received: from localhost.localdomain (bba-86-99-199-254.alshamil.net.ae [86.99.199.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id A344946BF; Wed, 12 Jul 2023 18:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1689187437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ziJPjXz5wiq/rJw6jL8JSD0OY1vH+3STflo4VC43SY8=; b=D0lY6Yxfurdef3FnqAEPPvcR3Nmpbp22W1rJIPdYHBRB7HycbuvZ9afvwMOEgi9Taz15e+ 3ZvyWDaLhTRvurwYKblplIZQPGgy1vSQmLr0e3ng9okAqjCNHwDisGzVgrO1M9fbfcokKo y/uY328HDix/IAvFhkY3Vq+WzCmkaDqItZ30k+DVp2a9VDAq4KnVw4bmJmV7vypEmT1ixI 5mWHKdjLY+e218Tivvy/91avIrpdkU22bHzDmLNOxV0CzvOQbD/r+P/IG1jEckkMa3ZplW 4ZGx9D3X0vJ3bWqopBiUsS5MaWXYe3DkA0h04t199cMeSTEw23eoMYCr7Tak8m0XBK+grR f17PbGxVdzMRpnPpbnLJOjQgkQYwKf4CVmNBXTVTULhNyBsQSc0DVDpSVvqIP8Hn8XYE+7 eZ8fCbF4UERpm2HRz/i7fC0jVPsBtr81qFHW9LtP5Go3VG/TL7c4ko+9hrfPOGdd+yv0Rp 9Uzg0dfs5CSK9ojy8JC64TbuPNhX3whHNJXg1SlyWruOC1on4byLKgjcPOVsL5DgikLeyr ZkFm5RWXdDoPblbIPXqdnPUTlRVYjMwlGj7Evk/R0rqYrBBL80WVwoJtoQaXkdUkDe1oHT mAjx78FYQIae54qMtRPlNQ0kaQZpvAL8mV0irsqWnjdbLJtIrXrXM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1689187437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ziJPjXz5wiq/rJw6jL8JSD0OY1vH+3STflo4VC43SY8=; b=M2NcdvwNnHA/IPkqlEcX6Y4L6THeo6SGLiy5CJvSMAMydLVNmY3oXHiFzsGTUsd9RTKhDW OjLBJNsUe5K4s5DQ== Date: Wed, 12 Jul 2023 22:43:21 +0400 Message-ID: <7a19278d57fc2771beaee3d20d757a33f5d08b03.1689187401.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=103.105.48.212; envelope-from=a.r.draidi@redscript.org; helo=rainycloud.ext.redscript.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-which-key-posframe): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) base-commit: 3b524cde7115a6e89a438c1fd230093e6f30442f diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 480096fb50..77c15ece7e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -19243,6 +19243,34 @@ (define-public emacs-which-key settings).") (license license:gpl3+))) +;; Tagged release upstream is from before the package was orphaned. +;; The base version is extracted from the "Version" keyword in the main file +;; with "-git" suffix removed. +(define-public emacs-which-key-posframe + (let ((commit "e4a9ce9a1b20de550fca51f14d055821980d534a") + (revision "0")) + (package + (name "emacs-which-key-posframe") + (version (git-version "0.2.0.50" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/emacsorphanage/which-key-posframe") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kgc29pb5k6cb2m13cz1yhys1k8l4dpx6wjjgldpdlg9qw2i1b53")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-posframe emacs-which-key)) + (home-page "https://github.com/emacsorphanage/which-key-posframe") + (synopsis "Display which-key popup in a posframe (a child frame)") + (description + "This package is a @code{which-key} extension, which uses posframe +(a child frame) to show @code{which-key} popups.") + (license license:gpl3+)))) + (define-public emacs-display-wttr (package (name "emacs-display-wttr")