all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Soo <jsoo1@asu.edu>
To: 40500@debbugs.gnu.org
Subject: [bug#40500] [PATCH] gnu: Add emacs-dired-git-info.
Date: Tue, 07 Apr 2020 18:52:59 -0700	[thread overview]
Message-ID: <87blo2u4jo.fsf@asu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

Hi Guix,

emacs-dired-git-info shows the last commit message and commit date next
to each file in dired. I like it a lot.

This time I also remembered to lint and format the patch
correctly. Sorry about the previous flurry!

Thanks,

John


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: emacs-dired-git-info --]
[-- Type: text/x-patch, Size: 1602 bytes --]

From 87367ebd35954f19c6a1b03791cc54581b5449dc Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 7 Apr 2020 01:05:47 -0700
Subject: [PATCH] gnu: Add emacs-dired-git-info.

* gnu/packages/emacs-xyz.scm (emacs-dired-git-info): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9e1160f0e1..ab7f9b8a18 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9178,6 +9178,28 @@ above over the network.")
 in Org buffers and displays matching entries.")
     (license license:gpl3+)))
 
+(define-public emacs-dired-git-info
+  (let ((commit "91d57e3a4c5104c66a3abc18e281ee55e8979176"))
+    (package
+      (name "emacs-dired-git-info")
+      (version (git-version "0.3.1" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/clemera/dired-git-info")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dr4iv95s4barxxj56znqkl9z0lg5jw731jmjr01s6vn8ar69gik"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/clemera/dired-git-info")
+      (synopsis "Show git info in Emacs dired")
+      (description "This Emacs packages provides a minor mode which shows git
+information inside the dired buffer.")
+      (license license:gpl3+))))
+
 (define-public emacs-dired-toggle-sudo
   (package
     (name "emacs-dired-toggle-sudo")
-- 
2.26.0


             reply	other threads:[~2020-04-08  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-08  1:52 John Soo [this message]
2020-04-10 16:31 ` bug#40500: [PATCH] gnu: Add emacs-dired-git-info Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blo2u4jo.fsf@asu.edu \
    --to=jsoo1@asu.edu \
    --cc=40500@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.