all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
Cc: emacs-devel@gnu.org
Subject: Re: indent-tabs-mode
Date: Wed, 09 Aug 2006 14:34:06 +0900	[thread overview]
Message-ID: <buod5baqxpt.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <17625.28284.187128.699894@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 9 Aug 2006 17:11:24 +1200")

Nick Roberts <nickrob@snap.net.nz> writes:
> OK, thats 2-0.  How about setting indent-tabs-mode to nil?  I think that's
> right: I mean don't insert tabs but spaces.

The default has been `t' for around a zillion years; if you change it
gratitously you're just going to annoy people are accustomed to the
default, for no reason.  The vast majority of applications do not
distinguish in any significant way between tabs and spaces, for good
reason (because doing so is _very confusing_ for the user).

Given that only the most bizarro applications actually care about tabs
vs. spaces, it seems better to simply deal with those rare cases
individually using modes.

[Actually, what are those applications?  Make treats TAB as significant,
but does so in a way that works well with the default settings.]

> Actually many commands seem to do this anyway: c-indent-command,
> lisp-indent-line, so perhaps I've got the wrong end of the stick
> anyway.

Those commands do not do anything special, they simply do what
indent-tabs-mode tells them to do; if indent-tabs-mode is t, they will
insert tabs.

-Miles
-- 
Do not taunt Happy Fun Ball.

  reply	other threads:[~2006-08-09  5:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09  0:19 indent-tabs-mode Nick Roberts
2006-08-09  0:34 ` indent-tabs-mode Giorgos Keramidas
2006-08-09  2:40 ` indent-tabs-mode Miles Bader
2006-08-09  3:45   ` indent-tabs-mode Nick Roberts
2006-08-09  4:58     ` indent-tabs-mode Miles Bader
2006-08-09  5:11       ` indent-tabs-mode Nick Roberts
2006-08-09  5:34         ` Miles Bader [this message]
2006-08-09  6:13           ` indent-tabs-mode Nick Roberts
2006-08-09  7:13             ` indent-tabs-mode Miles Bader
2006-08-09 11:09             ` indent-tabs-mode Klaus Zeitler
2006-08-09 17:25               ` indent-tabs-mode Eli Zaretskii
2006-08-10  5:27                 ` indent-tabs-mode Miles Bader
2006-08-10 15:11                   ` indent-tabs-mode Stefan Monnier
2006-08-10 15:22                     ` indent-tabs-mode Aidan Kehoe
2006-08-09 19:15 ` indent-tabs-mode Richard Stallman
2006-08-09 22:29   ` indent-tabs-mode Bill Wohler
2006-08-10  2:51     ` indent-tabs-mode Stefan Monnier
2006-08-10  5:30       ` indent-tabs-mode Miles Bader
2006-08-10 16:27     ` indent-tabs-mode Richard Stallman
2006-08-10 16:45       ` indent-tabs-mode Bill Wohler
  -- strict thread matches above, loose matches on Subject: below --
2006-08-09 13:06 indent-tabs-mode Robert Thorpe

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=buod5baqxpt.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.