From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 17:41:08 -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 1189719707 24989 80.91.229.12 (13 Sep 2007 21:41:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 21:41:47 +0000 (UTC) Cc: Chris Moore , Thien-Thi Nguyen , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 13 23:41:42 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 1IVwRR-0004MF-Ll for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 23:41:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVwRR-0003ap-8y for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 17:41:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVwRG-0003OC-8J for emacs-devel@gnu.org; Thu, 13 Sep 2007 17:41:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVwRD-0003K7-Lg for emacs-devel@gnu.org; Thu, 13 Sep 2007 17:41:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVwRD-0003Jq-HS for emacs-devel@gnu.org; Thu, 13 Sep 2007 17:41:27 -0400 Original-Received: from x-132-204-254-81.xtpr.umontreal.ca ([132.204.254.81] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IVwRB-0008Um-13; Thu, 13 Sep 2007 17:41:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 179CCB40C3; Thu, 13 Sep 2007 17:41:08 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Thu\, 13 Sep 2007 14\:38\:30 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) 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:78804 Archived-At: >> 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). Yes, the fix installed was right either way, I was just curious. Stefan