From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-hierarchical-todo-statistics + org-update-statistics cookies in before-save-hook breaks overlays [8.3.5 (8.3.5-elpaplus @ /home/clement/.emacs.d/.cask/25.1.50.7/elpa/org-plus-contrib-20160719/)]
Date: Mon, 08 Aug 2016 22:00:16 +0200 [thread overview]
Message-ID: <87oa53820f.fsf@saiph.selenimh> (raw)
In-Reply-To: <5a92df02-770d-4c2f-67f3-62861454a8e7@live.com> ("Clément Pit--Claudel"'s message of "Sun, 31 Jul 2016 10:38:10 -0400")
Hello,
Clément Pit--Claudel <clement.pitclaudel@live.com> writes:
> Setting ‘org-hierarchical-todo-statistics’ to nil confuses ‘org-update-statistics-cookies’ when that function is used in a before-save-hook.
>
> More precisely, every time I save the attached org file, the hidden section of the buffer shrinks a bit, revealing a few characters at the end of the buffer. This is weird. Fortunately, it's reproducible in emacs -Q. Here's a video: http://asciinema.org/a/1h4otbt9cviod3nef0nx1sa5s
>
> I have attached minimal org.el and test.org files. With these, run
>
> emacs -Q -l org.el test.org
>
> Then make a change on the first line and save. This will reveal a few
> characters at the end of the file-local variables section. Repeating
> the edit+save cycle shows a few more characters each time (if this is
> abstruse, watch the asciinema video above)
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2016-08-08 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-31 14:38 Bug: org-hierarchical-todo-statistics + org-update-statistics cookies in before-save-hook breaks overlays [8.3.5 (8.3.5-elpaplus @ /home/clement/.emacs.d/.cask/25.1.50.7/elpa/org-plus-contrib-20160719/)] Clément Pit--Claudel
2016-08-08 20:00 ` Nicolas Goaziou [this message]
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=87oa53820f.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=clement.pitclaudel@live.com \
--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).