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


Message #14 received at 10181 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10181 <at> debbugs.gnu.org
Subject: Re: bug#10181: 24.0.92;
	[wishlist] split `diff-refine-change' in several faces
Date: Wed, 16 May 2012 21:37:33 -0400
>> each of the possible "surrounding" face:
>> * for `diff-changed', define `diff-changed-refined'.
>> * for `diff-removed', define `diff-removed-refined'.
>> * for `diff-added', define `diff-added-refined'.
>> 
>> Why? --> Because users (like me) may want to define such "refined"
>> faces based on the "not-refined" ones.  Currently this is not
>> possible, so I cannot obtain a satisfactory aspect of the refined hunks.

> This could be implemented exactly the same way as currently other
> diff faces are implemented where `diff-removed' and `diff-added'
> both inherit from `diff-changed' by default.  Anyone wishing to use

I think this only covers part of what is requested, because it doesn't
distinguish "changed" (meaning that the modification replaces something
with something else) from "added"/"removed".


        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.