From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: OT: A filter to convert unified <-> context diff? Date: Sun, 19 Feb 2012 16:59:36 +0000 Message-ID: <20120219165936.GA2574@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329670825 29439 80.91.229.3 (19 Feb 2012 17:00:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2012 17:00:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 19 18:00:22 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzA7a-0005ny-7a for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2012 18:00:22 +0100 Original-Received: from localhost ([::1]:49666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzA7Z-0005D6-DI for ged-emacs-devel@m.gmane.org; Sun, 19 Feb 2012 12:00:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzA7T-00055L-0u for emacs-devel@gnu.org; Sun, 19 Feb 2012 12:00:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzA7P-0002VQ-QG for emacs-devel@gnu.org; Sun, 19 Feb 2012 12:00:14 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:22835 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzA7P-0002U7-BK for emacs-devel@gnu.org; Sun, 19 Feb 2012 12:00:11 -0500 Original-Received: (qmail 30604 invoked by uid 3782); 19 Feb 2012 17:00:06 -0000 Original-Received: from acm.muc.de (pD95576A6.dip.t-dialin.net [217.85.118.166]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 19 Feb 2012 18:00:03 +0100 Original-Received: (qmail 2583 invoked by uid 1000); 19 Feb 2012 16:59:36 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 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:148662 Archived-At: Hi, Emacs. The subject says it all. Does anybody know of a command line level filter which converts unified diff to and from context diff. I know there's this functionality in diff-mode, but I want it on the command line. Thanks! -- Alan Mackenzie (Nuremberg, Germany).