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: Sun, 13 Jan 2019 02:41:25 +0200 Organization: LINKOV.NET Message-ID: <87bm4le0tm.fsf@mail.linkov.net> References: <87a7ktqqx7.fsf@mail.linkov.net> <9215183d-0a44-88b5-5b3c-d0da31f749ad@yandex.ru> <878t02egph.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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1547348592 18081 195.159.176.226 (13 Jan 2019 03:03:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2019 03:03:12 +0000 (UTC) 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?= To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 13 04:03:07 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 esmtp (Exim 4.84_2) (envelope-from ) id 1giW3G-0004Xz-JU for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jan 2019 04:03:06 +0100 Original-Received: from localhost ([127.0.0.1]:54982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giW5N-0006p7-GQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Jan 2019 22:05:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giW5B-0006oD-NM for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giW59-0007QO-5F for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giW59-0007QI-20 for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1giW58-0004Qf-OM for bug-gnu-emacs@gnu.org; Sat, 12 Jan 2019 22:05:02 -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, 13 Jan 2019 03:05:02 +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.154734866116928 (code B ref 33870); Sun, 13 Jan 2019 03:05:02 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 13 Jan 2019 03:04:21 +0000 Original-Received: from localhost ([127.0.0.1]:57252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giW4S-0004Oy-TT for submit@debbugs.gnu.org; Sat, 12 Jan 2019 22:04:21 -0500 Original-Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:37762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1giW4Q-0004Og-HY for 33870@debbugs.gnu.org; Sat, 12 Jan 2019 22:04:19 -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 39BF2683621; Sun, 13 Jan 2019 03:04:17 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (unknown [100.96.20.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id F196B68360B; Sun, 13 Jan 2019 03:04:16 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a54.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, 13 Jan 2019 03:04:17 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Lonely-Stretch: 6b8c89a30909a67f_1547348657096_378563990 X-MC-Loop-Signature: 1547348657094:2524674505 X-MC-Ingress-Time: 1547348657093 Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id B5D5981AB5; Sat, 12 Jan 2019 19:04:16 -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:content-transfer-encoding; s=linkov.net; bh=JrysCE n2MBBDyGAURRyt7cUXSE8=; b=vWbuLhepKX+POTz+MMU6wQWP8g0r6R/tjF+KqL 84dJh5EM4HuWpydvH9Nxmx3fyD77zYPSewFTXKIivT+wH+QEoxEPGx0D2TsMElru Sz7lb2bSeLiZAIUEWP5bL3zP19C/ApLR1LkNY3q/m0DR4UKlxaBG22QuTzXCG4gx oo7tM= Original-Received: from mail.jurta.org (m91-129-101-91.cust.tele2.ee [91.129.101.91]) (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-a54.g.dreamhost.com (Postfix) with ESMTPSA id 5303681AAD; Sat, 12 Jan 2019 19:04:13 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a54 In-Reply-To: <67c9abb5-f546-361f-04ca-da96ceaca4e2@yandex.ru> (Dmitry Gutov's message of "Fri, 11 Jan 2019 04:18:24 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrfeekgddvvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutddurdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutddurdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruhenucevlhhushhtvghrufhiiigvpedt 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:154398 Archived-At: >> Then suddenly M-. replaces other half of the screen with empty space w= ith >> only 2 lines at the top. This is because there is an ambiguity in fin= ding >> definitions, and you need to resolve it. Then you start trying to reu= se some >> empty space it creates and trying to split the xref window. Instead o= f >> this, the split is applied to the original window. > > Could you write down the commands to get there? I failed to reproduce t= his. Any command that relies on configuration in display-buffer-alist or display-buffer-overriding-action such as windmove-display-in-direction= . >> Now the question is what to do when the user asks to display >> a definition in another window using =E2=80=98C-x 4 .=E2=80=99 >> (xref-find-definitions-other-window). The most natural way is to >> immediately take the window pointed out by the user configuration >> (the user can configure to display it below/above/left/right etc.) >> and display the xref window in that window. > > I'm not sure if it's the "most natural" way. "A natural" maybe. At least, the current behavior can't be described as "natural". For example, if the user prefers using frames and types `C-x 5 .' the xref buffer is displayed in another WINDOW, not FRAME.