unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: contact@phfrohring.com <contact@phfrohring.com>
To: "Liliana Marie Prikler" <liliana.prikler@gmail.com>
Cc: 57036@debbugs.gnu.org
Subject: [bug#57036] [PATCH] gnu: Add emacs-mini-frame.
Date: Mon, 08 Aug 2022 10:32:57 +0200	[thread overview]
Message-ID: <3c02-62f0ca00-4a1-7f3bf500@109461396> (raw)
In-Reply-To: <9d68890fbe712a4aa2eb1cd85d89e0db4c2d42df.camel@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]


> 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

[-- Attachment #1.2: Type: text/html, Size: 310 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-mini-frame.patch --]
[-- Type: text/x-patch, Size: 1944 bytes --]

From 5f084687013d82376c6423748c6558dc92690a98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Henry=20Fr=C3=B6hring?= <contact@phfrohring.com>
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


  reply	other threads:[~2022-08-08  8:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 12:53 [bug#57036] [PATCH] gnu: Add emacs-mini-frame Pierre-Henry Fröhring
2022-08-07 16:23 ` Liliana Marie Prikler
2022-08-08  8:32   ` contact [this message]
2022-08-16 19:30     ` bug#57036: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c02-62f0ca00-4a1-7f3bf500@109461396 \
    --to=contact@phfrohring.com \
    --cc=57036@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).