From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Showing the relevant part of a diff Date: Sat, 16 Jul 2016 12:28:33 +0300 Message-ID: References: <83vb5lrss7.fsf@gnu.org> <83h9h3nmjq.fsf@gnu.org> <57895355.4010803@lanl.gov> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1468661365 1524 80.91.229.3 (16 Jul 2016 09:29:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2016 09:29:25 +0000 (UTC) To: "Herring, Davis" , Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 11:29:19 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bOLuO-0007XL-Ct for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2016 11:29:16 +0200 Original-Received: from localhost ([::1]:36604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLuN-0004u5-F2 for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2016 05:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLtp-0004tn-Fy for emacs-devel@gnu.org; Sat, 16 Jul 2016 05:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOLtl-0002Vu-7p for emacs-devel@gnu.org; Sat, 16 Jul 2016 05:28:40 -0400 Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOLtk-0002Vp-WA for emacs-devel@gnu.org; Sat, 16 Jul 2016 05:28:37 -0400 Original-Received: by mail-wm0-x242.google.com with SMTP id x83so5168120wma.3 for ; Sat, 16 Jul 2016 02:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=QUhzSZy0hv3ohNSbxEfsdRLp1GJgIYQ07XW3DSRQrRE=; b=sU7kTN7kzRyO7XE55sKONnOuE/r4toDMaZ2rk4xEg5MsQWNWhKPtD7k8hWbYofuqMK 0G0SaXC5Whh7HgClu0Gm3gWqr8TKT1T5wuWcTnrnE8LEVM7g66VLH37Ki5u8FwYqQ5hi GCkEzrnFHGxnTRCETja9h6UV3kHTZqoGXtbfH+vKav1o+2bh91uj1JxUJ5BDniMfVyPP njQuWhw/nDkAC1edSvO0fGKIOiQ6ZcxKielWEHdw9XuPilLOQnl8PzGLdsYd0t+3iaok X5Ezpt6D1BOBs7Jy7O+MHcnO+mLjDkqhWN30z4jTBl53I0X38YHfEFCEHE8v9Nf1v9KL gtIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QUhzSZy0hv3ohNSbxEfsdRLp1GJgIYQ07XW3DSRQrRE=; b=QzKeNjQHe7LwIYM4xDlDq3s1rGzACqM7r+s6nssUm+0MChT03ctLAsPJYRpVeioPDG 1y5CFMy2H9rYk/jarg+FR2NSEWxdHDSAy2HDwQK6rXio+0Cm1gzIjNXDRyiqOPkN7+wv nNRAbc1YYWkd374k/Zo7nldh9kCgIO6Azvb/aQ31Pg6xyUkiS3VUxtJXIcG40p08i7YG ido+pB+3Xd/54+UOpzV2Npk1bDd8ysEJpHXV6njgNuxhK3kF1A9NRi/yrfcYVoJGQLpS obI5E+NIpnq6KNhisMM0HHYQ0UjVOp6lqxiPD9lIulXjwe9SBJN26WGuZLgWDY6LsIoS uzFw== X-Gm-Message-State: ALyK8tLvjqGttFaPU47OkSwEAZ1pIrZXrin54eAp1iXIFiq2INaT5gGFnHH/tkzLt1M0Jg== X-Received: by 10.194.76.73 with SMTP id i9mr4760033wjw.152.1468661315851; Sat, 16 Jul 2016 02:28:35 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id d80sm1933700wmd.14.2016.07.16.02.28.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jul 2016 02:28:35 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::242 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205757 Archived-At: On 07/16/2016 05:14 AM, Herring, Davis wrote: > C-x v = was the original inspiration: this changes it from "What have I changed in this file?" to "What have I changed _here_?". I frequently find myself wanting to ask the latter question, and searching through the diff for my current position is tedious. If the answer is "nothing, but there are changes elsewhere in the file", putting point on a hunk boundary shows what the nearest changes are. That's quite a lot of patches you got there. It think they should be considered separately. In case you were wondering, though, diff-hl (available in ELPA) offers the "go to the relevant part of the diff" feature via remapping the vc-diff command.