From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10181: 24.0.92; [wishlist] split `diff-refine-change' in several faces Date: Wed, 16 May 2012 21:37:33 -0400 Message-ID: References: <87txzftzn0.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337218739 24185 80.91.229.3 (17 May 2012 01:38:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 May 2012 01:38:59 +0000 (UTC) Cc: 10181@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 17 03:38:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUpg8-0006L2-Ts for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 May 2012 03:38:57 +0200 Original-Received: from localhost ([::1]:38318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUpg8-0006JR-9F for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 May 2012 21:38:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUpg6-0006J8-2p for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 21:38:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUpg3-0002vl-5d for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 21:38:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUpg3-0002vX-1x for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 21:38:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SUpgE-0003Zo-K5 for bug-gnu-emacs@gnu.org; Wed, 16 May 2012 21:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 May 2012 01:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10181-submit@debbugs.gnu.org id=B10181.133721869213689 (code B ref 10181); Thu, 17 May 2012 01:39:02 +0000 Original-Received: (at 10181) by debbugs.gnu.org; 17 May 2012 01:38:12 +0000 Original-Received: from localhost ([127.0.0.1]:58313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUpfQ-0003Yk-GP for submit@debbugs.gnu.org; Wed, 16 May 2012 21:38:12 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:24856) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SUpf6-0003Xx-BP for 10181@debbugs.gnu.org; Wed, 16 May 2012 21:38:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjIKACxOgk9FpZcD/2dsb2JhbABDtheCDAOBDIEIggkBAQQBJy8jBQsLNBIUGA0kiBwFtjKLYYR5BKRFgV2DAw X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="180643867" Original-Received: from 69-165-151-3.dsl.teksavvy.com (HELO pastel.home) ([69.165.151.3]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 May 2012 21:37:34 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E848C59577; Wed, 16 May 2012 21:37:33 -0400 (EDT) In-Reply-To: <87txzftzn0.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 17 May 2012 03:33:23 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60098 Archived-At: >> 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