From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33870: 27.0.50; xref-goto-xref not configurable Date: Thu, 27 Dec 2018 23:19:22 +0200 Organization: LINKOV.NET Message-ID: <877efu3bxh.fsf@mail.linkov.net> References: <87a7ktqqx7.fsf@mail.linkov.net> <9215183d-0a44-88b5-5b3c-d0da31f749ad@yandex.ru> <87imzfkhb4.fsf@mail.linkov.net> <87imzfhm04.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545945801 22346 195.159.176.226 (27 Dec 2018 21:23:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2018 21:23:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 33870@debbugs.gnu.org, Dmitry Gutov To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 27 22:23:16 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcd7c-0005hJ-3J for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 22:23:16 +0100 Original-Received: from localhost ([127.0.0.1]:55307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcd9i-0000BO-P8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2018 16:25:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcd9Q-000067-0W for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:25:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcd9M-0000Cw-R5 for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:25:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcd9M-0000CZ-Ks for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:25:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gcd9M-0005gq-EX for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2018 16:25:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Dec 2018 21:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33870-submit@debbugs.gnu.org id=B33870.154594587321794 (code B ref 33870); Thu, 27 Dec 2018 21:25:04 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 27 Dec 2018 21:24:33 +0000 Original-Received: from localhost ([127.0.0.1]:39580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcd8q-0005fR-Mb for submit@debbugs.gnu.org; Thu, 27 Dec 2018 16:24:32 -0500 Original-Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:58830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gcd8m-0005fG-Bf for 33870@debbugs.gnu.org; Thu, 27 Dec 2018 16:24:28 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 46D3C5E2D03; Thu, 27 Dec 2018 21:24:27 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (unknown [100.96.19.78]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 05CBD5E37C2; Thu, 27 Dec 2018 21:24:27 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 27 Dec 2018 21:24:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Reaction-Continue: 24bef50a46a8bf23_1545945867130_3217216924 X-MC-Loop-Signature: 1545945867129:2629908623 X-MC-Ingress-Time: 1545945867129 Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id BE4EB7FD05; Thu, 27 Dec 2018 13:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=KqYe1fzt5OWFFzq/XzyKiwERGUs=; b= F5D0BUdVLWfoOMcdIch/9YR0hQNdrxG9QfXrPVcC6Bj+w+zmv3VNyLUa1eApZsI1 77FzkcYVAarS16VyGhhvI2F+IlS0MC/P399jlwCVQ9ZJ1NlgYM5bTFMYg64UN6Jf jTk+s5Fdzau2dHAvtltfpj0/tWs0l7QZ9XjEIv6nOFc= Original-Received: from mail.jurta.org (m91-129-108-193.cust.tele2.ee [91.129.108.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 1436B7FCFE; Thu, 27 Dec 2018 13:24:24 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a68 In-Reply-To: <87imzfhm04.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Thu, 27 Dec 2018 00:05:47 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrtdefgdekkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrudelfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrdduleefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepjhhorghothgrvhhorhgrsehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgepvd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153928 Archived-At: > Here are two very simple Emacs -Q recipes that demonstrate [the bug] Thanks for the recipes. > emacs -Q > C-x 3 [split-window-right] > C-x 2 [split-window-below] > M-. xref-backend-definitions RET [xref-find-definitions] > C-n [next-line] > RET [xref-goto-xref] > > Expected the definition to be found in the original window where I > pressed M-. but instead it was found in another. Another case: It could help to try using 'get-mru-window'. Please ask Martin if there is a display action that uses 'get-mru-window', or how to temporarily change the default behavior from 'get-lru-window' to 'get-mru-window'. > emacs -Q > C-x 4 . xref-backend-definitions RET [xref-find-definitions-other-window] > C-n > RET > > Expected the definition to be found in some other window, different > from the one I pressed M-. on. Instead went to the same one. Also, > in both situations, expected the window configuration to be the same > as if I had searched for, say, xref-backend-functions [which only > has a single definition]. This can be configured with the display buffer alist `(inhibit-same-window . t)'.