Am Freitag, 7. Januar 2011 schrieb Peter Kümmel:
> On 07.01.2011 09:19, Abdelrazak Younes wrote:
> > On 01/06/2011 09:15 PM, Peter Kuemmel wrote:
> >>>> But ATMit is mixed in the cmake files, and in lyx's code also tabs are
> >>>> used.
> >>>> 
> >>>> Peter
> >>> 
> >>> Mixing is a consequence having tab stop != indent.
> >>> 
> >>>   Kornel
> >> 
> >> I've no problem switching to spaces. Do you prefer 2,3, or 4?
> > 
> > Come on. I use the same editor to edit CMakeList and the C++ source
> > (QtCreator or MSVC). Please just one style i.e. tab only.
> 
> I also realized after my last mail and adding non C++ files to Studio
> (I assume we could add them also in other IDEs), that having C++ files
> with tabs and non-C++ files with spaces makes no sense. Sorry Kornel,
> but LyX is a tab-project, and changing this provokes religious like
> flame-wars. So I think we should use tabs also in the cmake files.

I give up. But concerning tab versus spaces in branch it is not sooo 
unambiguous :
        # (line starts with blank)
        # find . -name \*.cpp | xargs egrep '^ ' | wc
                ->   12825   71143  873222
        
        # (line starting with tab)
        #  find . -name \*.cpp | xargs egrep '^ ' | wc
                ->   99374  469889 5878942


> "But in the README/INSTALL files we use spaces" you may object, but
> these files are not used for the development like C++ and cmake files.
> 
> I don't know how often you touch C++ files but editing them frequently
> you will also see that one style for all files is better.
> 
> Peter

Of course it is. I remember having this discussion in the past. At that time I 
was not actively involved.
But I am unable to find the relevant mails :(

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to