bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50256: thing-at-mouse


From: Lars Ingebrigtsen
Subject: bug#50256: thing-at-mouse
Date: Wed, 01 Sep 2021 09:43:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> So maybe this fix should be implemented in Fpos_visible_in_window_p,
> i.e. at the end of this code
>
>   if (EQ (pos, Qt))
>     posint = -1;
>   else if (!NILP (pos))
>     posint = fix_position (pos);
>   else if (w == XWINDOW (selected_window))
>     posint = PT;
>   else
>     posint = marker_position (w->pointm);
>
> it should get position from the selected window's buffer?

I've tried to follow the logic here, and I think you're right, but it's
difficult to really get a handle on what the repercussions here might be
in various scenarios.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]