[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Indenting
From:       Cristian Tibirna <ctibirna () total ! net>
Date:       2000-03-20 23:19:07
[Download RAW message or body]


On Mon, 20 Mar 2000, David Faure wrote:

> This being said, I agree, tabs suck. :)
> I would be happy with any decision for a standard indentation of 2,
> 3 or 4 spaces, so that I could set emacs to it once and for all.
> Currently I have to adapt it to the file I'm working on... :)
> But since this will never happen, I'll keep adapting ;-)
> 

God, how well I understand you !!! :-)

Luck is that X/Emacs is intelligent enough to obey to local tab rule when
editing inside existing code blocks. Problem is when creating new blocks
(like a new method in an already existing class). Once you start a block
that has a first unindented line, you're back at your default rule.

Now, the idea: we need a LISP guru to adapt Arnt's .emacs so that it
automatically determines and sets the appropriate indenting count for a
file at opening. Intelligently (the pondered mean of all indents :-) I
think I'll pray God to lend on me that extra pair of brains that He
provisioned for my next life, so that I can start understanding Lisp ;-^

Cristian Tibirna

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic