GNU bug report logs - #33567
Syntactic fontification of diff hunks

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sat, 1 Dec 2018 22:13:02 UTC

Severity: wishlist

Tags: patch

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>
Cc: 33567 <at> debbugs.gnu.org
Subject: bug#33567: Syntactic fontification of diff hunks
Date: Thu, 20 Dec 2018 03:15:06 +0200
On 19.12.2018 2:11, Juri Linkov wrote:

> Neither GitHub nor GitLab have foreground green/red colors, only background
> green/red colors.

Speaking of GitHub and GitLab, I wonder if we should take another cue 
from them and tone down our background colors as well.

This makes the new diffs more readable for me:

(eval-after-load 'diff-mode
  '(progn
     (set-face-background 'diff-added "#eeffee")
     (set-face-background 'diff-removed "#ffeeee")
     (set-face-background 'diff-refine-added "#d0ffd0")
     (set-face-background 'diff-refine-removed "#ffd0d0")
     ))




This bug report was last modified 6 years and 146 days ago.

Previous Next


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