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: Sat, 19 Jan 2019 22:45:17 +0200 Organization: LINKOV.NET Message-ID: <87d0osjtna.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> <87bm4le0tm.fsf@mail.linkov.net> <87imys6x5s.fsf@mail.linkov.net> NNTP-Posting-Host: ciao.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ciao.gmane.org 1547935081 143398 195.159.176.228 (19 Jan 2019 21:58:01 GMT) X-Complaints-To: usenet@ciao.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2019 21:58:01 +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 Sat Jan 19 22:57:59 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1gkyck-000bG6-TX for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2019 22:57:55 +0100 Original-Received: from localhost ([127.0.0.1]:60329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkyct-0003Hi-Um for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2019 16:58:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkyay-0001te-3e for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2019 16:56:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkyax-0003MP-4Q for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2019 16:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkyaw-0003MD-W4 for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2019 16:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkyaw-0004uS-St for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2019 16:56: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: Sat, 19 Jan 2019 21:56: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.154793491318771 (code B ref 33870); Sat, 19 Jan 2019 21:56:02 +0000 Original-Received: (at 33870) by debbugs.gnu.org; 19 Jan 2019 21:55:13 +0000 Original-Received: from localhost ([127.0.0.1]:38115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkya9-0004sg-B2 for submit@debbugs.gnu.org; Sat, 19 Jan 2019 16:55:13 -0500 Original-Received: from cichlid.maple.relay.mailchannels.net ([23.83.214.36]:27884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gkya4-0004sR-OA for 33870@debbugs.gnu.org; Sat, 19 Jan 2019 16:55:12 -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 5B83B1242BB; Sat, 19 Jan 2019 21:55:07 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.33.121]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0B7EB124239; Sat, 19 Jan 2019 21:55:07 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.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); Sat, 19 Jan 2019 21:55:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Plucky-Attack: 7449b1622c651a2f_1547934907187_408223434 X-MC-Loop-Signature: 1547934907187:1344492736 X-MC-Ingress-Time: 1547934907186 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id A72F880B33; Sat, 19 Jan 2019 13:55:06 -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=Yc0Fg8bi6mm9tDnC8XvObdOd4NM=; b= XxzYMrskvhIRktwx8/ChEXPTtiB5AJ94D2vvCFKxfjkHp4Q3V2UuA03hSHnjp70o XAl8Z0ONEHkS/WEwzt7ScJbwN174KCP92s14r4gwpuesGFlxd6LcV3oRT5QpNLZn cppq01PcqK1S7aWFSIWnhfVurLpT6JzKIfxmIOCPFvU= 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-a6.g.dreamhost.com (Postfix) with ESMTPSA id E449B80B10; Sat, 19 Jan 2019 13:55:04 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: (Dmitry Gutov's message of "Fri, 18 Jan 2019 05:37:24 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrhedvgdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutddurdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutddurdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruhenucevlhhushhtvghrufhiiigvpedt 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:154593 Archived-At: > I wouldn't say it's perfect either, it's still kind of idiosyncratic. Not > sure your patch will fix that problem, though, instead of just swinging it > the other way. > > We basically have two use cases: > > * Jump to this symbol, in this/that > window/frame. windmove-display-in-direction should probably affect where > the target buffer ends up, irrespective of whether we have to pop up an > *xref* buffer to resolve any duplicate matches. > > * Show a list of search results. Arguably, in this case > windmove-display-in-direction should affect where the *xref* buffer > is displayed. > > Neither of y'all's patches solve this, I believe. Why do you think this display action proposed in my previous patch can't solve this? `((display-buffer-in-previous-window) (previous-window . ,xref--original-window)) Then there is no need to use a new relative-window alist entry 'from-window' in display-buffer-in-window because xref--original-window is absolute addressing.