help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spaces before tabs (yuck!)


From: Kendall Shaw
Subject: Re: spaces before tabs (yuck!)
Date: Wed, 4 Nov 2015 07:54:08 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/03/2015 04:10 PM, Hikaru Ichijyo wrote:
I just want to make it so Emacs will never
insert spaces unless the next character is either a visible/printable
one, or it is the end of the line.

It's not the topic. But, if it is not understood: As that link
some posted says "tabs are evil". Tab characters occurring in a
text file always cause a problem unless:

1. It doesn't matter how much horizontal space is going to be
represented by the tab character. For example, an unimportant
amount of space is needed at the beginning of a line that is printed
to a console.

2. No one but the person who inserted the tab character will ever
read or edit the file and they will never use a program that uses
a different amount of horizontal space to represent the character
than any other program.

3. The file will only ever be used in a specific program that
always uses the same amount of horizontal space to represent the
tab character.

4. An arbitrary rule requires the use of tab characters.

5. You are writing a make file or some other source file that has an
arbitrary rule requiring tab characters.

It is causing confusion and extra work for everyone in the future
to use a tab character in a text file. It is anti-social
behavior.

Kendall





reply via email to

[Prev in Thread] Current Thread [Next in Thread]