From: "Paulo J. Matos" <pocmatos@gmail.com>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Spaces instead of tabs in new mode
Date: Tue, 16 Jun 2009 23:49:37 +0100 [thread overview]
Message-ID: <1245192577.15893.1.camel@drserver> (raw)
In-Reply-To: <87d494nyxq.fsf@tux.homenetwork>
On Tue, 2009-06-16 at 14:30 +0200, Thierry Volpiatto wrote:
> Hi, you can put this in your .emacs:
>
> ,----
> | (setq-default indent-tabs-mode nil)
> `----
>
> to avoid tab indenting.
>
I programmed a new mode. Can't I say that specifically for this mode I
want this to always happen?
Cheers,
Paulo Matos
>
> "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,
>
next prev parent reply other threads:[~2009-06-16 22:49 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
2009-06-16 22:49 ` Paulo J. Matos [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1245192577.15893.1.camel@drserver \
--to=pocmatos@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=thierry.volpiatto@gmail.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.
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.