This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Two quick questions


On Tue, Nov 29, 2011 at 11:09 AM, Stan Shebs <stanshebs@earthlink.net> wrote:
> 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. ?So 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]