From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#50256: thing-at-mouse Date: Wed, 1 Sep 2021 16:25:20 +0200 Message-ID: <1a65f234-c1ee-ae95-aa05-2e3d9d1e1002@gmx.at> References: <87sfys6ubm.fsf@mail.linkov.net> <87eeacdnmg.fsf@gnus.org> <87h7f7z8ui.fsf@mail.linkov.net> <871r6a8ooe.fsf@gnus.org> <87y28i85xi.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16475"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50256@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 01 16:26:14 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 1mLRBu-00046Q-KQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 16:26:14 +0200 Original-Received: from localhost ([::1]:53132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLRBr-0005bU-TP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 10:26:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLRBi-0005bK-Nd for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 10:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLRBi-0006B4-FO for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 10:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLRBi-0004Zk-A9 for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2021 14:26: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.163050633117550 (code B ref 50256); Wed, 01 Sep 2021 14:26:02 +0000 Original-Received: (at 50256) by debbugs.gnu.org; 1 Sep 2021 14:25:31 +0000 Original-Received: from localhost ([127.0.0.1]:38763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLRBD-0004Z0-5u for submit@debbugs.gnu.org; Wed, 01 Sep 2021 10:25:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:33369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLRBB-0004Yn-Cx for 50256@debbugs.gnu.org; Wed, 01 Sep 2021 10:25:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630506322; bh=i+dq5EaMOpWDxZTSH981aXYgak8XrcIH8UihFZRmu6A=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=P6ekjs8wPt+cvehj0IpDYE8qRaWg9w6pf6eA2PFTv+r0QVUWa10Ty1nG7UNHJ+KOi iq7R4IS90A5VRoyJ2oGPDuygSTFsY0z/ZzW8CMSYHPbpWQNqUamvqW8965eaSyhKpw iqRsDe6aMU4rs8GTRU2VdiGk1Q8w9/LCpo3pDjoA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([213.142.96.44]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MDQeU-1mB1KG1mtS-00AYiK; Wed, 01 Sep 2021 16:25:22 +0200 In-Reply-To: <83lf4gqyn9.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:jObOwG/WCnAygTGkJ0E22bMUEl/cfx1uYcfl1hX1HSlvkxFyy01 7kqzyOYJN/qsYHIjqpNB6ib+jLulKOMbAdEempvZAP2xOgIC+vK/pkGI6/zJoYG3u1c9iYh 8OobtBzupzwlm/yYzqEKR/+Bifo1xdy3Pl8ataWBdBiV0t6G7q1hs4KUikW95Kyt7nHDxg0 R/DykWfd8++OSxQnZQ4DQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:7FNSdXV/tls=:8sqcNCu5cp+C+ga4CDorv2 hqvmADoHXIkpbkstMNNJ7A/HcWsoqQqsIwyF/e7SISOHg/47Bh75s7ozKziLJgUqyTVSFM5Sk LYEYbfKRFGICICzQ9aiPYCYas8RngnroxLRuBrqWFv7ThGHbV5KlU2HgEzunuylWch+96NTUA nlGOrqG+JDhyU9XeuH1IWmULhgae5qhMFs1HaKausVTE6LSmL7c87MDHPKCKw7WR268sGspLt cs9ZSE/YmElGEsNTytTVwP7cfva1CPZUahteDJFc0+vFoN74iJYe+RUiEjzwPDUiL8tYilz+h oP7VLvdrJVv5n3l4gkJjF6IZ8xtZ5LwJt7yWIlm7k8YB8TpTDjr3R/HwR/05KfVQhrZH8OLxF 1mRTo9Uj50Ds1pAibnWE4fFJ76mRKSMSRQ/B7kG7m8Z5ec3K4+ZSFV7AgS+cBULl+MTnQREID 7w4xjaTkKRngKBLd7wnolZyd5L9NPeZ3BHED8f35pxLYyI2m2dDhLLcgCn2sQnXpiOG3TgR5u odKwMSmf1mj26yR8FnRu2KRjg0o6qXhFBR3CWcNZFtt60i/EnGCBhz4ygAVelrdu/xF87wGkn Rn/d5p/odxy+fosgKGJ5KJZicvb6ZJruKvG3yM0JSxEtNKucXD212Ne2pv2OP2CPvWHZ+h3b7 amCP4TS09ocms2AwDG0uG34Iy8EZisy1pZG3I1LAnCzP0HqroWzRpGRk+56Lh6bLiLOWIEXa6 BjXifQg8PMpc6yQMBa2mxG/orDpSEamDb4a8nGfTjI8d5/n8nmBGhxbfsdIksIlHRzsX7EpJ 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:213195 Archived-At: > That function works only with positions shown in some window, so why > do you say the above makes no sense? The implementation emulates > display, so it must have a window to make layout decisions. > >> So the fix should be implemented in Fpos_visible_in_window_p. > > The snippet cited in the original message _was_ from > Fpos_visible_in_window_p. But I don't understand what kind of fix did > you have in mind, perhaps because I don't understand how the original > problem reported by Juri happened in the first place. With emacs -Q put into *scratch* and evaluate via C-x c-e (progn (with-current-buffer "*Messages*" (goto-char (point-min))) (pop-to-buffer "*Messages*") (with-current-buffer "*scratch*" (pos-visible-in-window-p nil nil t))) This reports visibility for the position of point in *scratch* and not that of the window point of the selected *Messages* window. martin