> yhetil.org is easier in this regard.
Thanks!
>> So I still think it's worth improving this in org-mode. Even if it's
>> not an org-mode bug, it's a known limitation that in the specific case
>> of org-mode it can be avoided, so I would do it.
>>
>> Please let me know what you think and if you want me to submit a patch
>> or let it be.
> What exactly do you think should be fixed on Org side?
The workaround I came up with was using clone-indirect. When
`org-agenda-with-point-at-orig-entry` does
```
(with-current-buffer (marker-buffer ,marker)
(save-excursion
(goto-char ,marker)
,@body))
```
do instead
```
(with-current-buffer (marker-buffer ,marker)
(with-current-buffer (clone-indirect-buffer "unique-name" nil t)
(goto-char ,marker)
,@body)
(kill-buffer "unique-name"))
```
We could also detect when the buffer is visible and only apply the
workaround then.