From: "Drew Adams" <drew.adams@oracle.com>
To: "'TriKri'" <kristoferkrus@hotmail.com>, <Help-gnu-emacs@gnu.org>
Subject: RE: How to change indenting from spaces to tabs?
Date: Wed, 13 Aug 2008 09:23:16 -0700 [thread overview]
Message-ID: <000a01c8fd60$e4342710$c2b22382@us.oracle.com> (raw)
In-Reply-To: <18922383.post@talk.nabble.com>
> indenting should be done by inserting 1 tab instead
> of 4 spaces, where the tab width should be set to 4.
>
> How can I make Emacs indent using tabs, and possibly also
> changing the tab width?
(setq-default indent-tabs-mode t)
(setq default-tab-width 4)
Or perhaps set these only for the mode you want (put in the mode hook):
(setq indent-tabs-mode t
tab-width 4)
The Emacs manual is your friend. Use `i' to look up keywords (such as `tab' and
`width') in the index.
next prev parent reply other threads:[~2008-08-13 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 10:16 How to change indenting from spaces to tabs? TriKri
2008-08-13 16:23 ` Drew Adams [this message]
2008-08-13 18:33 ` Eli Zaretskii
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='000a01c8fd60$e4342710$c2b22382@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=kristoferkrus@hotmail.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).