Re: [O] Problem with org-indent-block

2014-09-12 Thread Nicolas Goaziou
Fabrice Popineau writes: > The problem was not in in org.el:org-indent-block but in > org.el:org-hide-block-toggle. > This function should toggle special-block blocks too, else it barfs on them. > In my setup, when an org file is restored by desktop.el, global visibility > is set, which triggers

Re: [O] Problem with org-indent-block

2014-09-12 Thread Fabrice Popineau
Thanks for your hint. The problem was not in in org.el:org-indent-block but in org.el:org-hide-block-toggle. This function should toggle special-block blocks too, else it barfs on them. In my setup, when an org file is restored by desktop.el, global visibility is set, which triggers calls to org-hi

Re: [O] Problem with org-indent-block

2014-09-12 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Recently, I started to get problems with org-indent-block returning errors > "Not at a block". > Unfortunately, this is happening while restarting emacs, and I have no idea > about how to debug it. AFAICT, nothing in the code base calls `org-indent-block' autom