From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: xref and displaying locations in appropriate window or frame Date: Thu, 28 Jan 2016 00:45:17 +0200 Organization: LINKOV.NET Message-ID: <87a8nqhd82.fsf@mail.linkov.net> References: <83wprimto9.fsf@gnu.org> <569D3ADC.5060803@yandex.ru> <83si1sa47q.fsf@gnu.org> <56A06965.7050501@yandex.ru> <83r3ha97yu.fsf@gnu.org> <56A434A9.6040404@yandex.ru> <56A4ADA5.4070607@gmx.at> <56A4CB54.90808@yandex.ru> <56A4E1CF.9010002@gmx.at> <56A50514.9040509@yandex.ru> <56A5140F.2040905@gmx.at> <56A51FA4.5020807@yandex.ru> <56A5EFEE.2080607@gmx.at> <56A6559E.5040301@yandex.ru> <56A666FB.3080709@gmx.at> <87fuxla27x.fsf@acer.localhost.com> <56A744D8.6040205@gmx.at> <56A801E0.2020309@yandex.ru> <56A88980.7000706@gmx.at> <56A8FF6F.4020201@yandex.ru> <56A907AC.6000502@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453943913 2858 80.91.229.3 (28 Jan 2016 01:18:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2016 01:18:33 +0000 (UTC) Cc: Eli Zaretskii , Ingo Lohmar , Helmut Eller , emacs-devel@gnu.org, Dmitry Gutov To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 00:02:40 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 1aOZ6l-0008HV-O7 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2016 00:02:39 +0100 Original-Received: from localhost ([::1]:52998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOZ6k-0000nT-VY for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2016 18:02:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOZ6W-0000nG-QI for emacs-devel@gnu.org; Wed, 27 Jan 2016 18:02:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOZ6W-0003yU-01 for emacs-devel@gnu.org; Wed, 27 Jan 2016 18:02:24 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:37187 helo=homiemail-a101.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOZ6S-0003xJ-2Y; Wed, 27 Jan 2016 18:02:20 -0500 Original-Received: from homiemail-a101.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTP id 5FA83117E06C; Wed, 27 Jan 2016 15:02:16 -0800 (PST) Original-Received: from localhost.linkov.net (85.253.58.108.cable.starman.ee [85.253.58.108]) (Authenticated sender: jurta@jurta.org) by homiemail-a101.g.dreamhost.com (Postfix) with ESMTPA id B0C9C117E06A; Wed, 27 Jan 2016 15:02:14 -0800 (PST) In-Reply-To: <56A907AC.6000502@gmx.at> (martin rudalics's message of "Wed, 27 Jan 2016 19:08:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.253.7 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:198929 > I hardly ever played around with IDEs so I wouldn't know. Implementing an IDE-like mode in Emacs implies displaying the *xref* buffer in the same fixed bottom window shared with all other view buffers like *grep*, *compilation*, *Completions*, ... ------------ | O | T | | | | |------------| | X | ------------ and using the tab-bar to switch between these buffers in that bottom window. OTOH, in non-IDE mode let's use the default behavior of display-buffer to display *xref* the same way as *grep* and *compilation* are displayed, i.e.: ------------ | | | | T | X | | | | ------------ or in narrow frames: ----- | T | |-----| | X | ----- One problem with xref is that currently it doesn't keep the *xref* buffer displayed all the time during the next-error navigation, and I don't understand why.