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: Two feature ideas for diffs Date: Thu, 07 Nov 2013 20:11:28 +0200 Message-ID: <878ux0dqun.fsf@yandex.ru> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383847902 22323 80.91.229.3 (7 Nov 2013 18:11:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 18:11:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 19:11:48 2013 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 1VeU3W-0004Ny-I9 for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 19:11:46 +0100 Original-Received: from localhost ([::1]:41545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeU3W-0004fR-3e for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 13:11:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeU3P-0004fH-FX for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:11:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeU3J-0006CS-Tc for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:11:39 -0500 Original-Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:56371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeU3J-0006CA-MN for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:11:33 -0500 Original-Received: by mail-ea0-f175.google.com with SMTP id k10so507128eaj.34 for ; Thu, 07 Nov 2013 10:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JtrGk0tl8glkPGI6DzwdB8FPSMyA2K03RyuhcQN5/mI=; b=JuyA7undp7U/mcSbbrVs8+AVYs6zw7nxoD2hjyLpDm92O0iVrlYPwGXYFG2YecLXds AjORDg8N38lKWZrJO2FHJ/wngUEipODP92OMAvZaVDcpK9qdzdNPtnOw7RuwMKOeflto BJvL5VwCEY309gn+C96vrHAoFButTBSkJBVvZc3Uu6KoZqOXDSWRhiBd+b8FMWx0YfzR tGGjMz1z33sIsldOpzFiuQP1RtVEbTxT3Ohoo84KvZGgnjgYDSo0maEVQ/wULyXedgtU u6rsIaAq/UwLRn+iZ3zeLb7V/gl5tAYbu6HVtUDB9LDA5t/yzfPCDVixYvsVfybbCb6Y sr5A== X-Received: by 10.14.2.200 with SMTP id 48mr1485606eef.88.1383847892925; Thu, 07 Nov 2013 10:11:32 -0800 (PST) Original-Received: from axl (93-245-142.netrun.cytanet.com.cy. [93.109.245.142]) by mx.google.com with ESMTPSA id w6sm12182056eeo.12.2013.11.07.10.11.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 07 Nov 2013 10:11:32 -0800 (PST) In-Reply-To: (Tom's message of "Thu, 7 Nov 2013 17:08:30 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165043 Archived-At: Tom writes: > The other interesting feature is editable diffs. So, for example, > before checking in one usually does a diff to see what was > changed in the file. If you notice a typo then you go back to the > file, fix it, do a diff again to check the changes, etc. PyCharm > lets you edit the diff instead, so if you made a typo then you > can fix it in the diff buffer and it is applied to the original > file. It would be a nice convenience feature. I've been pointed to https://github.com/caldwell/commit-patch in the past, but it depends on Perl, and I haven't gotten around to trying it.