[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation.
From: |
Markus Triska |
Subject: |
Re: Indentation. |
Date: |
Fri, 27 Oct 2006 18:46:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
zombek@gmail.com writes:
> 1) 4 space indentation (no mather which language) and it shouldn't care
> about the syntax - when I say indent then indent
Add this to the modes in which you want 4 spaces when you press TAB:
(local-set-key "\t" (lambda () (interactive) (insert " ")))
> 2)when I press RETURN when beeing on some indentation level i should
> automatically go to the same indentation level in the new line without
> the need to press TAB
(global-set-key "\C-m" 'newline-and-indent)
Best wishes! -- Markus Triska
- Indentation., zombek, 2006/10/27
- Re: Indentation.,
Markus Triska <=