emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tabs v spaces in Emacs's source files


From: Stefan Monnier
Subject: Re: tabs v spaces in Emacs's source files
Date: Sat, 08 Mar 2008 21:40:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> > 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]