From mboxrd@z Thu Jan 1 00:00:00 1970 From: User Subject: Re: Automatic indentation of org tree Date: Tue, 28 Jul 2009 19:32:49 +0000 (UTC) Message-ID: References: <871vo1agq1.fsf@bzg.ath.cx> <87r5w13taq.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVsQH-00079Y-5K for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 15:33:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVsQC-00078U-Kz for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 15:33:16 -0400 Received: from [199.232.76.173] (port=40209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVsQC-00078R-CC for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 15:33:12 -0400 Received: from main.gmane.org ([80.91.229.2]:41879 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVsQB-0005Qm-Vt for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 15:33:12 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MVsQ5-0008TT-NN for emacs-orgmode@gnu.org; Tue, 28 Jul 2009 19:33:06 +0000 Received: from dsl51B6735B.pool.t-online.hu ([81.182.115.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jul 2009 19:33:05 +0000 Received: from spamfilteraccount by dsl51B6735B.pool.t-online.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jul 2009 19:33:05 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien googlemail.com> writes: > > I tested your code but there are several problems: it is not usable on > big files, The size of the file shouldn't matter, since only lines in the current window are indented. Probably, some trivial bug remained in it which my tests didn't cover. > and even on small files the auto-indentation is confusing. > For example, stars get indented while there should not. It's a matter of taste. I didn't find it confusing. But it's trivial to change it to avoid indenting header lines. > I guess this is still work-in-progress -- hope you'll find ways > to fix the problems above! It's a proof-of-concept package, but I think the underlining concept is solid. If someone motivated spends a little time on it then I'm sure the problems can be ironed out quickly.