[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Potential feature request – more automatic updating of cookies
From: |
Adam Porter |
Subject: |
Re: [O] Potential feature request – more automatic updating of cookies |
Date: |
Thu, 28 Jul 2016 22:53:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Jorge Peixoto de Morais Neto <address@hidden> writes:
> Should I request the feature of Org automatically updating cookies when using
> structure editing commands such as C-c C-x C-w, C-c C-x C-y, <M-left>,
> <M-right> and friends? Would it be worth the development cost? I
> unfortunately cannot develop it myself.
Hi Jorge,
It might be enough to advise a few functions to call
org-update-statistics-cookies, e.g.:
(advice-add 'org-cut-special :after 'org-update-statistics-cookies)