GNU bug report logs - #59409
gnu: Add emacs-dirvish.

Previous Next

Package: guix-patches;

Reported by: Fidel Ramos <f <at> fidelramos.net>

Date: Sun, 20 Nov 2022 11:42:02 UTC

Severity: normal

Done: Andrew Tropin <andrew <at> trop.in>

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 59409 in the body.
You can then email your comments to 59409 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59409; Package guix-patches. (Sun, 20 Nov 2022 11:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fidel Ramos <f <at> fidelramos.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 20 Nov 2022 11:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fidel Ramos <f <at> fidelramos.net>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: gnu: Add emacs-dirvish.
Date: Sun, 20 Nov 2022 10:38:33 +0000
[Message part 1 (text/plain, inline)]
Tested working with ./pre-inst-env guix build --rounds=2 emacs-dirvish and a guix-only Emacs configuration.

Fidel Ramos
https://fidelramos.net/
[0001-gnu-Add-emacs-dirvish.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#59409; Package guix-patches. (Mon, 21 Nov 2022 05:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 59409 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Fidel Ramos <f <at> fidelramos.net>, 59409 <at> debbugs.gnu.org
Subject: Re: [bug#59409] gnu: Add emacs-dirvish.
Date: Mon, 21 Nov 2022 09:05:28 +0400
[Message part 1 (text/plain, inline)]
On 2022-11-20 10:38, Fidel Ramos wrote:

> Tested working with ./pre-inst-env guix build --rounds=2 emacs-dirvish and a guix-only Emacs configuration.
>
> Fidel Ramos
> https://fidelramos.net/
> From 346f0e0e371a4477e924ac66fccc1eb5d91e5829 Mon Sep 17 00:00:00 2001
> From: Fidel Ramos <f <at> fidelramos.net>
> Date: Sun, 20 Nov 2022 10:25:56 +0000
> Subject: [PATCH] gnu: Add emacs-dirvish.
>
> * gnu/packages/emacs-xyz.scm (emacs-dirvish): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index fe0d9f1dc9..78ff3f9b1d 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -17101,6 +17101,40 @@ (define-public emacs-dired-sidebar
>  or @code{treemacs}, but leveraging @code{Dired} to do the job of display.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-dirvish
> +  (package
> +    (name "emacs-dirvish")
> +    (version "2.0.53")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/alexluigit/dirvish")
> +                    (commit "c535e2147171be5506f4ff34e862bacbfb3de768")))
> +              (sha256
> +               (base32
> +                "1nmp5ci4dvcpih6phfhk66s98lf8b49qd35ymy29kqkf5v4cnwga"))
> +              (file-name (git-file-name name version))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs `(("emacs-transient" ,emacs-transient)))

Updated inputs style.

> +    (arguments
> +     `(#:phases (modify-phases %standard-phases

Rewrote to G-expressions.

> +                  ;; Move the extensions source files to the top level, which is included in
> +                  ;; the EMACSLOADPATH.

Realigned to fit 80 characters.

> +                  (add-after 'unpack 'move-source-files
> +                    (lambda _
> +                      (let ((el-files (find-files "./extensions" ".*\\.el$")))
> +                        (for-each (lambda (f)
> +                                    (rename-file f
> +                                                 (basename f))) el-files)))))))
> +    (home-page "https://github.com/alexluigit/dirvish")
> +    (synopsis "Improved version of the Emacs package Dired")
> +    (description
> +     "Dirvish is an improved version of the Emacs inbuilt package

Realigned with M-q.

> +Dired.  It not only gives Dired an appealing and highly customizable user
> +interface, but also comes together with almost all possible parts required for
> +full usability as a modern file manager.")
> +    (license license:gpl3+)))
> +
>  (define-public emacs-which-key
>    (package
>      (name "emacs-which-key")


Applied a few minor changes and pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=97bbdedfd3

Thank you for the patch! :)

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 59409 <at> debbugs.gnu.org and Fidel Ramos <f <at> fidelramos.net> Request was from Andrew Tropin <andrew <at> trop.in> to control <at> debbugs.gnu.org. (Mon, 21 Nov 2022 05:07: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. (Mon, 19 Dec 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.