guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57482] [PATCH] gnu: Add emacs-org-fc.


From: Nicolas Goaziou
Subject: [bug#57482] [PATCH] gnu: Add emacs-org-fc.
Date: Sat, 03 Sep 2022 10:12:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hello,

iyzsong--- via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-org-fc): New variable.

I applied your patch with the changes below. Thank you.

> +      (arguments
> +       (list
> +        #:include #~(list "\\.el$" "\\.awk$" "\\.org$")

I used  #~(cons* ... %default-include) instead.

> +        #:exclude #~(list "^tests/")

Likewise, I used #~(cons ... %default-exclude)

> +        #:phases
> +        #~(modify-phases %standard-phases
> +            (add-after 'unpack 'qualify-paths
> +              (lambda* (#:key inputs #:allow-other-keys)
> +                (let ((find (search-input-file inputs "/bin/find"))
> +                      (gawk (search-input-file inputs "/bin/gawk"))
> +                      (xargs (search-input-file inputs "/bin/xargs")))
> +                  (substitute* "org-fc-awk.el"
> +                    (("\"find ") (string-append "\"" find " "))
> +                    (("\"gawk ") (string-append "\"" gawk " "))
> +                    (("\"xargs ") (string-append "\"" xargs " ")))))))))


I also activated check phase.

> +      (home-page "https://www.leonrische.me/fc/index.html";)
> +      (synopsis "Spaced Repetition System for Emacs org-mode")

I removed over-capitalization. Also (nitpick), I replaced org-mode with
Org mode.

> +      (description
> +       "Org-fc is a spaced-repetition system for Emacs' org-mode.

Ditto.

Regards,
-- 
Nicolas Goaziou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]