From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: xref and displaying locations in appropriate window or frame Date: Sun, 24 Jan 2016 21:03:09 +0300 Message-ID: <56A511DD.9080107@yandex.ru> References: <83wprimto9.fsf@gnu.org> <56916C10.6050004@yandex.ru> <83oacumqmj.fsf@gnu.org> <56917246.1010800@yandex.ru> <5691795E.9010008@yandex.ru> <83lh7ym725.fsf@gnu.org> <5691D768.3020908@yandex.ru> <83bn8tmnvq.fsf@gnu.org> <56928356.2000609@yandex.ru> <8360z1mkfc.fsf@gnu.org> <5696EE9D.2090708@yandex.ru> <838u3si22k.fsf@gnu.org> <5697C7A8.6060601@yandex.ru> <83wprcgjxk.fsf@gnu.org> <5697DA3B.3070706@yandex.ru> <83io2wggh8.fsf@gnu.org> <5697EC73.6040302@yandex.ru> <83fuy0gf2j.fsf@gnu.org> <5697F3C9.5040702@yandex.ru> <83bn8ogd8c.fsf@gnu.org> <56980073.7050604@yandex.ru> <838u3rhpzk.fsf@gnu.org> <569D3ADC.5060803@yandex.ru> <83si1sa47q.fsf@gnu.org> <56A06965.7050501@yandex.ru> <83r3ha97yu.fsf@gnu.org> <56A434A9.6040404@yandex.ru> <837fiz3rv5.fsf@gnu.org> <56A50981.7070809@yandex.ru> <83vb6i3llq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1453658605 6472 80.91.229.3 (24 Jan 2016 18:03:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jan 2016 18:03:25 +0000 (UTC) Cc: rudalics@gmx.at, eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 24 19:03:19 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aNP0R-0007OI-IT for ged-emacs-devel@m.gmane.org; Sun, 24 Jan 2016 19:03:19 +0100 Original-Received: from localhost ([::1]:33007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNP0Q-0007nU-VO for ged-emacs-devel@m.gmane.org; Sun, 24 Jan 2016 13:03:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNP0M-0007nM-Uj for emacs-devel@gnu.org; Sun, 24 Jan 2016 13:03:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNP0J-0001t6-PN for emacs-devel@gnu.org; Sun, 24 Jan 2016 13:03:14 -0500 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:35931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNP0J-0001t1-HE; Sun, 24 Jan 2016 13:03:11 -0500 Original-Received: by mail-lb0-x231.google.com with SMTP id oh2so63469827lbb.3; Sun, 24 Jan 2016 10:03:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=VaxUzOWxM9K6wkOAUK5Bitdu0eV/8rayOaJfKvYGgHw=; b=sx8m9t8z3mC/qTo1y3U9YC3Dej45c3OhPHLBM2lYJ5Ko/JUZqs/fKyCwx4vsWSUFdy r8d8HK0JyTKs0YJAIsiJVbzcR+GeP8ezAdqjuW9Y6XX1fkcI0Vne6B60WCIJasMRPs6V Rs+e0oehVYLCGq4TP2AorWZQtg5RB8zaSocjVgK21Xygu6rxrg4jeJkZww0oAI7uzy8I OpjHYc3WrnFfDSAJS4dadW0oBELhRQhIfylxZU0fEPot6DxF6Bo1um8FEV28qwFyiMuz ze2bkrKEz8C9lEiK3f73brFYnjbiyXpbTA5jIo4Et0hAliIY87oDoFATZOT1Z8h6PM1T VM0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=VaxUzOWxM9K6wkOAUK5Bitdu0eV/8rayOaJfKvYGgHw=; b=RZwE7we0f2+sFWFlrknwjhB0BusqnRZzNs3CrvSfm0iL6Ivby4pzAn8NAJ1RGASSfs aHvA+zFGYCQQJYqcknJabzutSEVe51NXPGyuxnaMcYpPsN00uzTlM8SXXVdM8hdsxOih VMa2VixB5MX8w/sddLC3/OTCB2POOjEeh3kuORK78PqIqT6kkNAXz5yxPoR4KspJ0YQj zekp4tl2Z2XZzghlq1RuA8rGVQykpUBecer2hEc6+siKpXdApUXdqwyxL1bQH5bzlJR6 gcIbqE/lyQtRPS0oF2eFIkvJdJ74a2yUeOwy2BvFY5xzKAx64ZaSzwgGwhbWE4oFm4f/ 5Fnw== X-Gm-Message-State: AG10YOSVan4WjjaJVKVjGfzMOWt3x9q+zXkGElszppjaA2njfpvi4a08BM/FWoARVIvGjw== X-Received: by 10.112.159.233 with SMTP id xf9mr4702167lbb.21.1453658590689; Sun, 24 Jan 2016 10:03:10 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id l67sm2249892lfi.2.2016.01.24.10.03.09 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Jan 2016 10:03:09 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <83vb6i3llq.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198714 Archived-At: On 01/24/2016 08:58 PM, Eli Zaretskii wrote: > With RET, yes. But this doesn't happen with '.'. Isn't that > confusing? Somewhat, yes. But it avoided the problem of showing a buffer while avoiding touching two windows. > RET runs xref-goto-xref, so whatever RET does, xref-goto-xref will do > the same, no? Yes. Including hiding the xref buffer, like currently implemented. > As for xref-show-location-at-point, it doesn't bury the *xref* buffer > when I try it now, so it looks like it already avoids hiding *xref*. Avoids, yes. And it doesn't fulfill the "show in this/other window/frame" contract, like you've observed. It's possible that we can easily have only one or the other. > I have a terrible feeling that I'm missing something important here. Not sure if you are. >> I only mean that the original buffer will be hidden, and the user won't >> be able to look at its contents while making the choice. Which might be >> considered bad, for the default behavior. Maybe not too terrible, though. > > No, I don't think it's terrible. There's always > xref-pop-marker-stack, right? I suppose.