GNU bug report logs -
#60212
[PATCH] gnu: Add emacs-fzf.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Tue, 20 Dec 2022 03:30:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60212 in the body.
You can then email your comments to 60212 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#60212
; Package
guix-patches
.
(Tue, 20 Dec 2022 03:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jgart <jgart <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 20 Dec 2022 03:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-fzf): New variable.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f97775ce95..6a03d40aca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1283,6 +1283,38 @@ (define-public emacs-mct
(license (list license:gpl3+
license:fdl1.3+)))) ; GFDLv1.3+ for the manual
+(define-public emacs-fzf
+ (let ((commit "21912ebc7e1084aa88c9d8b7715e782a3978ed23")
+ (revision "0"))
+ (package
+ (name "emacs-fzf")
+ (version (git-version "0.0.2" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bling/fzf.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gdqjh8996hb06bnnyhi94k69mjfrzyfgq00a9s4wwagv28sqmkj"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #f ; There are no tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-fzf-executable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "fzf.el")
+ (emacs-substitute-variables "fzf.el"
+ ("fzf/executable" (search-input-file inputs "/bin/fzf"))))))))
+ (inputs (list fzf))
+ (home-page "https://github.com/bling/fzf.el")
+ (synopsis "Front-end for fzf")
+ (description "An @command{emacs} front-end for @command{fzf}.")
+ (license license:gpl3+))))
+
(define-public emacs-minions
(package
(name "emacs-minions")
--
2.38.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60212
; Package
guix-patches
.
(Tue, 20 Dec 2022 10:27:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
jgart via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/emacs-xyz.scm (emacs-fzf): New variable.
Thank you.
> + #~(modify-phases %standard-phases
> + (add-after 'unpack 'patch-fzf-executable
> + (lambda* (#:key inputs #:allow-other-keys)
> + (make-file-writable "fzf.el")
Nitpick: The expression above is usually not necessary, even though some
package definitions use it.
> + (emacs-substitute-variables "fzf.el"
> + ("fzf/executable" (search-input-file inputs "/bin/fzf"))))))))
> + (inputs (list fzf))
> + (home-page "https://github.com/bling/fzf.el")
> + (synopsis "Front-end for fzf")
I expounded it a bit.
> + (description "An @command{emacs} front-end for @command{fzf}.")
Please write full sentences in descriptions, even if upstream does not.
Also, "@command{emacs}" conveys no more information than "Emacs". So
does "@command{fzf}" vs "Fzf". The simpler the better, IMO.
Applied!
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Tue, 20 Dec 2022 10:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jgart <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Tue, 20 Dec 2022 10:27:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60212
; Package
guix-patches
.
(Wed, 21 Dec 2022 00:55:02 GMT)
Full text and
rfc822 format available.
Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):
I keep forgetting re @command
I'll stop doing that. It has become a habit.
Thanks for the review!
It's much appreciated,
jgart
https://whereis.みんな/
December 20, 2022 4:26 AM, "Nicolas Goaziou" <mail <at> nicolasgoaziou.fr> wrote:
> Hello,
>
> jgart via Guix-patches via <guix-patches <at> gnu.org> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fzf): New variable.
>
> Thank you.
>
>> + #~(modify-phases %standard-phases
>> + (add-after 'unpack 'patch-fzf-executable
>> + (lambda* (#:key inputs #:allow-other-keys)
>> + (make-file-writable "fzf.el")
>
> Nitpick: The expression above is usually not necessary, even though some
> package definitions use it.
>
>> + (emacs-substitute-variables "fzf.el"
>> + ("fzf/executable" (search-input-file inputs "/bin/fzf"))))))))
>> + (inputs (list fzf))
>> + (home-page "https://github.com/bling/fzf.el")
>> + (synopsis "Front-end for fzf")
>
> I expounded it a bit.
>
>> + (description "An @command{emacs} front-end for @command{fzf}.")
>
> Please write full sentences in descriptions, even if upstream does not.
>
> Also, "@command{emacs}" conveys no more information than "Emacs". So
> does "@command{fzf}" vs "Fzf". The simpler the better, IMO.
>
> Applied!
>
> Regards,
> --
> Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#60212
; Package
guix-patches
.
(Wed, 21 Dec 2022 00:55:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 18 Jan 2023 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.