GNU bug report logs - #10181
24.0.92; [wishlist] split `diff-refine-change' in several faces

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 1 Dec 2011 15:57:01 UTC

Severity: wishlist

Found in version 24.0.92

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10181 <at> debbugs.gnu.org
Subject: bug#10181: 24.0.92; [wishlist] split `diff-refine-change' in several faces
Date: Sat, 19 May 2012 14:24:21 -0400
> One solution would be to define `diff-changed-face' (currently defvar)
> with defcustom.  Then users will be able to customize it to nil to use
> just two faces `diff-removed' and `diff-added'.

I think

  (defvar diff-use-changed (not (or (face-equal diff-changed diff-added)
                                    (face-equal diff-changed diff-removed))))

would be good enough (together with the rest of your patch, which
decides whether to use added-vs-changed or removed-vs-changed.


        Stefan




This bug report was last modified 10 years and 341 days ago.

Previous Next


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