Subject: [PATCH] gnu: git-modes: Rename to 'emacs-git-modes'.
From: Alex Kost <[email-masked]>
To: [email-masked]
Date: Tue, 05 Dec 2017 23:31:30 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello, what about renaming 'git-modes' to 'emacs-git-modes' (similarly
to 'emacs-paredit')?

From 6b36950703b1fa589ac0ee9e2343c7970a7859f6 Mon Sep 17 00:00:00 2001
From: Alex Kost <[email-masked]>
Date: Tue, 5 Dec 2017 23:27:23 +0300
Subject: [PATCH] gnu: git-modes: Rename to 'emacs-git-modes'.

* gnu/packages/emacs.scm (git-modes)[name]: Change to "emacs-git-modes".
(git-modes/old-name): New variable.
---
 gnu/packages/emacs.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e5e6cf097..0ca8add53 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -377,7 +377,7 @@ when typing parentheses directly or commenting out code line by line.")
 
 (define-public git-modes
   (package
-    (name "git-modes")
+    (name "emacs-git-modes")
     (version "1.2.6")
     (source (origin
               (method url-fetch)
@@ -396,6 +396,9 @@ when typing parentheses directly or commenting out code line by line.")
 configuration files, such as .gitattributes, .gitignore, and .git/config.")
     (license license:gpl3+)))
 
+(define-public git-modes/old-name
+  (deprecated-package "git-modes" git-modes))
+
 (define-public emacs-with-editor
   (package
     (name "emacs-with-editor")
-- 
2.14.2