Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7288] Detect improper leading whitespace in C files for Vim

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 8, 2009, 1:46 PM

Post #1 of 3 (64 views)
Permalink
[issue7288] Detect improper leading whitespace in C files for Vim

New submission from Brett Cannon <brett[at]python.org>:

With the proper detection for C files using either tabs or spaces now in
there should also be proper highlighting when the wrong leading whitespace
is used, e.g. if the file uses tabs then any lines with "^ +" should be
flagged as wrong.

----------
assignee: brett.cannon
components: None
keywords: easy
messages: 95047
nosy: brett.cannon
priority: low
severity: normal
stage: needs patch
status: open
title: Detect improper leading whitespace in C files for Vim
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 8, 2009, 2:03 PM

Post #2 of 3 (56 views)
Permalink
[issue7288] Detect improper leading whitespace in C files for Vim [In reply to]

Antoine Pitrou <pitrou[at]free.fr> added the comment:

As a non-Vim user, I don't really care, but lines beginning with spaces
are valid if you want to indent by something smaller than a tab (this is
common in comments).

----------
nosy: +pitrou

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 8, 2009, 5:40 PM

Post #3 of 3 (51 views)
Permalink
[issue7288] Detect improper leading whitespace in C files for Vim [In reply to]

Brett Cannon <brett[at]python.org> added the comment:

Ah nuts, you're right. I guess it will only work for starting with tabs
when spaces are being used for the indentation.

----------

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue7288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.