Subject: Re: [bug#63718] [PATCH] gnu: Add package Substitute for Emacs.

From: Nicolas Goaziou <[email-masked]>
Date: Thu, 25 May 2023 22:24:57 +0200

Hello,

[email-masked] writes:

> Subject: [PATCH 1/1] gnu: Add emacs-substitute.
>
> * gnu/packages/emacs-xyz.scm (emacs-substitute): New variable.

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

> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://git.sr.ht/~protesilaos/substitute")
> +                    (commit "b81bb7789847f3d1645a60422fa080c48b93dd47")))

I bound hash to a `commit' variable.

> +    (description
> +     "Substitute is a set of commands that perform text replacement (i) throughout
> +      the buffer, (ii) limited to the current definition (per narrow-to-defun),
> +      (iii) from point to the end of the buffer, and (iv) from point to the beginning
> +       of the buffer.
> +
> +     These substitutions are meant to be as quick as possible and, as such, differ
> +      from the standard query-replace (which I still use).  The provided commands
> +       prompt for substitute text and perform the substitution outright.")

I removed spurious indentation.

> +    (license license:gpl1+)))

I changed the license field to GPL3+.

Regards,
-- 
Nicolas Goaziou