From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: is diff-fixup-modifs supposed to work on regular diff? Date: Sat, 10 Aug 2013 12:24:10 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1376162662 21178 80.91.229.3 (10 Aug 2013 19:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Aug 2013 19:24:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 10 21:24:25 2013 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 1V8Em0-000261-3B for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 21:24:24 +0200 Original-Received: from localhost ([::1]:39269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Elz-00073p-I1 for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 15:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Elp-00073j-QZ for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 15:24:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8Elo-0001XA-Qx for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 15:24:13 -0400 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:42275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Elo-0001Wz-KB for help-gnu-emacs@gnu.org; Sat, 10 Aug 2013 15:24:12 -0400 Original-Received: by mail-wg0-f52.google.com with SMTP id b13so4401479wgh.19 for ; Sat, 10 Aug 2013 12:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EvpmQQ8xkSq0OkGQCv+SSFAwOfcUkS/GsZNbeJYkZcI=; b=lMQbAvamN6neU2uLF8UZiRuV4B4yTPJfZuB1pVraHOuK+hRdipjc8ktkVqfqSKu7Ko sIZz7GcXFFTcT8OCUp4FzH0Nv/4d766B22Ny9bWcaDdK47VjKr5pw4DBHGUS+Sv26SpY PfJwyTDD8Ql2jDrHpVjI3Iw3KMrS8We+ZdglAdQNG27uAQGvfkf1vYaV00WxDWzdj9JU wYVVtZO/+WGZBpCVzrOSHA+ffc2YeDjt/U3Gf0kxwmIv0y88SRfw19FCgNaWq+VMtfTS GZAwfnolbrGmAAAsvY08PdN+vPvthdhEHz4cu8z64ja0tSXp0lhssbqzMJRYPB3vPfaK DOig== X-Received: by 10.194.63.228 with SMTP id j4mr9070572wjs.34.1376162650828; Sat, 10 Aug 2013 12:24:10 -0700 (PDT) Original-Received: by 10.194.240.97 with HTTP; Sat, 10 Aug 2013 12:24:10 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 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:92814 Archived-At: I have been trying to edit diffs, which are in regular <> style, and run diff-fixup-modifs. My goal is to programmatically get rid of empty hunks and to renumber edited hunks. For this particular purpose, which is not a one-off that can be fixed manually but an ongoing need, I cannot use the otherwise superior unified or context diff. === Thanks. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.