all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Indentation settings problems
Date: Wed, 07 Oct 2009 14:57:58 -0400	[thread overview]
Message-ID: <82ws37qbex.fsf@alum.mit.edu> (raw)
In-Reply-To: mailman.7953.1254599775.2239.help-gnu-emacs@gnu.org

TriKri <kristoferkrus@hotmail.com> writes:

> I have a question about another indentation setting: When you set
> indent-tabs-mode to t, multiple spaces are replaced with tabs. But what
> if you only want the part of the indentation that comes from the
> c-basic-offset to be tabs, and the rest spaces? [...]

You are out of luck.  Tabs are, in general, not portable from one
person's editor/IDE to another's, because nobody can seem to agree on
the primordial truth -- which is: TABS ARE EVERY 8 COLUMNS!

If you want code formatting to be portable across editors, users, and
IDEs, you need to turn tabs off.

  -jp


      parent reply	other threads:[~2009-10-07 18:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 10:46 Indentation settings problems TriKri
2009-09-20  1:55 ` Bernardo
2009-09-20  2:18   ` Bernardo
2009-09-20 18:37   ` TriKri
2009-09-20 18:55     ` Peter Dyballa
2009-09-20 19:41     ` Andreas Politz
2009-09-24  7:42       ` TriKri
2009-09-20 22:22   ` TriKri
2009-09-21 10:57     ` Bernardo
2009-09-22 18:02     ` TriKri
2009-09-22 22:54       ` Bernardo
     [not found]   ` <mailman.7104.1253471858.2239.help-gnu-emacs@gnu.org>
2009-09-21 21:27     ` jpkotta
2009-09-23  8:38   ` TriKri
2009-09-23 11:15     ` Alan Mackenzie
2009-10-01 22:44 ` TriKri
2009-10-03  5:45   ` tomas
2009-10-03 19:56 ` TriKri
     [not found] ` <mailman.7953.1254599775.2239.help-gnu-emacs@gnu.org>
2009-10-07 18:57   ` John A Pershing Jr [this message]

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=82ws37qbex.fsf@alum.mit.edu \
    --to=pershing@alum.mit.edu \
    --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.