From kde-devel Mon Mar 20 23:19:07 2000 From: Cristian Tibirna Date: Mon, 20 Mar 2000 23:19:07 +0000 To: kde-devel Subject: Re: Indenting X-MARC-Message: https://marc.info/?l=kde-devel&m=95359420101057 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