all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kendall Shaw <kshaw@kendallshaw.com>
To: help-gnu-emacs@gnu.org
Subject: Re: spaces before tabs (yuck!)
Date: Wed, 4 Nov 2015 07:54:08 -0800	[thread overview]
Message-ID: <563A2A20.8050600@kendallshaw.com> (raw)
In-Reply-To: <8xxh9l2ei9s.fsf@village.keycorner.org>

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





  parent reply	other threads:[~2015-11-04 15:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04  0:10 spaces before tabs (yuck!) Hikaru Ichijyo
2015-11-04  0:24 ` Kaushal Modi
2015-11-04  2:34 ` Drew Adams
2015-11-04 15:54 ` Kendall Shaw [this message]
2015-11-04 16:14   ` Stefan Monnier
2015-11-04 17:21     ` Kendall Shaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=563A2A20.8050600@kendallshaw.com \
    --to=kshaw@kendallshaw.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.