all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to nix TABs when indenting in prog modes?
@ 2004-05-24 15:07 kj
  2004-05-24 18:52 ` Vitus Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: kj @ 2004-05-24 15:07 UTC (permalink / raw)






In many programming modes, hitting [TAB] indents the current line.
Is there a way to tell Emacs to use only space characters (i.e. no
TAB characters) for this indentation?

TIA,

kj


-- 
NOTE: In my address everything before the period is backwards.

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

* Re: How to nix TABs when indenting in prog modes?
  2004-05-24 15:07 How to nix TABs when indenting in prog modes? kj
@ 2004-05-24 18:52 ` Vitus Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Vitus Jensen @ 2004-05-24 18:52 UTC (permalink / raw)


kj wrote:
> In many programming modes, hitting [TAB] indents the current line.
> Is there a way to tell Emacs to use only space characters (i.e. no
> TAB characters) for this indentation?

(setq-default indent-tabs-mode nil)

in your .emacs file.

Works in 20.6

Bye,
    Vitus

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

end of thread, other threads:[~2004-05-24 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-24 15:07 How to nix TABs when indenting in prog modes? kj
2004-05-24 18:52 ` Vitus Jensen

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.