On Saturday, December 14, 2002, at 02:48 PM, Edmund Lian wrote:
I want to submit a small patch, but I use spaces, not tabs for indentationThis is talking about a situation like:
(which is not a problem with vim). So, I'll convert the spaces to tabs as
per the Webware styleguide. However, this is as clear as mud to me:
"""
Tabs are not used past initial indentation.
To avoid alignment problems between people who have tabs set to different
widths.
A common use of tabs is to align the values of a dictionary or the right
hand sides of several consecutive assignment statements. There is no
problem when using tabs for indentation, but when they are used past
non-tab characters, the alignment will be skewed when the tab width is
changed (e.g., when a different developer with a different tab width views
the code).
"""
x = someFunc(with_lots_of,
arguments)
In this case, it should be like:
<tab>x = someFunc(with_lots_of,
<tab><spaces.....>arguments)
I must admit, I have not followed this very closely -- Emacs doesn't work well doing this, and it's only aesthetic. Dealing with tabs like this only work well for people who aren't using smart editors, and type every tab and space manually.
Ian
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss