From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: diff-mode doesn't like "-c0" or "-u0" diff output for single-line changes Date: Fri, 14 Sep 2007 03:40:32 +0200 Message-ID: <87ejh2gh2n.fsf@ambire.localdomain> 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 1189734098 27647 80.91.229.12 (14 Sep 2007 01:41:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2007 01:41:38 +0000 (UTC) Cc: Chris Moore , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 03:41:37 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 1IW0BV-00085y-OL for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2007 03:41:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IW0BV-0001nU-8n for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2007 21:41:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IW0BS-0001lb-Fs for emacs-devel@gnu.org; Thu, 13 Sep 2007 21:41:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IW0BQ-0001j9-TW for emacs-devel@gnu.org; Thu, 13 Sep 2007 21:41:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IW0BQ-0001iz-RK for emacs-devel@gnu.org; Thu, 13 Sep 2007 21:41:24 -0400 Original-Received: from ppp-93-39.21-151.libero.it ([151.21.39.93] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IW0BQ-0006xs-FZ for emacs-devel@gnu.org; Thu, 13 Sep 2007 21:41:24 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1IW0Ab-0001yr-3u; Fri, 14 Sep 2007 03:40:33 +0200 In-Reply-To: (Stefan Monnier's message of "Thu\, 13 Sep 2007 13\:42\:15 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Genre and OS details not recognized. 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:78812 Archived-At: () Stefan Monnier () Thu, 13 Sep 2007 13:42:15 -0400 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? i use -u0 sometimes to save screen space, especially if the set of changes consists mostly of small one-line edits (e.g., to a config file). ymmv. thi