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: Wed, 27 Jan 2016 21:35:40 +0300 Message-ID: <56A90DFC.8020208@yandex.ru> 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> <56A907AC.6000502@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1453919774 26916 80.91.229.3 (27 Jan 2016 18:36:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2016 18:36:14 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: martin rudalics , Ingo Lohmar , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 27 19:36:05 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 1aOUwY-0008CR-Bd for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2016 19:35:50 +0100 Original-Received: from localhost ([::1]:52021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUwX-0003G3-Of for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2016 13:35:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUwT-0003DT-UU for emacs-devel@gnu.org; Wed, 27 Jan 2016 13:35:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOUwQ-0003Y9-Nj for emacs-devel@gnu.org; Wed, 27 Jan 2016 13:35:45 -0500 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:36542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOUwQ-0003Y5-FR; Wed, 27 Jan 2016 13:35:42 -0500 Original-Received: by mail-lf0-x236.google.com with SMTP id h129so12135149lfh.3; Wed, 27 Jan 2016 10:35:42 -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=obGHR+i9hyyqpjNcdtWGkELLIGV6PoqoFBwTkvr1mbU=; b=uBnB+g66C7IN6E9hdl+RC429EQbFV1eiT/O89Bz8iY59Wugf4h7pJU3ue+nwfPtzWV w2YP+VMzURfiWW7AKTUtv2Wmc6SYqagoaSciQpJ95q7hNfMrVlTWsvaAzQso80w+/BVF f7M7MrBUYh1Eo3y2ckjSZi1z0LNeT1BbRIehmMD8Wf8UfUKcrimNrjc3FvCfLLZP+GVR LKbNaneZhZPstO8eLzXKc470xps8I8F15oIvFKGbiz3tvtsyO6Ro3ocRTBcV3r0vEBST mCtf8Ly357CsHSfXgusV9fHWcRB5UzxOaR+idL4f5ga7ApXIaGwKvf4iVLmJN+yoo7rg T7+w== 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=obGHR+i9hyyqpjNcdtWGkELLIGV6PoqoFBwTkvr1mbU=; b=OkzcaPtwe7GbHnfXWquT4aTPdya/PSHuydYjhf4vIIW4X54tWWW3fcJDUgPlpkjnG8 4e5c0l2MWqLv+XjmUS6pJUDjD7jrdiRkZ51dIKhDa6tSGubCFyiwZB2eI5VlV4bDasCw qFbRylOyNS3YEIjOkdBhd8nVRtIfoFSXZJQnKsHSW+ccsqbgsFwXSazyadEOtJtap3+w tHYARC4xPptyXoJRq17aCvUVPmgYxILVcYSlOlIL9kmYZdIARDeLWHyb4I5SApGVNI04 CBfnM1ryBQx26Dhl3+PLjgYwdzvWQFIESBQ5ePiGw7Ve7qgIRSvRlPOsjRwg287F/zOa al3A== X-Gm-Message-State: AG10YOTuveB5Wa5sVSbBmI6NMKxGg5wf51XFOdRikZnp+h0i9CSB5aR/ab0qjqXEagMe6g== X-Received: by 10.25.213.134 with SMTP id m128mr11499021lfg.87.1453919741668; Wed, 27 Jan 2016 10:35:41 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id rk1sm955963lbb.0.2016.01.27.10.35.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Jan 2016 10:35:40 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <56A907AC.6000502@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 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:198921 Archived-At: On 01/27/2016 09:08 PM, martin rudalics wrote: > Juri's intention was to put it right above the minibuffer. But I > proposed ‘display-buffer-at-bottom’ to you only because it already is > in window.el. You can always write your own ‘display-buffer’ 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. display-buffer-at-bottom looks adequate for its purpose. I'm only pointing out that *completions* is very rarely _below_ where you are. I don't want to write my own action because it'll just be another piece of logic behaving differently from the rest. Hardly a beneficial thing. > > 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? If we're emulating an IDE, though, the standard is to default to ~30% of the frame height, or less. The user might change the height, but even so, they're unlikely to increase it above 50% of the frame height, and in doing that, they'll cut the height of all file-visiting windows by half.