From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: org-weights.el Date: Sun, 17 Feb 2013 00:05:58 -0500 Message-ID: <86txpbedhl.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wRt-0002fE-8y for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:06:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6wRs-0001Yy-5y for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:06:01 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:58410 helo=mercure.bureau.ubity.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wRs-0001Ys-0N for emacs-orgmode@gnu.org; Sun, 17 Feb 2013 00:06:00 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, gang. A few times already, I spoke on this list of my need to see the weights of subtrees on header lines. Nicolas Goaziou was kind enough to write the function for computing the weights, I wrapped some Lisp code around this, and shared the result on this list. In that code, I had a command which computes and displays the weights, and as soon as I modify the buffer, the weights were disappearing. I recently had the need to frequently re-evaluate the weights after modifications, and got tired of repeating the displaying command after each modification. So I modified the code so the weights get updated instead of disappearing. Bastien also suggested that I turn my code into a small library. If you are curious, see the results as: https://github.com/pinard/org-weights It works relatively OK for me. Bugs surely remain. :-) Fran=C3=A7ois