From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20290: 25.0.50; Use unified diff format by default, and recommend using it in reports and patches Date: Tue, 14 Apr 2015 05:16:28 +0300 Message-ID: <552C787C.70608@yandex.ru> References: <86bnix6p9l.fsf@yandex.ru> <552AFFF9.90501@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1428977843 32304 80.91.229.3 (14 Apr 2015 02:17:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 02:17:23 +0000 (UTC) To: Paul Eggert , 20290-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 04:17:12 2015 Return-path: Envelope-to: geb-bug-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 1YhqPY-0006Ti-JX for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 04:17:12 +0200 Original-Received: from localhost ([::1]:53949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhqPX-0004F1-FD for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Apr 2015 22:17:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhqPU-0004Es-3q for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhqPP-0000O7-3G for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:17:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhqPO-0000Ns-W9 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YhqPO-0006uf-JM for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:17:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Apr 2015 02:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20290 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20290@debbugs.gnu.org, dgutov@yandex.ru, dgutov@yandex.ru Original-Received: via spool by 20290-done@debbugs.gnu.org id=D20290.142897780026532 (code D ref 20290); Tue, 14 Apr 2015 02:17:02 +0000 Original-Received: (at 20290-done) by debbugs.gnu.org; 14 Apr 2015 02:16:40 +0000 Original-Received: from localhost ([127.0.0.1]:55358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhqP1-0006tr-NI for submit@debbugs.gnu.org; Mon, 13 Apr 2015 22:16:40 -0400 Original-Received: from mail-wg0-f50.google.com ([74.125.82.50]:33731) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhqOy-0006tc-Ub for 20290-done@debbugs.gnu.org; Mon, 13 Apr 2015 22:16:37 -0400 Original-Received: by wgin8 with SMTP id n8so99731266wgi.0 for <20290-done@debbugs.gnu.org>; Mon, 13 Apr 2015 19:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=RSN+Md0lp3h2X4yA7hFdyGc4sHtl8rdO/Pl2cSm0KAM=; b=Xh3ASt3EP4OvTL3sGzxY9oSzA6NvC7EFF2IDuRODlChF8ZV29oou9uoLIVwe7X5FDm DRjC0HZREoEoCS0baI7RG5kRdnDRxpIjvaczQGaN8sxFcHNacyVDvo/2j5DjYIkCVYNQ AXlhrjBeEWj6syrJ2gQbCtlyuDsvHT20kAPk+NP7PKagJHDMNgCdXDFGzVkxovqG0JOD jxGcV6+Yc3NX5eCedrUjkq3NfW62P79cf3k4IpjNlYgrlVtAuAVffIQkcDwILuOA4C9t Iq23uVuTB/dGmQEtJnMqdyp1/Wp0CN6BKqisin1MlA4G+KZRsTZflFp04t16TlgoUIoa yhqw== X-Received: by 10.180.35.8 with SMTP id d8mr6669523wij.39.1428977791299; Mon, 13 Apr 2015 19:16:31 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id wo10sm13774950wjb.35.2015.04.13.19.16.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Apr 2015 19:16:30 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: <552AFFF9.90501@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101493 Archived-At: On 04/13/2015 02:30 AM, Paul Eggert wrote: > As I recall, RMS preferred diff -c to diff -u, and that is partly why > trouble.texi suggests -c over -u and why diff-switches defaults to -c. Yup, Stephen reminded of that in a recent emacs-devel thread, so I thought this would be a good time to try to change it. > These days -u format is far more popular than -c format in practice, and > I expect that most active Emacs developers prefer -u, so it's > appropriate for Emacs to default to -u and for trouble.texi to suggest it. This is done now. Thanks everyone. > I suppose that in theory there is the issue of Emacs running on an older > POSIXish platform where 'diff' does not support -u. I don't have access > to any such platform, though. I can confirm that Solaris 10 diff (2005) > supports '-u'. So perhaps we don't need to worry about this. I think the usual response is that users on outdated systems don't necessarily have to be able to use the latest-and-greatest Emacs. But in this case the incompatibility would be very minor: if someone actually encounters this problem, they'll only need to customize the relevant variable.