GNU bug report logs - #31081
[PATCH] gnu: Add emacs-anzu-evil

Previous Next

Package: guix-patches;

Reported by: Sohom Bhattacharjee <soham.bhattacharjee15 <at> gmail.com>

Date: Fri, 6 Apr 2018 19:21:02 UTC

Severity: normal

Tags: patch

Done: Oleg Pykhalov <go.wigust <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Sohom Bhattacharjee <soham.bhattacharjee15 <at> gmail.com>
Cc: 31081 <at> debbugs.gnu.org
Subject: Re: [bug#31081] [PATCH] gnu: Add emacs-anzu-evil
Date: Sat, 07 Apr 2018 19:25:22 +0300
[Message part 1 (text/plain, inline)]
Hello Soham,

Sohom Bhattacharjee <soham.bhattacharjee15 <at> gmail.com> writes:

> * gnu/packages/emacs.scm (emacs-anzu-evil): New variable.
> ---
> test
>
>  gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index fd0b8acd0..2463d0dab 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -7494,3 +7494,26 @@ used with SGML-like languages: XML, HTML, XHTML, XSL, etc.")
>  standard Unix password manager\").")
>      (license license:gpl2+)))
>  
> +(define-public emacs-evil-anzu
> + (package
> +  (name "emacs-evil-anzu")
> +  (version "0.03")
> +  (source
> +   (origin
> +     (method url-fetch)
> +     (uri (string-append "https://github.com/syohex/emacs-evil-anzu/archive/"
> +                         version ".tar.gz"))
> +     (file-name (string-append name "-" version ".tar.gz"))
> +     (sha256
> +      (base32 "032hh2946z529cizqsg8pm6cpn5qdj8lfk3qskmx6xv3g2ra56ns"))))
> +  (build-system emacs-build-system)
> +  (propagated-inputs
> +    `(("emacs-evil" ,emacs-evil)
> +      ("emacs-anzu" ,emacs-anzu)))
> +  (home-page
> +    "https://github.com/syohex/emacs-evil-anzu")
       ^
       This string could be on the previous line (‘M-^’ will do it).

> +  (synopsis "anzu for evil-mode")

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix lint emacs-evil-anzu

gnu/packages/emacs.scm:7515:12: emacs-evil-anzu <at> 0.03: synopsis should start with an upper-case letter or digit
--8<---------------cut here---------------end--------------->8---

I think ‘@code{anzu}’ will be appropriate.

> +  (description "Anzu provides a minor mode that displays the current match and
> +total match information in the mode-line in various search modes.")
> +  (license license:gpl3+)))
> +

The whole ‘(define-public emacs-evil-anzu …)’ should be indented.  I'm
not an ‘evil-mode’ user, but in pure Emacs you could do it with ‘M-h’
and ‘TAB’.  Also it will probably require to fill some strings with
‘M-q’.  Alternatively you use ‘etc/indent-code.el’.  See
https://www.gnu.org/software/guix/manual/html_node/Formatting-Code.html

Thanks,
Oleg.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 50 days ago.

Previous Next


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