unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tab indent
@ 2010-06-23  8:31 DDD
  2010-06-23  9:50 ` Marc Mientki
  0 siblings, 1 reply; 2+ messages in thread
From: DDD @ 2010-06-23  8:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Is there any way to make tab key always produce spaces?

I mean type tab just as type 4 space.

Thanks in advance. I am new to emacs.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tab indent
  2010-06-23  8:31 Tab indent DDD
@ 2010-06-23  9:50 ` Marc Mientki
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Mientki @ 2010-06-23  9:50 UTC (permalink / raw)
  To: help-gnu-emacs

Am 23.06.2010 10:31, schrieb DDD:
> Hi,
>
> Is there any way to make tab key always produce spaces?

Yes. Put this to your .emacs file:

(setq-default indent-tabs-mode nil)

regards
Marc



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-23  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23  8:31 Tab indent DDD
2010-06-23  9:50 ` Marc Mientki

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).