From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33870: 27.0.50; xref-goto-xref not configurable Date: Mon, 04 Feb 2019 23:35:46 +0200 Organization: LINKOV.NET Message-ID: <87munbs0ct.fsf@mail.linkov.net> References: <87a7ktqqx7.fsf@mail.linkov.net> <87bm4qel4t.fsf@mail.linkov.net> <67c9abb5-f546-361f-04ca-da96ceaca4e2@yandex.ru> <87bm4le0tm.fsf@mail.linkov.net> <87imys6x5s.fsf@mail.linkov.net> <87d0osjtna.fsf@mail.linkov.net> <8ffaaddb-1d19-b9e9-83f1-83da89445eb8@yandex.ru> <87munmosx4.fsf@mail.linkov.net> <77b96dc5-a994-de78-64bb-40ba7625d40f@yandex.ru> <838sz0yni3.fsf@gnu.org> <87a7jd7v1g.fsf@mail.linkov.net> <83bm3twnhq.fsf@gnu.org> <87ef8omx2j.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25248"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 33870@debbugs.gnu.org, dgutov@yandex.ru 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 Mon Feb 04 22:56:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqmE6-0006R8-AA for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 22:56:27 +0100 Original-Received: from localhost ([127.0.0.1]:49966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqmE2-0002LC-E5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 16:56:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqmDp-0002JS-Mf for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqmDl-0002e6-S0 for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqmDi-0002ZJ-3T for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqmDh-00014H-Ps for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Feb 2019 21:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33870 X-GNU-PR-Package: emacs Original-Received: via spool by 33870-submit@debbugs.gnu.org id=B33870.15493173454052 (code B ref 33870); Mon, 04 Feb 2019 21:56:01 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 4 Feb 2019 21:55:45 +0000 Original-Received: from localhost ([127.0.0.1]:59786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqmDQ-00013H-DM for submit@debbugs.gnu.org; Mon, 04 Feb 2019 16:55:45 -0500 Original-Received: from indri.birch.relay.mailchannels.net ([23.83.209.92]:57549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqmDN-000137-Rs for 33870@debbugs.gnu.org; Mon, 04 Feb 2019 16:55:42 -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 DF1B85C431D; Mon, 4 Feb 2019 21:55:36 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a25.g.dreamhost.com (unknown [100.96.11.179]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 800005C3DA0; Mon, 4 Feb 2019 21:55:36 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a25.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); Mon, 04 Feb 2019 21:55:36 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Continue-Oafish: 0d0d24d3558a0dcc_1549317336719_1649912777 X-MC-Loop-Signature: 1549317336719:1395575336 X-MC-Ingress-Time: 1549317336719 Original-Received: from pdx1-sub0-mail-a25.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a25.g.dreamhost.com (Postfix) with ESMTP id 299647FEF6; Mon, 4 Feb 2019 13:55:36 -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=JCNnwXmEg4CiTfgNnsq9Z/J4Ehk=; b= 1cZzUh3MD7UDIJj7KWNWXr/ZBsgGyQSzrSKdoU+zj6VDbif9N40lkZQ15m/L2GUi UZuo1kAK4wZuF9xgUgxBCE5IRjphQ1EGXJbM8BPGmVLIMcNQ49B+eeqYpkmYXI1s eShPjZ2nNN9ItBUp0wBsmnwd7ChNqjvZq73qX4NTfBo= Original-Received: from mail.jurta.org (m91-129-111-71.cust.tele2.ee [91.129.111.71]) (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-a25.g.dreamhost.com (Postfix) with ESMTPSA id BF31F7FEED; Mon, 4 Feb 2019 13:55:33 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a25 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 03 Feb 2019 21:08:44 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrkeeggdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdduuddurdejudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdduuddurdejuddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjohgrohhtrghvohhrrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu 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: 209.51.188.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:155091 Archived-At: >> Let me summarize my point of view of the current situation: >> >> * Old behavior: >> >> M-. pops up the *xref* buffer in an adjacent window >> RET visits references in the original window >> TAB visits references in the original window >> n visits references in the original window >> >> C-x 4 . pops up the *xref* buffer in an adjacent window >> RET visits references in the same window where *xref* buffer was >> TAB depending on window configuration visits references either >> in the same window where *xref* buffer was or in the original window >> n splits the original window and visits references in a tiny window, >> sometimes opens a new frame > > Unfortunately, you're trying again to kick up a dust cloud around the > matter. You description is only partially true for the two-window case. Yes, it's only partially true, I admitted this by saying that I don't understand its complicated logic. > Let's use your 100%-backward-compatible patch, (since it is the simpler > of the two). For the millionth time: _after_ we get _some_ patch > installed, I invite you to open a new customization option (or just a > simple variable) that lets me toggle on and off between the current > behaviour and the behaviour that you think is superior. I don't think that the behaviour I proposed is superior. In particular, my previous proposal behaves poorly in combination with windowmove, e.g. typing M-. to display the reference in the upper window, when there are ambiguities it displays the xref buffer in the upper window, and then typing RET visits the reference in a wrong window (in the original window). I hoped to have more discussion to find the best solution. > Then we can all try it for a while. _Why_ is this so hard? It's hard to support all details of old behavior in all possible interactions.