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: Fri, 18 May 2012 14:12:05 -0400 Message-ID: References: <87txzftzn0.fsf@mail.jurta.org> <87396yxr9u.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337364767 2011 80.91.229.3 (18 May 2012 18:12:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 May 2012 18:12:47 +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 Fri May 18 20:12:46 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 1SVRfR-000608-N7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2012 20:12:45 +0200 Original-Received: from localhost ([::1]:48345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVRfQ-0004nG-Sb for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 May 2012 14:12:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVRfO-0004n1-1B for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 14:12:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVRfM-00026v-E6 for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 14:12:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVRfM-00026k-Af for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 14:12:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SVRfi-0008HV-3X for bug-gnu-emacs@gnu.org; Fri, 18 May 2012 14:13: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: Fri, 18 May 2012 18:13: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.133736475431798 (code B ref 10181); Fri, 18 May 2012 18:13:02 +0000 Original-Received: (at 10181) by debbugs.gnu.org; 18 May 2012 18:12:34 +0000 Original-Received: from localhost ([127.0.0.1]:33097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVRfG-0008Gp-Bi for submit@debbugs.gnu.org; Fri, 18 May 2012 14:12:34 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:36840) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SVRfF-0008Gd-It for 10181@debbugs.gnu.org; Fri, 18 May 2012 14:12:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgFAOMAh09FpZld/2dsb2JhbAA3oRSCLoEIgXYBBVYjEAs0EhQYDSSqJIxkCQECAQKDPgODcASRCJJbhFg X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="181023345" Original-Received: from 69-165-153-93.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.93]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 May 2012 14:12:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B578459577; Fri, 18 May 2012 14:12:05 -0400 (EDT) In-Reply-To: <87396yxr9u.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 18 May 2012 03:32:45 +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:60193 Archived-At: Thank Juri. The patch looks like a good idea. Checking the :inherit is not sufficient, because I'd typically modify the added-face without removing the inheritance. Better to add a customization variable. This said, the OP's request is about the diff-refine-hook case, not about the whole-line highlighting. Stefan