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: Sun, 07 Apr 2019 00:08:38 +0300 Organization: LINKOV.NET Message-ID: <874l7a962h.fsf@mail.linkov.net> References: <87muoe7jrs.fsf@mail.linkov.net> <87a7hp43a5.fsf@mail.linkov.net> <205acda7-07a3-d85c-378c-c178f9f76b55@yandex.ru> <87o95l4ht4.fsf@mail.linkov.net> <64f42172-460f-a633-1c80-23d34b5c0d07@yandex.ru> <87lg0ou6q7.fsf@ulti.tmit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="31599"; 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, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Dmitry Gutov To: Felician Nemeth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 06 23:48:17 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 1hCtAe-00084s-Ka for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Apr 2019 23:48:16 +0200 Original-Received: from localhost ([127.0.0.1]:59380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCtAd-0001xM-HR for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Apr 2019 17:48:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCtAS-0001wb-Nx for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2019 17:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCtAR-0005g2-NQ for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2019 17:48:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCtAR-0005fb-DJ for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2019 17:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hCtAR-0005cC-AJ for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2019 17:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Apr 2019 21:48:03 +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.155458723321498 (code B ref 33992); Sat, 06 Apr 2019 21:48:03 +0000 Original-Received: (at 33992) by debbugs.gnu.org; 6 Apr 2019 21:47:13 +0000 Original-Received: from localhost ([127.0.0.1]:47549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCt9c-0005ag-Vj for submit@debbugs.gnu.org; Sat, 06 Apr 2019 17:47:13 -0400 Original-Received: from otter.birch.relay.mailchannels.net ([23.83.209.139]:56879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hCt9a-0005aW-BM for 33992@debbugs.gnu.org; Sat, 06 Apr 2019 17:47:11 -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 D27F35E1E76; Sat, 6 Apr 2019 21:47:08 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a41.g.dreamhost.com (100-96-11-84.trex.outbound.svc.cluster.local [100.96.11.84]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4649A5E1EB7; Sat, 6 Apr 2019 21:47:08 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a41.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); Sat, 06 Apr 2019 21:47:08 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Bored-Unite: 73c37456166bbc2f_1554587228674_3742267517 X-MC-Loop-Signature: 1554587228674:452368632 X-MC-Ingress-Time: 1554587228674 Original-Received: from pdx1-sub0-mail-a41.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a41.g.dreamhost.com (Postfix) with ESMTP id 6C386800EA; Sat, 6 Apr 2019 14:47:03 -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; s=linkov.net; bh=MLCkjeXm6JGJzH4hk3wpSTQhsyI=; b= Kyn3C94Qmg5u/IAIxObLheyRmy2CajRf5sMEWN9TMv80SuWYMbcZMPifGy+S4fkT 5X5sPGCy3ozX4XguwOBy4Bua303OvIcb13QHZQAukG/wKUj8BlwdgayjA4TW/gsb jp41OtBgW0D6oJmJFIrtYspvL+cpuZgu7VxDwLLNa1s= Original-Received: from mail.jurta.org (m91-129-99-202.cust.tele2.ee [91.129.99.202]) (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-a41.g.dreamhost.com (Postfix) with ESMTPSA id F178E800E9; Sat, 6 Apr 2019 14:47:00 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a41 In-Reply-To: <87lg0ou6q7.fsf@ulti.tmit.bme.hu> (Felician Nemeth's message of "Fri, 05 Apr 2019 11:44:16 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddtgddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrddvtddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrddvtddvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepfhgvlhhitghirghnrdhnvghmvghthhesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedv 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:157288 Archived-At: > I thought that I didn't need to see the list of the xref results and the > xrefs' window shrank the view of the code I wanted to study. So, I came > up with the defun below. It presents the xref results without showing > the xref window. I think this idea can be further developed. > xref-show--xrefs-buffer could have an 'm' key binding that "minimizes" > its window by switching to xref-show-xrefs-without-buffer (below) and > that function can "maximize" back with the same 'm' key. A customizable > variable could define the initial behavior. This looks like good ol' find-tag and tags-loop-continue bound to M-, with an optional pop-up to the xref buffer by a dedicated key.