nobiot / org-transclusion

Emacs package to enable transclusion with Org Mode
https://nobiot.github.io/org-transclusion/
GNU General Public License v3.0
942 stars 48 forks source link

`org-transclusion-fringe` does not display in doom emacs #252

Open osheari1 opened 2 months ago

osheari1 commented 2 months ago

When settings the fringe variables, the source frindge displays correctly, however the transclusion fringe does not.

(custom-set-faces! '(org-transclusion-fringe
                     :forground "#ebf6fa"
                     :background "#ebf6fa"))
(custom-set-faces! '(org-transclusion-source-fringe
                     :forground "#ebf6fa"
                     :background "#ebf6fa"))

In the code below, it seems that the call to overlay-put may be missing?

....
      (overlay-put ov-tc 'line-prefix (org-transclusion-propertize-transclusion))
      (overlay-put ov-tc 'wrap-prefix (org-transclusion-propertize-transclusion))
...

https://github.com/nobiot/org-transclusion/blob/main/org-transclusion.el#L1080

Screenshot_20240910_162628

nobiot commented 1 month ago

@osheari1 , I have spent some time testing the issue.

By the looks of the screen image above, do you have org-indent-mode turned on?

Can you check if the issue persists if it is turned off?

I can reproduce the problem only when I have org-indent-mode active. And we have a support for it with org-transclusion-indent-mode.

On my end, if I activate the org-transclusion-indent-mode, the transclusion fringe appears.

image

osheari1 commented 2 weeks ago

Hey, thanks for testing this out.

I'll test this out as soon as I can. Apologies for the delay, the last couple months have been hectic.