comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: AdaGIDE 7.42 and tabs
Date: Mon, 11 Dec 2006 15:01:52 +0100
Date: 2006-12-11T15:01:52+01:00	[thread overview]
Message-ID: <1bm9ssz6kcf6n.h15q4kj1brbz.dlg@40tude.net> (raw)
In-Reply-To: uodqawots.fsf@stephe-leake.org

On Mon, 11 Dec 2006 08:21:19 -0500, Stephen Leake wrote:

> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> 
>> On Mon, 11 Dec 2006 04:53:06 GMT, Jeffrey R. Carter wrote:
>>
>>> Dmitry A. Kazakov wrote:
>>>> 
>>>> No chance to separate indentation from source HTs?
>>> 
>>> Not that I'm aware of. Do you have sources with tabs for other than 
>>> indentation?
>>
>> Sure, all of them in fact. Indentation = 3, HT = 8.
>>
>> It worked satisfactory in earlier versions of AdaGIDE. Or, maybe, I just
>> haven't noticed anything wrong. But now indentation seems to be expanded as
>> 1 HT, when set to 3 spaces. Clearly 1*8 /= 3! So when the file gets opened
>> in another editor, the result is a total mess.
> 
> I don't believe there is any sort of actual _standard_ that says HT =
> column mod 8. 

This is my impression too. However it is a de-facto standard.

> On some old mechanical typewriters, you could set mechanical tab stops
> where ever you wanted, to make typing tables etc easiser. Early
> printers also had configurable tab stops (not mechanical).
> 
> Good editors also have configurable tab stops. 

Which is the root of the evil! A tool that requires configuration is a bad
tool. I am almost serious here... (:-))

> But the only portable way to use tab stops is to insert spaces, not HT.

That would be fine to me, unfortunately indent-block inserts HTs.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2006-12-11 14:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-10 14:26 AdaGIDE 7.42 and tabs Dmitry A. Kazakov
2006-12-10 14:34 ` Jeffrey R. Carter
2006-12-10 15:15   ` Dmitry A. Kazakov
2006-12-11  4:53     ` Jeffrey R. Carter
2006-12-11  8:45       ` Dmitry A. Kazakov
2006-12-11 10:07         ` gautier_niouzes
2006-12-11 14:05           ` Dmitry A. Kazakov
2006-12-11 13:21         ` Stephen Leake
2006-12-11 14:01           ` Dmitry A. Kazakov [this message]
2006-12-11 20:36             ` Simon Wright
2006-12-13  0:35               ` Stephen Leake
2006-12-14 21:07                 ` Simon Wright
2006-12-11 20:55             ` Jeffrey R. Carter
2006-12-12 18:34               ` Dmitry A. Kazakov
2006-12-13  0:36             ` Stephen Leake
2006-12-12 18:13           ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox