unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Spaces instead of tabs in new mode
Date: Tue, 16 Jun 2009 14:30:25 +0200	[thread overview]
Message-ID: <87d494nyxq.fsf@tux.homenetwork> (raw)
In-Reply-To: 11b141710906160506g77945d73i69d8c6b7305af386@mail.gmail.com

Hi, you can put this in your .emacs:

,----
| (setq-default indent-tabs-mode nil)
`----

to avoid tab indenting.


"Paulo J. Matos" <pocmatos@gmail.com> writes:

> Hi,
>
> I have programming and indent-line for my new major mode but tabs are
> not shown as spaces and are too big. How can I program emacs to show
> the tabs as spaces and have a way to program the number of spaces per
> tab?
>
> Thanks,

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





  reply	other threads:[~2009-06-16 12:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 12:06 Spaces instead of tabs in new mode Paulo J. Matos
2009-06-16 12:30 ` Thierry Volpiatto [this message]
2009-06-16 22:49   ` Paulo J. Matos
2009-06-17  0:40     ` Drew Adams
2009-06-19 18:17       ` Paulo J. Matos
     [not found] <mailman.703.1245153994.2239.help-gnu-emacs@gnu.org>
2009-06-16 12:15 ` Pascal J. Bourguignon
2009-06-16 22:54   ` Paulo J. Matos

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=87d494nyxq.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --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.
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).