emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: org-weights.el
Date: Sun, 17 Feb 2013 00:05:58 -0500	[thread overview]
Message-ID: <86txpbedhl.fsf@iro.umontreal.ca> (raw)

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çois

                 reply	other threads:[~2013-02-17  5:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=86txpbedhl.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).