From unknown Sun Jun 15 08:51:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34578: Support for different coloration of --- and +++ headers? Resent-From: Josh Triplett Original-Sender: "Debbugs-submit" Resent-CC: bug-diffutils@gnu.org Resent-Date: Tue, 19 Feb 2019 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34578 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 34578@debbugs.gnu.org X-Debbugs-Original-To: bug-diffutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15506093136521 (code B ref -1); Tue, 19 Feb 2019 20:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2019 20:48:33 +0000 Received: from localhost ([127.0.0.1]:55626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCJd-0001h7-CN for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:48:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwCJc-0001gv-1c for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:48:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:59346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwCJW-0000d5-Sf for submit@debbugs.gnu.org; Tue, 19 Feb 2019 15:48:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCJW-0004vS-7C for bug-diffutils@gnu.org; Tue, 19 Feb 2019 15:48:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCJV-0000cK-Ic for bug-diffutils@gnu.org; Tue, 19 Feb 2019 15:48:26 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:58491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwCJV-0000b4-CT for bug-diffutils@gnu.org; Tue, 19 Feb 2019 15:48:25 -0500 Received: from localhost (jfdmzpr04-ext.jf.intel.com [134.134.139.73]) (Authenticated sender: josh@joshtriplett.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 14394100004 for ; Tue, 19 Feb 2019 20:48:19 +0000 (UTC) Date: Tue, 19 Feb 2019 12:48:15 -0800 From: Josh Triplett Message-ID: <20190219204811.GA15018@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I currently use colordiff to colorize diffs. I'd like to use diff --color=auto instead, but the --palette option only offers a single control for the color of diff headers. colordiff supports coloring the --- and +++ headers differently, and also provides a separate color option for the header showing diff options (diff -Naur ...). Could diff please provide an option in --palette for these additional color choices? Thank you.