From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: diff-mode Date: Sun, 12 Dec 2010 07:09:44 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292166983 22113 80.91.229.12 (12 Dec 2010 15:16:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Dec 2010 15:16:23 +0000 (UTC) To: "'Andrea Crotti'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 12 16:16:19 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PRnep-00017E-UP for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Dec 2010 16:16:16 +0100 Original-Received: from localhost ([127.0.0.1]:55633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRnep-0005n0-94 for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Dec 2010 10:16:15 -0500 Original-Received: from [140.186.70.92] (port=43348 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRnZ7-0002La-QQ for help-gnu-emacs@gnu.org; Sun, 12 Dec 2010 10:10:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRnZ6-0005qG-Is for help-gnu-emacs@gnu.org; Sun, 12 Dec 2010 10:10:21 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:24655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRnZ6-0005q6-CR for help-gnu-emacs@gnu.org; Sun, 12 Dec 2010 10:10:20 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBCFAFpw019543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 12 Dec 2010 15:10:17 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBCFAFJ5030931; Sun, 12 Dec 2010 15:10:15 GMT Original-Received: from abhmt021.oracle.com by acsmt355.oracle.com with ESMTP id 846936101292166583; Sun, 12 Dec 2010 07:09:43 -0800 Original-Received: from dradamslap1 (/10.159.221.157) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 12 Dec 2010 07:09:43 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: AcuZ8yXF5gWzm97gQKe9C98NxFSvZwAGxWdw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77436 Archived-At: > The other day I was preparing a talk with a collegue on revision > control, and we've also show how to use basic diff and patch. > Even if most of the work was done in emacs, we used vim to > show the diff file, since it's much more colorful. > Anyway after I solved customizing some faces ... > Now it's even too much contrast :D > But then I thought, wouldn't it be possible to show the normal syntax > highlighting of the given mode and use some background/font style to > differentiate what's to add/remove? > > I think even if it's a diff code would look more clear and > nice if it's in the "right" colors... See also: http://www.emacswiki.org/emacs/DiffEnhancements http://www.emacswiki.org/emacs/diff%2b.el