[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/dired-git-info 95688b3 20/33: Add group, keywords and mak
From: |
Clemens Radermacher |
Subject: |
[elpa] scratch/dired-git-info 95688b3 20/33: Add group, keywords and make options customizeable |
Date: |
Sun, 17 Feb 2019 13:03:30 -0500 (EST) |
branch: scratch/dired-git-info
commit 95688b3379bb43ea5a87a0e06a04dbd354e4e7cf
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Add group,keywords and make options customizeable
---
dired-git-info.el | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/dired-git-info.el b/dired-git-info.el
index 3a85b6c..711b78e 100644
--- a/dired-git-info.el
+++ b/dired-git-info.el
@@ -4,7 +4,7 @@
;; Author: Clemens Radermacher <address@hidden>
;; Package-Requires: ((emacs "25"))
;; Version: 0.1
-;; Keywords: files
+;; Keywords: dired, files
;; URL: https://github.com/clemera/dired-git-info
;; This program is free software; you can redistribute it and/or modify
@@ -29,17 +29,25 @@
;;; Code:
+(defgroup dired-git-info nil
+ "Show git info in dired."
+ :group 'files
+ :prefix "dgi-")
+
(defface dgi-commit-message-face
'((t (:inherit font-lock-comment-face)))
- "Face for commit message overlays.")
+ "Face for commit message overlays."
+ :group 'dired-git-info)
-(defvar dgi-auto-hide-details-p t
+(defcustom dgi-auto-hide-details-p t
"If details should get hidden automatically.
Uses function `dired-hide-details-mode' to hide details when showing git
-info.")
+info."
+ :group 'dired-git-info
+ :type 'boolean)
-(defvar dgi-commit-message-format "%s\t%cr"
+(defcustom dgi-commit-message-format "%s\t%cr"
"Format of the commit messages.
Entries separated by tabs are aligned. Some common placeholders
@@ -67,7 +75,9 @@ are (see git-log PRETTY FORMATS for all):
· %s: subject
- · %f: sanitized subject line, suitable for a filename")
+ · %f: sanitized subject line, suitable for a filename"
+ :group 'dired-git-info
+ :type 'string)
(defvar-local dgi--commit-ovs nil
"Overlays which show the commit messages.")
- [elpa] scratch/dired-git-info 16c7a1a 15/33: Hide details when showing git info, (continued)
- [elpa] scratch/dired-git-info 16c7a1a 15/33: Hide details when showing git info, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 2ea5107 29/33: Rephrase commentary, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info b5551e7 30/33: Convert entry command to minor mode, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 7755019 32/33: Get commit info from real file name, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info f539ba5 08/33: Align message parts of commit messages, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 8afe378 09/33: Update docstring for message format, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info f9f8ab5 17/33: Cleanup, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 0f7625c 14/33: Make overlays buffer local, to allow multiple dired buffers, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info aa8248a 21/33: Use temp buffer, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info c8e3b2e 13/33: Add docstrings, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 95688b3 20/33: Add group, keywords and make options customizeable,
Clemens Radermacher <=
- [elpa] scratch/dired-git-info 4f6d0ca 24/33: Boolean vars shouldn't have a -p suffix, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 6115ae1 03/33: Fix package name in comment, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 740e1cf 27/33: Fix copyright, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info d8b777d 31/33: Cleanup, Clemens Radermacher, 2019/02/17