Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-03-23
08:04 • Ticket [505741ffff] trailing whitespaces in sources status still Closed with... artifact: e0a9725242 user: andreas_kupries
07:58 • Closed ticket [505741ffff]. artifact: 46a284f7e2 user: hobbs
2002-01-19
14:10 • New ticket [505741ffff]. artifact: 3962b32107 user: davidw

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.