[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50256: thing-at-mouse
From: |
Eli Zaretskii |
Subject: |
bug#50256: thing-at-mouse |
Date: |
Thu, 02 Sep 2021 12:02:50 +0300 |
> Cc: juri@linkov.net, 50256@debbugs.gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Thu, 2 Sep 2021 10:54:44 +0200
>
> > If we want to support the current documentation to the letter, the
> > only way of doing that I know of is to force WINDOW to display the
> > current buffer, at least internally, i.e. to switch to the WINDOW's
> > buffer for the duration of pos-visible-in-window-p. If that leaves
> > everyone happy, it could be done relatively easily, but then I wonder
> > why does the code in question with-current-buffer, and what would
> > break when pos-visible-in-window-p internally switches back to the
> > buffer shown in WINDOW?
>
> pos_visible_p already does
>
> if (XBUFFER (w->contents) != current_buffer)
> {
> old_buffer = current_buffer;
> set_buffer_internal_1 (XBUFFER (w->contents));
> }
I'm asking if this is the desired behavior, when Lisp runs this inside
with-current-buffer?
- bug#50256: thing-at-mouse, (continued)
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/01
- bug#50256: thing-at-mouse, Juri Linkov, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, Lars Ingebrigtsen, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, Lars Ingebrigtsen, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/02
- bug#50256: thing-at-mouse,
Eli Zaretskii <=
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/02
- bug#50256: thing-at-mouse, Juri Linkov, 2021/09/02
- bug#50256: thing-at-mouse, Juri Linkov, 2021/09/02
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/02
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/03
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/03
- bug#50256: thing-at-mouse, martin rudalics, 2021/09/04
- bug#50256: thing-at-mouse, Eli Zaretskii, 2021/09/04