Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: unwanted auto-formatting on matlab central newsreader?
Date: Tue, 11 Nov 2008 15:33:02 +0000 (UTC)
Organization: Pierburg GmbH
Lines: 11
Message-ID: <gfc8je$fhv$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1226417582 15935 172.30.248.35 (11 Nov 2008 15:33:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 11 Nov 2008 15:33:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 872224
Xref: news.mathworks.com comp.soft-sys.matlab:500233


From one of my previous posts I suspect that the matlabcentral newsreader does some unwanted auto-formatting in addition to the known 'hiding empty lines' problem: multiple spaces were contracted to a single one. Such an auto-formatting can be quite annoying if you post code...


Here are some test lines (copied from Notepad):
numel('    ')  % 4 spaces
numel('   ')  % 3 spaces
numel('  ')  % 2 spaces
numel(' ')  % 1 space


Please ignore this if the right amount of space characters shows up.