> Date: Fri, 12 Apr 2013 20:00:56 +0200 > From: Suvayu Ali <fatkasuvayu+li...@gmail.com> > Cc: Torsten Wagner <torsten.wag...@gmail.com>, emacs-orgmode@gnu.org, > carsten.domi...@gmail.com > > If some package wants to keep something updated (line number displays in > this case), is using the post-command-hook the only option?
No. The other one is piggy-back jit-lock. See nlinum in ELPA for an example, which actually is a drop-in replacement for linum, but without many of its problems.