You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The org roam persistent buffer does not really support a workflow that makes use of frames.
Long Description
Currently the org-roam buffers visibility is defined as follows:
(define-inline org-roam-buffer--visibility ()
"Return the current visibility state of the persistent `org-roam-buffer'.
Valid states are 'visible, 'exists and 'none."
(declare (side-effect-free t))
(inline-quote
(cond
((get-buffer-window org-roam-buffer) 'visible)
((get-buffer org-roam-buffer) 'exists)
(t 'none))))
This makes the assumption that if the org-roam buffer is not part of the active frame that it is not visible and therefore should not be updated. It should be possible to do better than this, but it may require some platform specific things and external tools.
Proposed Implementation (if any)
In my package frame-mode, I have a function that relies on xwinfo to determine if a frame is viewable:
This is obvious not only platform, but display server (XOrg vs Wayland etc.) specific, which is not ideal. Still, I think that maybe the move here is to allow the user to specify a visibility function and default to the current behavior.
Please check the following:
No similar feature requests
The text was updated successfully, but these errors were encountered:
Brief Abstract
The org roam persistent buffer does not really support a workflow that makes use of frames.
Long Description
Currently the org-roam buffers visibility is defined as follows:
This makes the assumption that if the org-roam buffer is not part of the active frame that it is not visible and therefore should not be updated. It should be possible to do better than this, but it may require some platform specific things and external tools.
Proposed Implementation (if any)
In my package frame-mode, I have a function that relies on xwinfo to determine if a frame is viewable:
https://github.com/IvanMalison/frame-mode/blob/ae2366969927c9f89ea07c999bef382b0b47cac1/frame-mode.el#L83
This is obvious not only platform, but display server (XOrg vs Wayland etc.) specific, which is not ideal. Still, I think that maybe the move here is to allow the user to specify a visibility function and default to the current behavior.
Please check the following:
The text was updated successfully, but these errors were encountered: