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#33992: 27.0.50; xref-find-definitions wastes too much space Date: Wed, 20 Mar 2019 23:37:54 +0200 Organization: LINKOV.NET Message-ID: <87a7hp43a5.fsf@mail.linkov.net> References: <87muoe7jrs.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="69268"; 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: 33992@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 Wed Mar 20 23:45:29 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 1h6jxe-000Htw-Un for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 23:45:27 +0100 Original-Received: from localhost ([127.0.0.1]:54493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6jxd-0000pC-TL for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 18:45:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6jvv-0007a1-5t for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:43:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6joY-0001kw-EB for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6joY-0001jE-3J for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6joX-0002oJ-VN for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Mar 2019 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33992 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 33992-submit@debbugs.gnu.org id=B33992.155312130710679 (code B ref 33992); Wed, 20 Mar 2019 22:36:01 +0000 Original-Received: (at 33992) by debbugs.gnu.org; 20 Mar 2019 22:35:07 +0000 Original-Received: from localhost ([127.0.0.1]:52315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6jne-0002mB-DZ for submit@debbugs.gnu.org; Wed, 20 Mar 2019 18:35:06 -0400 Original-Received: from firebrick.maple.relay.mailchannels.net ([23.83.214.59]:12259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6jnc-0002ly-FN for 33992@debbugs.gnu.org; Wed, 20 Mar 2019 18:35:05 -0400 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 F084E2C1366; Wed, 20 Mar 2019 22:35:02 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (100-96-12-106.trex.outbound.svc.cluster.local [100.96.12.106]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 77C342C1B67; Wed, 20 Mar 2019 22:35:02 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 20 Mar 2019 22:35:02 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Wipe-Glossy: 34a66aee76c365f3_1553121302702_3435010263 X-MC-Loop-Signature: 1553121302702:982975068 X-MC-Ingress-Time: 1553121302701 Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTP id 14FEB81B25; Wed, 20 Mar 2019 15:34:57 -0700 (PDT) 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=ouq+dF wLuIhg1abl+JcjCp6xpFs=; b=xmzHz45Hiuk5T9FG4/qZLIk/8XPpNbOTdGh8Nr lAPPos1lBlnAWU9Y7yZxkd/bPmHWUJlQi4rdSN8JTb+yCtvQ5Du1UDmsOmZTHXly qUZwFlKk0KpuS+wbnmRpqBdUUbwo3pbf6TX3jUKhG7FtTGCYdzOkAjLVvKWEHH0c TawTk= Original-Received: from mail.jurta.org (m91-129-108-250.cust.tele2.ee [91.129.108.250]) (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-a45.g.dreamhost.com (Postfix) with ESMTPSA id D805181B23; Wed, 20 Mar 2019 15:34:54 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a45 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 6 Jan 2019 11:03:18 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrieeigdduieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrvdehtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrddvhedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepjhhorghothgrvhhorhgrsehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd 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:156553 Archived-At: >> As noted in bug#33870 the buffer produced by xref-find-definitions >> (bound to =E2=80=98M-.=E2=80=99) has a transient nature like the *Comp= letions* buffer. >> Therefore it makes sense not to waste its space needlessly: > > It doesn't make sense to review this patch until the patch that fixes 3= 3870 > has been produced. Since the patch from bug#33870 has been already committed, this bug#33992 is undeadlocked now. The problem with xref-find-definitions is its unexpected outcome: sometimes it pops up a window, sometimes doesn't. It's like Russian roulette: pull the trigger, bang and there is a hole in the screen that takes the form of glaringly empty space. The proposed change is not to break the window configuration: either split the selected window and show *xref* below, or do inline placement, i.e. to replace the content of the selected window with the *xref* buffer.