From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: diff-mode doesn't like "-c0" or "-u0" diff output for single-line changes Date: Thu, 13 Sep 2007 14:38:30 -0400 Message-ID: References: <87d4wp1yb7.fsf@gnuvola.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189708749 19976 80.91.229.12 (13 Sep 2007 18:39:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 18:39:09 +0000 (UTC) Cc: Chris Moore , Thien-Thi Nguyen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 13 20:39:04 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVtah-0000Uf-5e for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 20:39:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVtag-0005m8-J9 for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 14:39:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVtad-0005ii-G6 for emacs-devel@gnu.org; Thu, 13 Sep 2007 14:38:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVtac-0005hL-UN for emacs-devel@gnu.org; Thu, 13 Sep 2007 14:38:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVtac-0005h4-Ld for emacs-devel@gnu.org; Thu, 13 Sep 2007 14:38:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IVtac-0001xE-5o for emacs-devel@gnu.org; Thu, 13 Sep 2007 14:38:58 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IVtaA-000861-VL; Thu, 13 Sep 2007 14:38:30 -0400 X-Spook: 64 Vauxhall Cross STARLAN Pine Gap Chobetsu embassy X-Ran: IFzYi6)}6J-?x3Z}w3BhSGH2:dj4mM$KnmL>W]+_LkHzH^sGitl7wDdHHH5'l)pDdpMu|G X-Hue: yellow X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Thu, 13 Sep 2007 13:42:15 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78798 Archived-At: Stefan Monnier wrote: > Thanks. But I still wonder: why would anybody use "-c0" or "-u0"? > > If you don't want context, then you're better off with the plain or `ed' > diff formats, no? Previously, it also failed to work when either of the files being diffed was a single line file (so there was no context to display with plain -c or -u).