From patchwork Mon Aug 8 08:32:57 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: 41371 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 CEF5027BBEA; Mon, 8 Aug 2022 09:34:25 +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,HTML_MESSAGE, MAILING_LIST_MULTI,SPF_HELO_PASS 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 868EE27BBE9 for ; Mon, 8 Aug 2022 09:34:25 +0100 (BST) Received: from localhost ([::1]:35176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKyDQ-0003hQ-Mu for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 04:34:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKyD5-0003gT-Dq for guix-patches@gnu.org; Mon, 08 Aug 2022 04:34:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKyD5-0006bd-13 for guix-patches@gnu.org; Mon, 08 Aug 2022 04:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKyD4-0006Yk-Ts for guix-patches@gnu.org; Mon, 08 Aug 2022 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57036] [PATCH] gnu: Add emacs-mini-frame. References: <20220807125312.1043149-1-contact@phfrohring.com> Resent-From: contact@phfrohring.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57036 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Liliana Marie Prikler" Cc: 57036@debbugs.gnu.org Received: via spool by 57036-submit@debbugs.gnu.org id=B57036.165994758925124 (code B ref 57036); Mon, 08 Aug 2022 08:34:02 +0000 Received: (at 57036) by debbugs.gnu.org; 8 Aug 2022 08:33:09 +0000 Received: from localhost ([127.0.0.1]:39142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyCD-0006XA-0l for submit@debbugs.gnu.org; Mon, 08 Aug 2022 04:33:09 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyC8-0006Wb-Ij for 57036@debbugs.gnu.org; Mon, 08 Aug 2022 04:33:07 -0400 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id E8C56240011; Mon, 8 Aug 2022 08:32:57 +0000 (UTC) From: contact@phfrohring.com In-Reply-To: <9d68890fbe712a4aa2eb1cd85d89e0db4c2d42df.camel@gmail.com> X-Forward: 127.0.0.1 Date: Mon, 08 Aug 2022 10:32:57 +0200 MIME-Version: 1.0 Message-ID: <3c02-62f0ca00-4a1-7f3bf500@109461396> User-Agent: SOGoMail 5.5.0 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 > We don't do MELPA versions here. Use git with git-version please. > Refer to the "Version:" header in the source file to get the base > version. Thank you for your quick reply. Here is a patch with your remarks taken into account. Cheers, PHF From 5f084687013d82376c6423748c6558dc92690a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= Date: Mon, 8 Aug 2022 10:24:05 +0200 Subject: [PATCH] gnu: Add emacs-mini-frame. * gnu/packages/emacs-xyz.scm (emacs-mini-frame): New variable. --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3c1d322db3..107205ad7c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31967,3 +31967,30 @@ (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 + (let ((commit "60838f3cab438dcbda8eaa15ab3e5d1af88910e9") + (revision "0")) + (package + (name "emacs-mini-frame") + (version (git-version "1.19" revision commit)) + (source + (origin + (uri (git-reference + (url "https://github.com/muffinmad/emacs-mini-frame.git") + (commit commit))) + (method git-fetch) + (sha256 + (base32 "0q01iymz657bg3mcmq7vcl8r0ypsa1pqj1p6gxs7ywx1d33lan4d")) + (file-name (git-file-name name version)))) + (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+)))) -- 2.37.1