From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Subject: [dev] org-indent-mode patch Date: Sun, 13 Mar 2011 17:21:10 +0100 Message-ID: <87ipvnng95.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=46954 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pyo2c-0004ZY-G9 for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 12:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pyo2a-0002yM-4P for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 12:21:14 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:50810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pyo2Z-0002y9-Uo for emacs-orgmode@gnu.org; Sun, 13 Mar 2011 12:21:12 -0400 Received: by fxm18 with SMTP id 18so2622336fxm.0 for ; Sun, 13 Mar 2011 09:21:10 -0700 (PDT) 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: Org Mode List Hello, I'd like to submit the following org-indent-mode patch for testing. git://github.com/ngz/org-mode-lists.git indent-patch-no-timer It implements two things: 1. It indents correctly text when using visual-line-mode; 2. It removes the idle timer previous implementation was using, which means it won't refresh indentation more often than necessary. Unfortunately, there is a price to pay: 1. Initialization will be much longer for large Org files, but I've added a message to the user saying so. 2. It is a bit slower, as the algorithm has more things to check. Last point is obviously my main concern. Although not noticeable on my not-so-recent laptop, I don't know how it behaves on old machines. That's why a testing is necessary to determine (bugs and) if it is usable. Any help welcome. Regards, -- Nicolas