"J.D. Smith" <[email protected]> writes:

> Aha, not a bug then.  Instead there seems to be some new sensor state in v31:
> 'moved'.  Try this:
>
> (defun my/appear-sensor (_win _pos type)
>   (cond
>    ((eq type 'entered)
>     (let ((beg (1- (previous-single-property-change (1+ (point)) 
> 'cursor-sensor-functions)))
>           (end (next-single-property-change (point) 
> 'cursor-sensor-functions)))
>       (move-overlay my/try-inside-overlay beg end)
>       (setq cursor-type 'bar)))
>    ((eq type 'left)
>     (setq cursor-type 'box)
>     (move-overlay my/try-inside-overlay 0 0)
>     (setq disable-point-adjustment t))))

Works fine now.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to