From: "Paulo J. Matos" <pocmatos@gmail.com>
To: "Pascal J. Bourguignon" <pjb@informatimago.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Spaces instead of tabs in new mode
Date: Tue, 16 Jun 2009 23:54:49 +0100 [thread overview]
Message-ID: <1245192889.15893.2.camel@drserver> (raw)
In-Reply-To: <7ciqiwwf18.fsf@pbourguignon.anevia.com>
On Tue, 2009-06-16 at 14:15 +0200, Pascal J. Bourguignon wrote:
> "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?
>
> M-x customize-variable RET tab-width RET
OK, thanks. Should I set that variable in my new mode or should I leave
it to the user to set to whatever value it wants?
Cheers,
Paulo Matos
next prev parent reply other threads:[~2009-06-16 22:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.703.1245153994.2239.help-gnu-emacs@gnu.org>
2009-06-16 12:15 ` Spaces instead of tabs in new mode Pascal J. Bourguignon
2009-06-16 22:54 ` Paulo J. Matos [this message]
2009-06-16 12:06 Paulo J. Matos
2009-06-16 12:30 ` Thierry Volpiatto
2009-06-16 22:49 ` Paulo J. Matos
2009-06-17 0:40 ` Drew Adams
2009-06-19 18:17 ` 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=1245192889.15893.2.camel@drserver \
--to=pocmatos@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pjb@informatimago.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.
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).