GNU bug report logs - #29647
[PATCH] gnu: Add emacs-diff-hl.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 10 Dec 2017 17:59:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 29647 <at> debbugs.gnu.org
Subject: [bug#29647] [PATCH] gnu: Add emacs-diff-hl.
Date: Sun, 10 Dec 2017 12:58:08 -0500
[Message part 1 (text/plain, inline)]
Hello!

This adds emacs-diff-hl, which can be used to highlight changed lines
since the last commit the in versioning system.

The config below enables it for programming buffers:

--8<---------------cut here---------------start------------->8---
;;; Visualize changed lines
(add-hook 'prog-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'vc-dir-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
--8<---------------cut here---------------end--------------->8---

Thanks,

Maxim

[0001-gnu-Add-emacs-diff-hl.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.