Hi all,

In reply to Miguel's request for our coding guidelines:

as far as Qt is concerned, best is to follow Max' style
as much as possible, ..., except when it comes to spacing ;^)

Indeed, in an 80-columns wide Emacs editor, very long lines
are not very nice, and it would be best to follow Emacs'
conventions for indentation. I personally also avoid
unnecessary whitespace, and use as much as possible
the following kind of spacing:

    int i= 123; // no space before =, but one space after
    if (a == b || b == c)
      blah_blah (); // no need for {, }
    result= f (x, y, z) + c; // space before ( but not after,
                             // space after , ) but not before.
    /************************ ... **
    * Block of explanations
    ************************* ... /*

Miguel: But, as Max suggested, please submit such cosmetic changes
in separate patches. If you have an account on Savannah,
then please give me your ID, so that you can commit directly
to the SVN server.

Best wishes, --Joris

_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to