From patchwork Sun Aug 7 12:53:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Pierre-Henry_Fr=C3=B6hring?= X-Patchwork-Id: 41332 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 2F5B627BBEA; Sun, 7 Aug 2022 13:56:40 +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.9 required=5.0 tests=BAYES_00,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 E801727BBE9 for ; Sun, 7 Aug 2022 13:56:39 +0100 (BST) Received: from localhost ([::1]:54468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKfpf-00024r-4A for patchwork@mira.cbaines.net; Sun, 07 Aug 2022 08:56:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKfn8-0007Sb-9A for guix-patches@gnu.org; Sun, 07 Aug 2022 08:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKfn7-0002HQ-Vu for guix-patches@gnu.org; Sun, 07 Aug 2022 08:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKfn7-0004z8-Ss for guix-patches@gnu.org; Sun, 07 Aug 2022 08:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57036] [PATCH] gnu: Add emacs-mini-frame. Resent-From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 12:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57036 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57036@debbugs.gnu.org Cc: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165987680819100 (code B ref -1); Sun, 07 Aug 2022 12:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2022 12:53:28 +0000 Received: from localhost ([127.0.0.1]:36164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfma-0004xz-Dt for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:53:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:35690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKfmW-0004xp-E2 for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:53:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKfmW-0006tb-8R for guix-patches@gnu.org; Sun, 07 Aug 2022 08:53:24 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:44161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKfmT-0002Be-S0 for guix-patches@gnu.org; Sun, 07 Aug 2022 08:53:23 -0400 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id 286D240005; Sun, 7 Aug 2022 12:53:15 +0000 (UTC) From: Pierre-Henry =?utf-8?b?RnLDtmhyaW5n?= Date: Sun, 7 Aug 2022 14:53:12 +0200 Message-Id: <20220807125312.1043149-1-contact@phfrohring.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::222; envelope-from=contact@phfrohring.com; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-mini-frame): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3c1d322db3..1fc4442e90 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31967,3 +31967,26 @@ (define-public emacs-vundo tree to go back to previous buffer states. To use vundo, type @kbd{M-x vundo RET} in the buffer you want to undo. An undo tree buffer should pop up.") (license license:gpl3+))) + +(define-public emacs-mini-frame + (package + (name "emacs-mini-frame") + (version "20220627.2041") + (source (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/mini-frame-" + version ".el")) + (sha256 + (base32 + "0xn5glw1159l7qg216yvi56clax9lbx4prrv28y1pkxyrqqwwl8d")))) + (build-system emacs-build-system) + (home-page "https://github.com/muffinmad/emacs-mini-frame") + (synopsis "Show minibuffer in child frame") + (description + "Place minibuffer at the top of the current frame on read-from-minibuffer. + +@dfn{mini-frame-mode} makes an advice around read-from-minibuffer function to +create and show minibuffer-only child frame to accept input. @code{find-file} +and similar functions associated mini-buffers may appear at the center of the +screen and not at the bottom.") + (license license:gpl3+)))