unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57036] [PATCH] gnu: Add emacs-mini-frame.
@ 2022-08-07 12:53 Pierre-Henry Fröhring
  2022-08-07 16:23 ` Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre-Henry Fröhring @ 2022-08-07 12:53 UTC (permalink / raw)
  To: 57036; +Cc: Pierre-Henry Fröhring

* 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+)))
-- 
2.37.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#57036] [PATCH] gnu: Add emacs-mini-frame.
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-08-07 16:23 UTC (permalink / raw)
  To: Pierre-Henry Fröhring, 57036

Am Sonntag, dem 07.08.2022 um 14:53 +0200 schrieb Pierre-Henry
Fröhring:
> * 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")
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.
> +    (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+)))
Cheers





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#57036] [PATCH] gnu: Add emacs-mini-frame.
  2022-08-07 16:23 ` Liliana Marie Prikler
@ 2022-08-08  8:32   ` contact
  2022-08-16 19:30     ` bug#57036: " Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: contact @ 2022-08-08  8:32 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 57036


[-- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#57036: [PATCH] gnu: Add emacs-mini-frame.
  2022-08-08  8:32   ` contact
@ 2022-08-16 19:30     ` Liliana Marie Prikler
  0 siblings, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-08-16 19:30 UTC (permalink / raw)
  To: contact@phfrohring.com; +Cc: 57036-done

Hi,

Am Montag, dem 08.08.2022 um 10:32 +0200 schrieb
contact@phfrohring.com:
> > 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.
I moved the package around a little, slightly reworded the description,
and pushed it.

Cheers




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-16 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-08-16 19:30     ` bug#57036: " Liliana Marie Prikler

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).