guix-patches
[Top][All Lists]
Advanced

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

bug#58616: [PATCH] gnu: Add emacs-org-cliplink.


From: Nicolas Goaziou
Subject: bug#58616: [PATCH] gnu: Add emacs-org-cliplink.
Date: Fri, 21 Oct 2022 10:02:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello,

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

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

Thank you. Applied with the following changes.

> +(define-public emacs-org-cliplink
> +  (let ((commit "13e0940b65d22bec34e2de4bc8cba1412a7abfbc")
> +        (revision "0"))
> +    (package
> +      (name "emacs-org-cliplink")
> +      (version (git-version "20201126" revision commit))

Base version is actually "0.2", according to Version keyword in the main
file.

> +      (arguments
> +        (list

I also activated tests.

> +         #:phases
> +         #~(modify-phases %standard-phases
> +             (add-after 'unpack 'patch-geiser-racket-binary

The name of the phase looks like a copy-pasta typo. I overlooked it.
I'll fix it in a subsequent commit.

> +               (lambda* (#:key inputs #:allow-other-keys)
> +                 (substitute* "org-cliplink-transport.el"
> +                   (("curl\")")
> +                    (string-append (search-input-file inputs "bin/curl") 
> "\")"))))))))
> +      (inputs (list curl))
> +      (home-page "https://github.com/rexim/org-cliplink/";)
> +      (synopsis "Insert org-mode links from the clipboard")

org-mode -> Org mode

> +      (description
> +"@code{emacs-org-cliplink} provides a simple command that takes a URL

emacs-org-cliplink is the internal name of the Guix variable bound to
the package definition. The project is actually org-cliplink or (as
a matter of taste) Org Cliplink.

> +from the clipboard and inserts an org-mode link with a title of a page

Again : org-mode -> Org mode.

Regards,
-- 
Nicolas Goaziou





reply via email to

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