unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anders Kaseorg <anders@kaseorg.com>
Subject: Re: Tabs for indentation, spaces for alignment?
Date: Tue, 07 Nov 2006 23:27:40 -0500	[thread overview]
Message-ID: <1162959795.5839.47.camel@fold-right.mit.edu> (raw)
In-Reply-To: <87fycvsh1r.fsf@gmx.at>

On Tue, 2006-11-07 at 11:10 +0100, Markus Triska wrote:
> UNIX convention for TAB format effector is to move to columns that are
> multiples of 8. People breaking that are on their own.

I know what UNIX tabs do.  I also know that many Windows editors, and
some cross-platform editors like Eclipse, default to 4-space tabs.  But
let's not have a tab width flame war.  Even if we all agree on 8-space
tabs, I'd want my alignment characters to be semantically correct.

So I ask again: is there a way to get this?
        block {
        ------->block {
        ------->------->some_function(arg,
        ------->------->..............arg);
Or even this, if the indent and tab widths are different?
        block {
        ....block {
        ------->block {
        ------->....some_function(arg,
        ------->..................arg);

Anders

  reply	other threads:[~2006-11-08  4:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.232.1162848625.2155.help-gnu-emacs@gnu.org>
2006-11-07 10:10 ` Tabs for indentation, spaces for alignment? Markus Triska
2006-11-08  4:27   ` Anders Kaseorg [this message]
     [not found]   ` <mailman.304.1162960081.2155.help-gnu-emacs@gnu.org>
2006-11-08 14:00     ` Markus Triska
2006-11-10  7:14       ` Anders Kaseorg
2006-11-10  8:17     ` don provan
2006-12-07  7:09 ` Booted Cat
2006-12-07  7:09 ` Booted Cat
2006-11-06 20:51 Anders Kaseorg

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=1162959795.5839.47.camel@fold-right.mit.edu \
    --to=anders@kaseorg.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.
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).