unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: don provan <dprovan@comcast.net>
Subject: Re: Tabs for indentation, spaces for alignment?
Date: Fri, 10 Nov 2006 00:17:38 -0800	[thread overview]
Message-ID: <uirhn90m5.fsf@comcast.net> (raw)
In-Reply-To: mailman.304.1162960081.2155.help-gnu-emacs@gnu.org

Anders Kaseorg <anders@kaseorg.com> writes:

> Or even this, if the indent and tab widths are different?
>         block {
>         ....block {
>         ------->block {
>         ------->....some_function(arg,
>         ------->..................arg);

Which would look like this with tab stops set to 4 characters:
         block {
         ....block {
         --->block {
         --->....some_function(arg,
         --->..................arg);

If tabs are broken in your environment (i.e., set to something other
than 8), then you're just hosed: there will always be cases were a tab
character will do the wrong thing. No worries, just tell emacs not to
use them and don't use them manually (internal tabs, for example).

-don provan

  parent reply	other threads:[~2006-11-10  8:17 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
     [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 [this message]
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=uirhn90m5.fsf@comcast.net \
    --to=dprovan@comcast.net \
    /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).