unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Klaus Zeitler <kzeitler@lucent.com>, Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: indent-tabs-mode
Date: Thu, 10 Aug 2006 11:11:02 -0400	[thread overview]
Message-ID: <87lkpw6334.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <buoy7tx9n4o.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Thu, 10 Aug 2006 14:27:03 +0900")

> The claimed advantage of this is that someone who likes a different
> "level offset" can easily just change their tab-width and all the C code
> they view instantly changes (assuming that all the code they view
> follows this convention of course :-).

Of course this breaks down as soon as you have indentation relative to
a point that's not the first non-tab on the line.  E.g

	foobarfun(arg1,
	         arg2);

In order for this to correctly react to changes in tab-width, you have to
make sure that it's represented as

[TAB]foobarfun(arg1,
[TAB][.spaces.]arg2);


        Stefan

  reply	other threads:[~2006-08-10 15:11 UTC|newest]

Thread overview: 20+ 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         ` indent-tabs-mode Miles Bader
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                   ` Stefan Monnier [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87lkpw6334.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kzeitler@lucent.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).