GNU bug report logs -
#29435
[PATCH] gnu: Add emacs-eless.
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Sat, 25 Nov 2017 11:22:01 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29435 in the body.
You can then email your comments to 29435 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#29435
; Package
guix-patches
.
(Sat, 25 Nov 2017 11:22:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 25 Nov 2017 11:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-Add-emacs-eless.patch (text/x-patch, inline)]
From 41a44166cf336706e51b0e6ee98d013d861144ca Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Sat, 25 Nov 2017 14:16:31 +0300
Subject: [PATCH] gnu: Add emacs-eless.
* gnu/packages/emacs.scm (emacs-eless): New variable.
---
gnu/packages/emacs.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f7a3ce5e6..63a83e40c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6293,3 +6293,61 @@ contexts.
@item Toggle downloading and set priorities for individual files.
@end itemize\n")
(license license:gpl3+)))
+
+(define-public emacs-eless
+ (package
+ (name "emacs-eless")
+ (version "0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/kaushalmodi/eless/archive/"
+ "v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gjnnhgw5xs1w3qfnkvwa2nv44gnxr8pkhx3c7qig45p8nh1461h"))))
+ (build-system trivial-build-system)
+ (inputs
+ `(("bash" ,bash)))
+ (native-inputs
+ `(("tar" ,tar)
+ ("gzip" ,gzip)))
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (setenv "PATH" (string-append
+ (assoc-ref %build-inputs "tar") "/bin" ":"
+ (assoc-ref %build-inputs "gzip") "/bin"))
+ (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
+ (chdir (string-append "eless" "-" ,version))
+ (substitute* "eless" (("/usr/bin/env bash")
+ (string-append (assoc-ref %build-inputs "bash")
+ "/bin/bash")))
+ (install-file "eless" (string-append %output "/bin"))
+ (install-file "doc/eless.info" (string-append %output "/share/info"))
+ #t)))
+ (home-page "https://github.com/kaushalmodi/eless")
+ (synopsis "Combination of Bash script and a Emacs view-mode")
+ (description "@code{eless} provides a combination of Bash script
+and a minimal Emacs view-mode.
+
+Feautures:
+
+@itemize
+@item Independent of a user’s Emacs config.
+@item Customizable via the @code{(locate-user-emacs-file \"elesscfg\")} config.
+@item Not require an Emacs server to be already running.
+@item Syntax highlighting.
+@item Org-mode file rendering.
+@item @code{man} page viewer.
+@item Info viewer.
+@item Dired, wdired, (batch edit symbolic links).
+@item Colored diffs, git diff, git log, ls with auto ANSI detection.
+@item Filter log files lines matching a regexp.
+@item Auto-revert log files similar to @code{tail -f}.
+@item Quickly change frame and font sizes.
+@end itemize\n")
+ (license license:expat)))
--
2.15.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29435
; Package
guix-patches
.
(Sun, 26 Nov 2017 13:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29435 <at> debbugs.gnu.org (full text, mbox):
Oleg Pykhalov <go.wigust <at> gmail.com> writes:
>>From 41a44166cf336706e51b0e6ee98d013d861144ca Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust <at> gmail.com>
> Date: Sat, 25 Nov 2017 14:16:31 +0300
> Subject: [PATCH] gnu: Add emacs-eless.
>
> * gnu/packages/emacs.scm (emacs-eless): New variable.
It doesn't provide an emacs package, I think the name should be 'eless'.
> ---
> gnu/packages/emacs.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 58 insertions(+)
>
> [...]
> + (home-page "https://github.com/kaushalmodi/eless")
> + (synopsis "Combination of Bash script and a Emacs view-mode")
This doesn't tell how it will be used for. How about "Use Emacs as a
paginator"?
Otherwise, look good to me!
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29435
; Package
guix-patches
.
(Tue, 28 Nov 2017 17:18:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 29435 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
iyzsong <at> member.fsf.org (宋文武) writes:
> Oleg Pykhalov <go.wigust <at> gmail.com> writes:
>
>>>>From 41a44166cf336706e51b0e6ee98d013d861144ca Mon Sep 17 00:00:00 2001
>> From: Oleg Pykhalov <go.wigust <at> gmail.com>
>> Date: Sat, 25 Nov 2017 14:16:31 +0300
>> Subject: [PATCH] gnu: Add emacs-eless.
>>
>> * gnu/packages/emacs.scm (emacs-eless): New variable.
>
> It doesn't provide an emacs package, I think the name should be 'eless'.
>
>> ---
>> gnu/packages/emacs.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 58 insertions(+)
>>
>> [...]
>> + (home-page "https://github.com/kaushalmodi/eless")
>> + (synopsis "Combination of Bash script and a Emacs view-mode")
> This doesn't tell how it will be used for. How about "Use Emacs as a
> paginator"?
OK, I think it's better, too. Thank you!
> Otherwise, look good to me!
Pushed as a6d02fc168e83ee89f3f37704425a0dd8e643fe2
Oleg.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
You have taken responsibility.
(Tue, 28 Nov 2017 17:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 28 Nov 2017 17:18:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Dec 2017 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.