* [bug#31004] [PATCH] gnu: Add emacs-anzu
@ 2018-03-31 14:50 Sohom Bhattacharjee
2018-03-31 17:23 ` bug#31004: " Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Sohom Bhattacharjee @ 2018-03-31 14:50 UTC (permalink / raw)
To: 31004
* gnu/packages/emacs.scm (emacs-anzu): New variable.
---
gnu/packages/emacs.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ab0f9edb5..07e195654 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7414,3 +7414,23 @@ the same values you get in a terminal.")
"Deft is an Emacs mode for quickly browsing, filtering, and editing
directories of plain text notes, inspired by Notational Velocity.")
(license license:bsd-3)))
+
+(define-public emacs-anzu
+ (package
+ (name "emacs-anzu")
+ (version "0.62")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://stable.melpa.org/packages/anzu-"
+ version ".el"))
+ (sha256
+ (base32
+ "1h3p1x2h2830n83dzvkh8p2892n34a95x7aavhi10p7vfjk406fd"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/syohex/emacs-anzu")
+ (synopsis "Show number of matches in mode-line while searching")
+ (description
+ "Anzu provides a minor mode which displays 'current match/total
+matches' in the mode-line in various search modes. Emacs port of Anzu.zim")
+ (license license:gpl3+)))
--
2.16.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#31004: [PATCH] gnu: Add emacs-anzu
2018-03-31 14:50 [bug#31004] [PATCH] gnu: Add emacs-anzu Sohom Bhattacharjee
@ 2018-03-31 17:23 ` Ludovic Courtès
2018-03-31 17:36 ` [bug#31004] " Arun Isaac
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-03-31 17:23 UTC (permalink / raw)
To: Sohom Bhattacharjee; +Cc: 31004-done
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
Hello,
Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com> skribis:
> * gnu/packages/emacs.scm (emacs-anzu): New variable.
Applied with the cosmetic changes below.
Thank you!
Ludo’.
[-- Attachment #2: Type: text/x-patch, Size: 1485 bytes --]
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 07e195654..ce9b1a66a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7419,18 +7420,19 @@ directories of plain text notes, inspired by Notational Velocity.")
(package
(name "emacs-anzu")
(version "0.62")
- (source
+ (source
(origin
(method url-fetch)
(uri (string-append "http://stable.melpa.org/packages/anzu-"
version ".el"))
- (sha256
+ (sha256
(base32
"1h3p1x2h2830n83dzvkh8p2892n34a95x7aavhi10p7vfjk406fd"))))
(build-system emacs-build-system)
(home-page "https://github.com/syohex/emacs-anzu")
(synopsis "Show number of matches in mode-line while searching")
(description
- "Anzu provides a minor mode which displays 'current match/total
-matches' in the mode-line in various search modes. Emacs port of Anzu.zim")
+ "Anzu provides a minor mode which displays \"current match/total
+matches\" in the mode line in various search modes. This is an Emacs port of
+Anzu.zim.")
(license license:gpl3+)))
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#31004] [PATCH] gnu: Add emacs-anzu
2018-03-31 17:23 ` bug#31004: " Ludovic Courtès
@ 2018-03-31 17:36 ` Arun Isaac
2018-03-31 20:13 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2018-03-31 17:36 UTC (permalink / raw)
To: Ludovic Courtès, Sohom Bhattacharjee; +Cc: 31004-done
Ludovic Courtès <ludo@gnu.org> writes:
> (origin
> (method url-fetch)
> (uri (string-append "http://stable.melpa.org/packages/anzu-"
> version ".el"))
Hi Ludo,
Shouldn't we be using the upstream Github release tarball? Do we accept
MELPA now?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#31004] [PATCH] gnu: Add emacs-anzu
2018-03-31 17:36 ` [bug#31004] " Arun Isaac
@ 2018-03-31 20:13 ` Ludovic Courtès
2018-04-01 11:40 ` Sohom Bhattacharjee
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-03-31 20:13 UTC (permalink / raw)
To: Arun Isaac; +Cc: 31004-done
Hello,
Arun Isaac <arunisaac@systemreboot.net> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> (origin
>> (method url-fetch)
>> (uri (string-append "http://stable.melpa.org/packages/anzu-"
>> version ".el"))
>
> Hi Ludo,
>
> Shouldn't we be using the upstream Github release tarball? Do we accept
> MELPA now?
Arf, you’re right!
Sohom, the problem Arun is referring to is that stable.melpa.org
eventually removes source code. Thus we usually refer to the upstream
repository instead.
Could you try to make this change? You can look for examples in
emacs.scm. Feel free to ask if anything’s unclear.
Thanks in advance!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#31004] [PATCH] gnu: Add emacs-anzu
2018-03-31 20:13 ` Ludovic Courtès
@ 2018-04-01 11:40 ` Sohom Bhattacharjee
0 siblings, 0 replies; 5+ messages in thread
From: Sohom Bhattacharjee @ 2018-04-01 11:40 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 31004-done
[-- Attachment #1: Type: text/plain, Size: 903 bytes --]
Okay! I will get to it within a day!!
Thanks! :)
On Sun 1 Apr, 2018, 01:43 Ludovic Courtès, <ludo@gnu.org> wrote:
> Hello,
>
> Arun Isaac <arunisaac@systemreboot.net> skribis:
>
> > Ludovic Courtès <ludo@gnu.org> writes:
> >
> >> (origin
> >> (method url-fetch)
> >> (uri (string-append "http://stable.melpa.org/packages/anzu-"
> >> version ".el"))
> >
> > Hi Ludo,
> >
> > Shouldn't we be using the upstream Github release tarball? Do we accept
> > MELPA now?
>
> Arf, you’re right!
>
> Sohom, the problem Arun is referring to is that stable.melpa.org
> eventually removes source code. Thus we usually refer to the upstream
> repository instead.
>
> Could you try to make this change? You can look for examples in
> emacs.scm. Feel free to ask if anything’s unclear.
>
> Thanks in advance!
>
> Ludo’.
>
[-- Attachment #2: Type: text/html, Size: 1678 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-01 11:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-31 14:50 [bug#31004] [PATCH] gnu: Add emacs-anzu Sohom Bhattacharjee
2018-03-31 17:23 ` bug#31004: " Ludovic Courtès
2018-03-31 17:36 ` [bug#31004] " Arun Isaac
2018-03-31 20:13 ` Ludovic Courtès
2018-04-01 11:40 ` Sohom Bhattacharjee
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).