[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Feature request: more automatic updating of cookies [8.3.6
From: |
Adam Porter |
Subject: |
Re: [O] Bug: Feature request: more automatic updating of cookies [8.3.6 (8.3.6-4-g4835be-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160926/)] |
Date: |
Wed, 28 Sep 2016 18:08:20 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Jorge <address@hidden> writes:
> 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. This could be governed by a user option.
>
> The point is that C-u C-c # (to update cookies in the entire buffer) takes
> long enough that I only call it a few times per week. This means that cookies
> can get out of sync. Then I try to remember manually invoking C-c # on the
> relevant line every time it goes out of sync, but I sometimes omit it.
Yeah, I have wished for this myself. It would probably work without too
much overhead to advise the outline-manipulating functions to call
org-update-statistics-cookies afterward. There might be a few other
functions to advise also to get more complete coverage.