From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.help Subject: diff mode highlight Date: Mon, 08 Oct 2012 08:10:22 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1349698248 7630 80.91.229.3 (8 Oct 2012 12:10:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 12:10:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 14:10:55 2012 Return-path: Envelope-to: geh-help-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 1TLCAg-0000TA-K0 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 14:10:54 +0200 Original-Received: from localhost ([::1]:47015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCAa-0000OL-9K for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 08:10:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCAS-0000Nz-8k for help-gnu-emacs@gnu.org; Mon, 08 Oct 2012 08:10:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLCAN-00019X-W6 for help-gnu-emacs@gnu.org; Mon, 08 Oct 2012 08:10:40 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCAN-00017d-PJ for help-gnu-emacs@gnu.org; Mon, 08 Oct 2012 08:10:35 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TLCAP-0000KS-8o for help-gnu-emacs@gnu.org; Mon, 08 Oct 2012 14:10:37 +0200 Original-Received: from 139.85.237.139 ([139.85.237.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2012 14:10:37 +0200 Original-Received: from ndbecker2 by 139.85.237.139 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2012 14:10:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 139.85.237.139 User-Agent: KNode/4.9.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87133 Archived-At: I was pleasantly surprised to find that in diff mode I can select a hunk and apply it (in reverse). Nice following C-x v = to show what's changed, and decide to reverse a change. Even nicer would be to highlight the selected hunk (maybe color?) to show what would be applied. Nicer still might be to allow selection of multiple hunks, highlighting them as they are selected.