When I start an org-present slideshow with an org file, the darkroom minor mode starts as well. It works but it shows an "Arithmetic Error" on the botton. However after the first keystroke (or a mouse click somewhere) during the slideshow this error vanishes. Also, the scrollbar on the right is still visible (in normal mode I have it enabled). Screenshot:
Since I don't intent to use darkroom outside of slideshows, I turn it off when the slideshow finishes. Then the display looks a bit "destroyed", see screenshot:
Emacs still works as it should but it seems, it has a 5 cm wide invisible left margin of some kind. Also darkroom seems to be still active, there's no modeline and it's a bit messy to get emacs back to normal.
I'm not sure if this is important: I'm working on Xmonad, so my windows don't have borders or titlebars, just in case you're wondering about the screenshots. Also I can reproduce the problem on different platforms and versions (FreeBSD and Linux, different emacs and xmonad versions).
As you suggested by mail, I run it with debugging enabled, here's the output for the first error:
Finally, also after stopping the slide show it is also not possible to exit emacs, C-x-c only results in this in Messages:
(No files need saving)
cons: Arithmetic error
(No files need saving)
cons: Arithmetic error
(No files need saving)
cons: Arithmetic error
(No files need saving)
cons: Arithmetic error
(No files need saving)
cons: Arithmetic error
I'd like to use darkroom.el as minor mode with org-present.el, a slide-show mode for org-mode. Here's my config:
When I start an org-present slideshow with an org file, the darkroom minor mode starts as well. It works but it shows an "Arithmetic Error" on the botton. However after the first keystroke (or a mouse click somewhere) during the slideshow this error vanishes. Also, the scrollbar on the right is still visible (in normal mode I have it enabled). Screenshot:
Since I don't intent to use darkroom outside of slideshows, I turn it off when the slideshow finishes. Then the display looks a bit "destroyed", see screenshot:
Emacs still works as it should but it seems, it has a 5 cm wide invisible left margin of some kind. Also darkroom seems to be still active, there's no modeline and it's a bit messy to get emacs back to normal.
I'm not sure if this is important: I'm working on Xmonad, so my windows don't have borders or titlebars, just in case you're wondering about the screenshots. Also I can reproduce the problem on different platforms and versions (FreeBSD and Linux, different emacs and xmonad versions).
As you suggested by mail, I run it with debugging enabled, here's the output for the first error:
Finally, also after stopping the slide show it is also not possible to exit emacs, C-x-c only results in this in Messages:
It needs to be killed from the outside.
best, Tom