[OT] Auto code reformating / one coding style enforcment.
Sean Kelly
sean at f4.ca
Mon Aug 14 16:29:23 PDT 2006
Derek Parnell wrote:
> On Mon, 14 Aug 2006 18:24:05 +0200, Oskar Linde wrote:
>
>
>> This is how Emacs works and has worked for ages. Tabs are not directly
>> used for indentation, but rather for optimizing the number of spaces
>> needed. I guess at some time in the past, those 7 bytes saved here and
>> there were well worth it. It would probably improve output speed on old
>> teletypes and save memory at the same time. Those old teletypes could
>> not redefine the tab stops anyway (well, I know the modern vt100 could,
>> but not the vt52 afaik), so any other use for the tab character wasn't
>> realistic.
>>
>> Today, the benefits are not as clear... :)
>
> Thus my reference to "being locked into the past". The need for this style
> is no longer needed and hasn't been needed for quite awhile now. But
> habits, good and bad, are hard to break.
With emacs, breaking this particular bad habit is as simple as
(setq-default indent-tabs-mode nil) :-)
Sean
More information about the Digitalmars-d
mailing list