Skip to content
Tcl Source Code View Ticket
Login

View Ticket

trailing whitespaces in sources

Closed505741ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-19 14:10:39
This is really, really trivial:-)

In emacs21, you can visual trailing whitespace like so:

(setq show-trailing-whitespace 1)

In most C files, this whitespace is useless, and just
takes up space.  Tcl has its share of these spaces,
although not too many.  Would you guys accept patches
to get rid of them?
hobbsplain2002-03-23 07:58:34
Logged In: YES 
user_id=72656

sure, extra whitespace isn't sacred.  Just open up patch 
reports with patches.
andreas_kupriesplain2002-03-23 08:04:31
Logged In: YES 
user_id=75003

And it is also quite simple to write a tcl script
using [string trimright] which runs over a
set of files. Use this to run over the sources,
then diff against SF and you have your patch.
Log in (anonymous is fine) to add a comment.