org-tree-slide configuration broken
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*
### Expected behavior
When moving through the slides with `org-tree-slide-move-next/previous-tree`, each slide should contain only one heading and its content beneath it.
### Current behavior
When moving through the slides, old headlines are not disappearing. Forward navigation sometimes also doesn't work if the cursor is on a headline. So that I had to first manually move the cursor beneath the headline to continue.
I solved the problem by disabling the `+present` config, and installing it manually.
Then I copied the relevant part of the `+present` config to my private config and tried to omit certain parts to track down the issue.
After excluding the macro `(defadvice! +org-present--hide-first-heading-maybe-a (fn &rest args) ...` the package works as expected!
### Steps to reproduce
1. Open doom emacs with `(org +present)` configured.
2. Open org file.
3. Call `org-tree-slide-mode`
4. Try navigating with `org-tree-slide-move-next/previous-tree`
### System Information
https://pastebin.com/ceWJXfeQ
Contributor guide
Assessment
This issue has not been assessed yet.