From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: xref and displaying locations in appropriate window or frame Date: Wed, 27 Jan 2016 19:08:44 +0100 Message-ID: <56A907AC.6000502@gmx.at> References: <83wprimto9.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> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1453918219 31899 80.91.229.3 (27 Jan 2016 18:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2016 18:10:19 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Dmitry Gutov , Ingo Lohmar , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 27 19:10:10 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 1aOUXU-0002JR-4N for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2016 19:09:56 +0100 Original-Received: from localhost ([::1]:51890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUXT-0003We-HD for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2016 13:09:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUWS-0002M5-RX for emacs-devel@gnu.org; Wed, 27 Jan 2016 13:08:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOUWR-00050k-Uz for emacs-devel@gnu.org; Wed, 27 Jan 2016 13:08:52 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:53588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUWO-0004zm-1w; Wed, 27 Jan 2016 13:08:48 -0500 Original-Received: from [192.168.1.100] ([212.95.7.51]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MLujU-1aRoRO3IKK-007j9R; Wed, 27 Jan 2016 19:08:46 +0100 In-Reply-To: <56A8FF6F.4020201@yandex.ru> X-Provags-ID: V03:K0:B23XtAv99LCyke70mDfADVBRSfvo1aKYLTOc7UdWfQWW4/Xmv4M 6Uo0uGHe3oPu4FOZQrx7nkjtU46OkP9l3i8CuTIcALtEPhmNYAnCUAfVa5898HocgMC3bGR D5pJEQE4A2hgcV95M23feribf+rlrMOV+hPa5V0Qtr/14V9FeJie8Qq+OMpKM1+V3bHl0LQ dbWkNKUkLFMF1L7R7/c+w== X-UI-Out-Filterresults: notjunk:1;V01:K0:yDZUE1sxIPo=:Dq1aZEJtKM6009HxOlhe6k b/F6DAKsQ4IRWd5XnfavpXdUBvJIbgYxYW14O4u/nQmmUtk8zsHstDG+Xqvb8QOGVP3n+Uz9d 18riipDRTpGnDSPqCRYtQcMV3dxYliTWLNae8ve2qCPgJpy7VWb3fbxf7byuepQFYEaub+jBu qbg1msqGgMw2gC/cbsjmGXg34sSNm+NfWU6AULkvne2LZJK3inuAauNetCeIKShetZAYe+uyB zl698DJFsdmGfr6WfyZferzZWEJ2kiD7qbsD4AqBk7jpMHtEjYV7ftpt7+ZerLW7oe92vctl4 5DcJFytYwWLIzafU01jMy1pmQgeT4qhfnMcyKh556hWdmljEQPSI/7hFxu/2Iskr2oLlcGPBz sxgrdXwnF+BQQmY6BJ4baOVayqKV9uL+hhNYSYb/aiDz42EQLdXcAXHf0TY3Q64MdvHBG7iRr f3DWd3Wn80+AHoeeTgOdygxjxkVGM0OMd/erLbH3ij5KlfrSKOIlB3KL0dps8+FITB1l4tabS Q9dNoOfMqfGUpB6LktqDxbfMhajFmEMPILQIyLh03k+eVZ0bpwk2ITHO55T01j/sQ6A1YdKxj X0SwXLH5VEKF/2wZIEw7+u+yBrX2IA9ftTbG/JQLTMyT18vZEDULK1zVc006WV24aaG2MVjYk 1SK7RtEhy1IWrAVp8BYErW8K7Sn+1aW+TR2Ikx2GvOM95hbtlzDzyaLR7I8UiDsAeFxxCoe/+ RNQxrBkMOvKt7l418vVyPwAXyfFgbwLAnRUQ8/i4drR7++zsNlfvkx5E/3KoKJEQI4nuW39m X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 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:198919 Archived-At: > I see. But that's an interesting comparison, because *completions* > only seems to use display-buffer-at-bottom when you're typing in the > minibuffer, but not when completion occurs in a file buffer. So It's > only used when *completions* would appear above the place you're > currently looking at. Juri's intention was to put it right above the minibuffer. But I proposed =E2=80=98display-buffer-at-bottom=E2=80=99 to you only because i= t already is in window.el. You can always write your own =E2=80=98display-buffer=E2=80= =99 action function and put it into xref.el or, if it's of more common use, into window.el. This way you can avoid all limitations. Just that when you display the target buffer, its window's size should somehow correspond to the expectations of the user. That's why in a split I would always try to make it as large as the original window. > IIRC, Intellij IDEA has added the capability to do side-by-side > splits, but they're not used by most users, and you can't split the > view window area anyway (and we can!). I hardly ever played around with IDEs so I wouldn't know. >> > Thus, a file search output will be just as wide, and one can't rea= lly >> > do better that display it in a full-width window as well at the >> > bottom. I'd say that would show too few lines, when my font of cho= ice >> > is used, but the IDEs seem to handle it fine somehow with their >> > defaults. >> >> Yes. Do you see any problems with that? > > IIUC, in Emacs it would require me to lower the font size to function > adequately, and that would negatively impact readability. Why can't you increase the window height? martin