From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22012 invoked by alias); 29 Nov 2011 04:34:34 -0000 Received: (qmail 21508 invoked by uid 22791); 29 Nov 2011 04:34:33 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Nov 2011 04:34:18 +0000 Received: by iaek3 with SMTP id k3so12516367iae.0 for ; Mon, 28 Nov 2011 20:34:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.115.136 with SMTP id k8mr26369482icq.46.1322541257866; Mon, 28 Nov 2011 20:34:17 -0800 (PST) Received: by 10.50.186.228 with HTTP; Mon, 28 Nov 2011 20:34:17 -0800 (PST) In-Reply-To: <4ED45AF9.9000009@earthlink.net> References: <87wrak63cd.fsf@gmail.com> <20111128153809.GB17887@adacore.com> <4ED45AF9.9000009@earthlink.net> Date: Tue, 29 Nov 2011 04:34:00 -0000 Message-ID: Subject: Re: Two quick questions From: Andrey Smirnov To: Stan Shebs Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00127.txt.bz2 On Tue, Nov 29, 2011 at 11:09 AM, Stan Shebs wrot= e: > On 11/28/11 7:25 PM, Andrey Smirnov wrote: >> >> I was asking exactly because I wanted avoid generated unnecessary >> "junk" in the patches just because I idly hit the tab on some line >> in the code an my editor re-indented it differently(for example >> with all spaces, which is default for me now) while writing a >> patch. It is just that I've already seen one such occurrence in one >> of my patches and I would like to avoid having them in further >> ones. So, just to be clear, I'm neither planning nor thinking about >> planning to re-indent the code. Andrey Smirnov > > > 99+% of the code has been indented with Emacs using its old standard > of 8-space tabs. =A0So if you use that setting, the surprises will be > fewest in number. :-) So, what you're saying is (setq tab-width 8) (setq indent-tabs-mode t) is the way of fewer surprises. Got it. :-) Andrey Smirnov