From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50256: thing-at-mouse Date: Fri, 03 Sep 2021 11:10:15 +0300 Organization: LINKOV.NET Message-ID: <87v93i9ipg.fsf@mail.linkov.net> References: <87sfys6ubm.fsf@mail.linkov.net> <87k0k1o5ks.fsf@mail.linkov.net> <87ilzk6bsr.fsf@mail.linkov.net> <6dcf3191-dbb3-0c6c-2483-0fc05e9ff6e5@gmx.at> <83lf4gqyn9.fsf@gnu.org> <1a65f234-c1ee-ae95-aa05-2e3d9d1e1002@gmx.at> <8335qoqobm.fsf@gnu.org> <7c9cb0a1-b222-cb06-7e7c-7f17231faca3@gmx.at> <83pmtsp4g1.fsf@gnu.org> <831r67ph8d.fsf@gnu.org> <87tuj3bffb.fsf@gnus.org> <83y28fo1xf.fsf@gnu.org> <191e9cc6-7370-5b7d-7777-716b61e0155d@gmx.at> <83pmtrnydh.fsf@gnu.org> <158a8854-f56a-9aaa-3a14-d108e086a24c@gmx.at> <83k0jznms2.fsf@gnu.org> <87v93j9dfz.fsf@mail.linkov.net> <87y28e4ysv.fsf@mail.linkov.net> <918d18ad-2def-1012-06bc-69351b560574@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9853"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50256@debbugs.gnu.org, larsi@gnus.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 03 10:20:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM4Qr-0002QJ-7Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Sep 2021 10:20:17 +0200 Original-Received: from localhost ([::1]:57032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM4Qq-0005zd-79 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Sep 2021 04:20:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM4Qd-0005yI-29 for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 04:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mM4Qc-0001im-QP for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mM4Qc-00088Z-MJ for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 04:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Sep 2021 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50256 X-GNU-PR-Package: emacs Original-Received: via spool by 50256-submit@debbugs.gnu.org id=B50256.163065715431181 (code B ref 50256); Fri, 03 Sep 2021 08:20:02 +0000 Original-Received: (at 50256) by debbugs.gnu.org; 3 Sep 2021 08:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:42854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4Pp-00086r-RP for submit@debbugs.gnu.org; Fri, 03 Sep 2021 04:19:13 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM4Po-00086G-5Y for 50256@debbugs.gnu.org; Fri, 03 Sep 2021 04:19:12 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5FC912000A; Fri, 3 Sep 2021 08:19:03 +0000 (UTC) In-Reply-To: <918d18ad-2def-1012-06bc-69351b560574@gmx.at> (martin rudalics's message of "Thu, 2 Sep 2021 20:46:57 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213337 Archived-At: >> Actually, whereas it fixes the reported issue, >> it breaks everything else: moving point up and down >> always jumps to the fixed column like goal-column, >> selecting a completion from the Completions buffer >> always says "No completion here", 'C-c C-c' in diff-mode >> jumps to the wrong hunk, etc. > > Is the below better? > > @@ -2199,7 +2199,8 @@ DEFUN ("pos-visible-in-window-p", Fpos_visible_in_window_p, > - else if (w == XWINDOW (selected_window)) > + else if (w == XWINDOW (selected_window) > + && XBUFFER (w->contents) == current_buffer) Thanks, now it fixes the reported issue while not breaking other things.