Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert tabs to 8 spaces in editable files. #24

Merged
merged 2 commits into from
Jun 3, 2018

Conversation

efiring
Copy link
Member

@efiring efiring commented Jun 1, 2018

The C source uses a mix of tabs and spaces, which wreaks havoc
when editing with an editor configured for 4-space tabs.
Therefore, to preserve the present visual structure under
future editing, all tab characters in user-editable files
are replaced with 8 spaces; hard tab characters (and trailing
whitespace) should not be used in any future edits.

@efiring
Copy link
Member Author

efiring commented Jun 1, 2018

I recognize that there is some distaste for massive style changes like this, but I consider this one to be essential for maintaining my sanity if I am to continue working with this codebase. Note that the aim is to preserve the visual appearance of the existing code, regardless of the editor that is used to look at it or modify it; this is a change in the way the present style is encoded, not a change in the style itself.

The C source uses a mix of tabs and spaces, which wreaks havoc
when editing with an editor configured for 4-space tabs.
Therefore, to preserve the present visual structure under
future editing, all tab characters in user-editable files
are replaced with 8 spaces; hard tab characters (and trailing
whitespace) should not be used in any future edits.
@efiring efiring merged commit b1a6c37 into TEOS-10:master Jun 3, 2018
@efiring efiring deleted the convert_tabs branch June 3, 2018 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant