Closed LukasCBossert closed 9 months ago
Probably because of something changed in Org 9.7, which is yet to be released. Fallout from its changes has been spreading, e.g. https://github.com/alphapapa/org-ql/issues/364 I can't offer support for unreleased versions, so you'll have to debug it yourself.
Or, who knows, it could just be something to do with DOOM. If I had a dime for every bug report that was caused by something funny DOOM does...
Anyway, I'd start by reproducing it in a clean Emacs configuration using https://github.com/alphapapa/with-emacs.sh
Thanks for the reply. For now I will downgrade org to 9.6, since it seems there are some more issues going on w/ 9.7 (and I have no clue how to debug elisp...)
Note that for me it doesn't work in 9.6 either when I pin Doom's org-mode package setup at 806abc5a2bbcb5f884467a0145547221ba09eb59 (release 9.6.9) nor at HEAD (c7a2cc988423d25da26ad5d16fa3e1a44c07f52e).
I too haven't found a way to debug this yet: the message is just that: a message. So it doesn't trigger the debugger.
I do see that org-sidebar-tree-view-buffer
has a (toggle-truncate-lines 1)
in its body. (toggle-truncate-lines)
function has exactly the message noted above in its body. If I manually run that function before org-sidebar-tree
, it still sticks at "Truncate long lines enabled".
Hi, I'm experiencing the same issue with latest doom emacs and org 9.6.6
I've attempted to triage this issue, but due to my limited knowledge in Elisp I was just able to add a few debug (message)
s around.
I don't have a solution, but I think the root cause is here: https://github.com/alphapapa/org-sidebar/blob/288703b897449f5110c9c76e78eb9a928ffc0dcd/org-sidebar.el#L471 The loop never completes. If I remove that loop, I'm able to open the sidebar tree.
If you can't reproduce, I'm happy to provide more details, but I'm afraid I'd need some directions due to me lacking proper Elisp kung-fu.
Thanks!
I've made a v0.4 release, and now v0.5 will target Org 9.6+. The updates in https://github.com/alphapapa/org-sidebar/commit/97e9c810b512823dfa396630044651bed478d4fb should help with this problem. Please test and let me know what problems may remain. Thanks.
@rogueai See https://github.com/alphapapa/org-sidebar/commit/1e06d1b4ab5f0d09301712cdecb757c9437a7179, which may fix the problem you reported.
I've run a quick test, and seems to be working now with v0.4, thanks!
I've run a quick test, and seems to be working now with v0.4, thanks!
Note that v0.4 has the old code. Current master
(v0.5-pre) has the updated code.
I just updated with/having (package! org-sidebar :recipe (:host github :repo "alphapapa/org-sidebar"))
and it now works. Not sure whether you (do not) want me to close the issue, so I'll leave it as is for you to close @alphapapa.
I just updated with/having
(package! org-sidebar :recipe (:host github :repo "alphapapa/org-sidebar"))
and it now works. Not sure whether you (do not) want me to close the issue, so I'll leave it as is for you to close @alphapapa.
Thanks for the report. AFAIK this is solved now, so closing. If not, hopefully someone else will report so.
I start
org-sidebar-tree
withM-x org-sidebar-tree
and then everything stops when it reaches the point "Truncate long lines enabled and 'visual-ilne-mode' disabled.org-version:
Org mode version 9.7 (9.7-??-e90a8a69a @ /Users/lukascbossert/.config/emacs/.local/straight/build-29.1/org/)
My setup: