Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Tabspacing

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Tabspacing


Chronological Thread 
  • From: David Allouche <address@hidden>
  • To: TeXmacs Users <address@hidden>
  • Subject: Re: [TeXmacs] Tabspacing
  • Date: Mon, 16 Feb 2004 17:16:37 +0100

On Mon, Feb 16, 2004 at 12:49:24PM +0100, Daniele Pighin wrote:
> I often happen to use TM to write relations about some piece of software
> I've
> developed.
> The main problem is that whenever I import some text (= code) into TM using
> File->Import->"Plain Text", tabs are expanded to something as 8 spaces.
> Is there a way I can change this value, to say 3 spaces (for Vim-speaker:
> ESC : set ts=3)?

Not as far as I know.

Anyway, you should not use tabs for indentation of source code. It
causes no end of problems (and not only in python). For example the
formatting of patches will break, and people who do not use the right
setting will get a screwed up formatting.

So, just replace all your tabs by spaces and set up your editor not to
indent with tabs.

In a nutshell, do not do it, indenting with tabs is wrong and evil.
Well, anyway that's what I think.

--
-- ddaa



Archive powered by MHonArc 2.6.19.

Top of Page