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: tabs v spaces in Emacs's source files Date: Sat, 08 Mar 2008 21:40:25 -0500 Message-ID: References: <009f01c88077$be286100$0600a8c0@us.oracle.com> <002d01c88172$eabd52b0$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205030456 13920 80.91.229.12 (9 Mar 2008 02:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 02:40:56 +0000 (UTC) Cc: 'Eli Zaretskii' , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 09 03:41:24 2008 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 1JYBTJ-0001zd-Av for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 03:41:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYBSl-0005Mt-D2 for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 21:40:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYBSh-0005MQ-O3 for emacs-devel@gnu.org; Sat, 08 Mar 2008 21:40:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYBSg-0005MA-UJ for emacs-devel@gnu.org; Sat, 08 Mar 2008 21:40:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYBSg-0005M5-R4 for emacs-devel@gnu.org; Sat, 08 Mar 2008 21:40:30 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYBSd-0003Xs-1o; Sat, 08 Mar 2008 21:40:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgCAArd0kfO+J2CdGdsb2JhbACQfQEwmQqBBw X-IronPort-AV: E=Sophos;i="4.25,468,1199682000"; d="scan'208";a="15752843" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 08 Mar 2008 21:40:26 -0500 Original-Received: from pastel.home ([206.248.157.130]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id PFX13726; Sat, 08 Mar 2008 21:40:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D91127FD4; Sat, 8 Mar 2008 21:40:25 -0500 (EST) In-Reply-To: <002d01c88172$eabd52b0$0600a8c0@us.oracle.com> (Drew Adams's message of "Sat, 8 Mar 2008 15:19:53 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: 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:91840 Archived-At: >> > When we post patches, we generally create them >> > using `diff -c -w' AFAIK, which would seem to suggest an >> > agnostic (or at least a loose) approach to indenting whitespace. >> >> Actually, you should drop the -w when you generate patches, because it >> causes trouble for Patch (unless the -l switch to Patch is used, which >> is easily forgotten). > Really? I seem to recall someone mentioning here that -c -w was what was > preferred. I generally prefer "-u -w" when it's a patch for review. And "-u" when it's a request to apply the patch. Stefan