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: Sun, 03 Feb 2019 22:33:24 +0200 Organization: LINKOV.NET Message-ID: <87ef8omx2j.fsf@mail.linkov.net> References: <87a7ktqqx7.fsf@mail.linkov.net> <874lak9kr0.fsf@mail.linkov.net> <87zhscklhq.fsf@gmail.com> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256746"; 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, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 03 21:55:00 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 1gqOn4-0014b1-Tp for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2019 21:54:59 +0100 Original-Received: from localhost ([127.0.0.1]:60258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqOn3-00049r-OG for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2019 15:54:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqOml-00045Z-96 for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 15:54:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqOiJ-0004Vk-W4 for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 15:50:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqOiJ-0004Ve-Sx for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 15:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqOiI-0004F3-E4 for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 15:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Feb 2019 20:50:02 +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.154922697516229 (code B ref 33870); Sun, 03 Feb 2019 20:50:02 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 3 Feb 2019 20:49:35 +0000 Original-Received: from localhost ([127.0.0.1]:57791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOhr-0004Dg-Bp for submit@debbugs.gnu.org; Sun, 03 Feb 2019 15:49:35 -0500 Original-Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:62723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqOhp-0004DW-UX for 33870@debbugs.gnu.org; Sun, 03 Feb 2019 15:49:34 -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 562AD123C69; Sun, 3 Feb 2019 20:49:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a23.g.dreamhost.com (unknown [100.96.19.74]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BAB491233CE; Sun, 3 Feb 2019 20:49:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a23.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); Sun, 03 Feb 2019 20:49:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Towering-Glossy: 6a6e1c5b5a971035_1549226972166_3702906792 X-MC-Loop-Signature: 1549226972166:1602264378 X-MC-Ingress-Time: 1549226972165 Original-Received: from pdx1-sub0-mail-a23.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a23.g.dreamhost.com (Postfix) with ESMTP id 3B56E818BB; Sun, 3 Feb 2019 12:49:31 -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=lxAyIIi6O7pQcBO+1wlxEBz5Oa0=; b= xlztKuPFxXycEnDQAyPQ0mg9j3jl/fXRyXLLeglLQ7iHXoTUz/GUPESkMgppGQly WWcFKlKsKzjqakdZxRqiW2p+N/rZeLj00OSeRlcV16GnnHrCQWSJMsjxWKP7Oe7F hP4DciaQVpT5B1Dpn7jn0AgJY8y5Xvt+4BpWVDHvDLc= 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-a23.g.dreamhost.com (Postfix) with ESMTPSA id 2A73D818CB; Sun, 3 Feb 2019 12:49:28 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a23 In-Reply-To: <83bm3twnhq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Feb 2019 05:37:53 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrkedvgddugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdduuddurdejudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdduuddurdejuddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedv 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:155062 Archived-At: >> It's only a "problem" in your opinion :-) I was assuming Eli also thinks it's >> a bad default, but he hasn't confirmed this yet (and like Dmitry perhaps >> we was misunderstanding the reason for the behaviour). And neither has he >> said that your proposal is better. > > I thought I did express my opinions, but maybe I'm confused wrt the > question(s) you are asking. Care to repeat them, for my benefit? 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 C-x 5 . pops up the *xref* buffer in an adjacent window RET visits references in a new frame TAB visits references in a new frame n visits references in a new frame Problems: the case of 'C-x 4 .' is a mess. Other cases are consistent, but take screen space from an adjacent window. The proposed behavior solves all these problems: * Proposed new behavior M-. pops up the *xref* buffer in a tiny window below the original 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 a tiny window below the original window RET visits references in a new window TAB visits references in a new window n visits references in a new window C-x 5 . pops up the *xref* buffer in a tiny window below the original window RET visits references in a new frame TAB visits references in a new frame n visits references in a new frame However, the problem is that I don't understand the complicated logic of the 'C-x 4 .' case of the old behavior, so I can't completely support all its intricacies after code simplification.