From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEJ1Zzogb3JnLWhpZXJhcmNoaWNhbC10b2RvLXN0YXRpc3Rp?= =?UTF-8?B?Y3MgKyBvcmctdXBkYXRlLXN0YXRpc3RpY3MgY29va2llcyBpbiBiZWZvcmUt?= =?UTF-8?B?c2F2ZS1ob29rIGJyZWFrcyBvdmVybGF5cyBbOC4zLjUgKDguMy41LWVscGFw?= =?UTF-8?B?bHVzIEAgL2hvbWUvY2xlbWVudC8uZW1hY3MuZC8uY2Fzay8yNS4xLjUwLjcv?= =?UTF-8?B?ZWxwYS9vcmctcGx1cy1jb250cmliLTIwMTYwNzE5Lyld?= Date: Mon, 08 Aug 2016 22:00:16 +0200 Message-ID: <87oa53820f.fsf@saiph.selenimh> References: <5a92df02-770d-4c2f-67f3-62861454a8e7@live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWqii-00047k-Ka for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 16:00:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWqif-0008IG-CR for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 16:00:20 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:43929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWqif-0008I8-4x for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 16:00:17 -0400 In-Reply-To: <5a92df02-770d-4c2f-67f3-62861454a8e7@live.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Sun, 31 Jul 2016 10:38:10 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Cc: emacs-orgmode@gnu.org Hello, Cl=C3=A9ment Pit--Claudel writes: > Setting =E2=80=98org-hierarchical-todo-statistics=E2=80=99 to nil confuse= s =E2=80=98org-update-statistics-cookies=E2=80=99 when that function is use= d in a before-save-hook. > > More precisely, every time I save the attached org file, the hidden secti= on of the buffer shrinks a bit, revealing a few characters at the end of th= e 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, --=20 Nicolas Goaziou