From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#65831: 29.1; Mouse click on xref buffer doesn't go to reference Date: Tue, 12 Sep 2023 01:40:58 +0300 Message-ID: References: <5f61138f-8da6-4f02-8499-1968a49ec1ed@app.fastmail.com> 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="17180"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: Evan Moses , 65831@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 12 00:42:13 2023 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 1qfpbg-0004I6-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Sep 2023 00:42:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfpbT-0006Zt-Fr; Mon, 11 Sep 2023 18:41:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfpbR-0006Zj-Vv for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 18:41:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfpbR-0006Z7-Nq for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 18:41:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfpbV-0001uZ-Ug for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 18:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 22:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65831 X-GNU-PR-Package: emacs Original-Received: via spool by 65831-submit@debbugs.gnu.org id=B65831.16944720757282 (code B ref 65831); Mon, 11 Sep 2023 22:42:01 +0000 Original-Received: (at 65831) by debbugs.gnu.org; 11 Sep 2023 22:41:15 +0000 Original-Received: from localhost ([127.0.0.1]:55079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfpak-0001tO-UY for submit@debbugs.gnu.org; Mon, 11 Sep 2023 18:41:15 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfpai-0001t7-0g for 65831@debbugs.gnu.org; Mon, 11 Sep 2023 18:41:14 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2016E5C01EE; Mon, 11 Sep 2023 18:41:01 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 11 Sep 2023 18:41:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1694472061; x=1694558461; bh=40a9Qu5tj7eiElwfLTwEjqN5q+EEIi+I3ld e9UHzDew=; b=E9gkhAjDfi5Ym/AaOq+e4Yxsm6OhWBzYKOhG+Mf4in1LlsCDaJv hFQOJZJPfBCSZmJfY8mU4Ksj7yRxaYehnSHRwRmlic70BZAtJvsxPC2FKLVJtv6P cTZT36KlOJMfOOFcoOMfsgt1d0qPkF/GTYfE6qHczce/88Cqv/gYsE13IRGfJ1aJ kKebms0ofPRMKc/w6wtKpz9PYyAo0zira+4/uT0YbjhjlNrpOzqq41TkB5FgPZtB O8IqiZNg0ntoTQeidg/rjiFDRfL5EKGbSUSMKwUDACAjDzLwmqzLBJqpSMO/6ruh 3mO47sDVz8aA5HptcfPvZpRXKPcqwA6Cnow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1694472061; x= 1694558461; bh=40a9Qu5tj7eiElwfLTwEjqN5q+EEIi+I3lde9UHzDew=; b=N nWVPtoslni+Z8aj/IE+OG0lZxBmwtVj+YzRHpOWO58s1gU61+jr0BcQTP7QuQW21 lJQBjDdUJHrKl13gBo0CqGfESfd/bs5mf4mESCWrheL2SGGOBeSTq/r8yvmuMq0l j62Z9cG0d/lt8dbDcZSFlDBQ8Wx6+QDyqIiHG8pj9NoGucO1ZlyvTKyc2OvEl8kK 6pDh+2FlNrn5dA9cquvazkZkta0I5QBK/dudwGzgmWTDyWPd5/CDzg1vL3q7PymQ m2NZse1N+EUT8fQyRfgXlQhn3yDEQNRWU+PQ8Dr5/MwxopM6YufKj9Mtvb3srfNt b4IiF5ftMXFOHAx5AR0Hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeihedguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeghedthedujeeiteeutddtjeekheejteeukeehffdutdejuedvfeevueeviedu udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Sep 2023 18:40:59 -0400 (EDT) Content-Language: en-US In-Reply-To: <5f61138f-8da6-4f02-8499-1968a49ec1ed@app.fastmail.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270096 Archived-At: Hi Evan, On 08/09/2023 22:21, Evan Moses wrote: > This appears to be because [mouse-1] and [mouse-2] are bound to > xref-goto-ref, which calls (xref--item-at-point) to find the current > item; however, at least in my (fairly complex) environment, the point > isn't first moved to where the mouse was clicked and xref can't find any > item at the point where it was previously. That sounds like a problem, but could you try to find out first what makes your environment different? Perhaps it's better to have fixed there, or perhaps it's using some existing Emacs feature that we could fix ourselves too. As it is, though, [mouse-1] seems to function okay in the scenario you described (non-selected window) when I try it with 'emacs -Q' or my own config.