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: Thu, 2 Sep 2021 14:42:15 +0200 Message-ID: <158a8854-f56a-9aaa-3a14-d108e086a24c@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> <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> 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="12431"; 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 Thu Sep 02 14:55:12 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 1mLmFM-00036l-MN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 14:55:12 +0200 Original-Received: from localhost ([::1]:38532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLmFL-0000rq-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Sep 2021 08:55:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLm3a-00082U-JD for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 08:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLm3a-0006FD-AS for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 08:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLm3Z-0001Eh-UE for bug-gnu-emacs@gnu.org; Thu, 02 Sep 2021 08:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Sep 2021 12:43:01 +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.16305865484709 (code B ref 50256); Thu, 02 Sep 2021 12:43:01 +0000 Original-Received: (at 50256) by debbugs.gnu.org; 2 Sep 2021 12:42:28 +0000 Original-Received: from localhost ([127.0.0.1]:39986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLm2z-0001Dr-9G for submit@debbugs.gnu.org; Thu, 02 Sep 2021 08:42:28 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:52309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLm2x-0001Dc-5u for 50256@debbugs.gnu.org; Thu, 02 Sep 2021 08:42:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630586536; bh=FQ/4rJYPuzcaIdla9AMuDp9YnvjtQyEZHJVEHAN+ujQ=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=cGqTcgWkX5w5SagN+BBsa90BX0estm3aii84vIw10OegK6GOZsU1iXAnZdh08hWw3 3UhEsSAnm7lsvwbpaUzaPwylIpt4aiqQgmZ0OMPEFw45Gy1Yrj1QfojunIG+lT1+C+ 2gTk+mioLVtirnqOoynTexgoQ1Q/u92s6rttDEBc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.24]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MyKHm-1nBHls1SQe-00ydgG; Thu, 02 Sep 2021 14:42:16 +0200 In-Reply-To: <83pmtrnydh.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:urXl6xNf1H0H6gEPsVePnMuUKk/HB4L+Uscw6/T+xdCwbPRPkQK OOv5OStDv8+vHEizHxlc8uIRy59HBhfcBaQMLZSMNCNG1AetPqDfuyHb5ptzGzSJqSv/7AU JZR37e36osJkdK+dVp/AmDvqfGYlvee2tjz3bZRBfWmpmEzxuk1MZOQA7Muz31U7teIvwvc fJNqh6ZLXQZwbR9KoOJgQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:4DtW2nb1O8I=:gCoNPDGV5D4kqAByDVKmy2 OGQva4SmfwvvqByyr8WfQ/mV/7mCFJHqKj+rqF938yWZrr3WOkrtxogPsTbL/pX12SlN8RkoD tf3H269zaa+VwE3XEf1qoe3Xm23FJM98pGJGCA95bELSEe3KYOcLde5iw0NCz7gY/BBqizW6O E64W+S8aUaaeIn18i8f/ifiOVEiIymsgLvXtqACDijv58Rm5oR3V2iO6MDSVoMvW7ErJ//ccw 25AFbqDGwQNS7wiql/NdoK6m2NubwwHBQFkrJdvFzJZ2VOUQpCz308CzMm5mO2+70PprQM060 UO2FIwOePffd1n+hj0PKiyWPcjsJu/npDfGN+YgSBsglnbTyQovhbgpZVePO/we6GvYOQm8C/ P7cuzXbR1NYJKm/YOhLihKxYIUfL7Ne4NJhaCVUnxAt1G5ZxLUZBP9kugsnjFph1H0f4hb4w5 1AlUK8b0R5wdVTkj+GtORfw17YU1g0muPQ27d25DahBxaE/iU7giG7qvQyCWgocwAErN0gd/N LaubpnwCHDbh6+5KUwKYn/lOp+Qza3Sxf4fGiiBVU1tkMk8ggrO5u/QtSi5MsXEOBXMFJ7m66 +75rt/VHqDT2TZQZvexzytpgItKt4H+7nRkziMRPNQtJoh/D4Bg/1ChhGjmBGa5JymNstAfH6 Q3GtdGaJOslJZF4mAc1P+x+oq1domcUuF4qbXqt206DBttZLm/k/CSJyxQ0gRejBnTT+6cP+L /o53TxblHvluJkvtPH7ksFyMa5eUXwoUkdLT7CYsv0e91ztKMtykQRNz4aoP9HOQ4igaWymj 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:213267 Archived-At: >> 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? It is the _necessary_ behavior when WINDOW is not the selected window and its buffer is not current. Regardless of whether it happens inside `with-current-buffer' or not. martin