emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas <n.goaziou@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: [dev] org-indent-mode patch
Date: Sun, 13 Mar 2011 17:21:10 +0100	[thread overview]
Message-ID: <87ipvnng95.fsf@gmail.com> (raw)


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.



             reply	other threads:[~2011-03-13 16:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13 16:21 Nicolas [this message]
2011-03-14  7:51 ` [dev] org-indent-mode patch Carsten Dominik
2011-03-19  6:33   ` Linus Arver
2011-07-21 15:14   ` Nicolas Goaziou
2011-08-18  8:38     ` Carsten Dominik
2011-08-18 10:19       ` Nicolas Goaziou
2011-08-18 10:26         ` Carsten Dominik
2011-08-18 12:02           ` Bernt Hansen
2011-08-18 12:55             ` Bastien
2011-08-18 14:00               ` Nicolas Goaziou
2011-08-18 16:47                 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ipvnng95.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).