From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ingo Lohmar Newsgroups: gmane.emacs.devel Subject: Re: xref and displaying locations in appropriate window or frame Date: Mon, 25 Jan 2016 20:28:02 +0100 Message-ID: <87fuxla27x.fsf@acer.localhost.com> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453750131 9743 80.91.229.3 (25 Jan 2016 19:28:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jan 2016 19:28:51 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: martin rudalics , Dmitry Gutov , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 25 20:28:33 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 1aNmoS-0007lC-R9 for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 20:28:32 +0100 Original-Received: from localhost ([::1]:40458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNmoS-0004C5-6T for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 14:28:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNmo9-000493-Ae for emacs-devel@gnu.org; Mon, 25 Jan 2016 14:28:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNmo8-0006aY-9W for emacs-devel@gnu.org; Mon, 25 Jan 2016 14:28:13 -0500 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:33977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNmo2-0006a0-Hf; Mon, 25 Jan 2016 14:28:06 -0500 Original-Received: by mail-wm0-x229.google.com with SMTP id u188so79263669wmu.1; Mon, 25 Jan 2016 11:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=75gC32LmEB1cUN1H5dT1KlFujB6jn+xULC812lucreY=; b=NA7aXpva9wLOTjgBwOc+JYQEb90rB++E89ADAt5stb/LQP64+V8vk3CDl9L/ENpI3j qitO9pzs+Ah3XuqM8cvar2OsPZnfKyKSB98zCtkKguOUQU+7oMFlTl44IsVQKyPUebw0 19m3y7ourgQpRUROU/em39kLIMVJFBfSK7KmSWIXtvTCmc/R/g45TaCqqvfi5/FJ9ETX mtpL4MYsrnTcP5ACVXajKEybfWqdDgRmpndM2DevYJgUL+enGqb+ZNVpQUlaf8KeolAZ eXye0Y3PBCAw4DcgiHN1J/B5KYp1/ytq7YHndMnLTSkgK2SJfqRDS8eeaNQu051sSlrQ CwwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=75gC32LmEB1cUN1H5dT1KlFujB6jn+xULC812lucreY=; b=PfRE3DYqEArLR52GI6VGG7XifiSi9ChjrinQvolxwzciaxWBlAOZeVpUSen0RqC7gz fA/HubsaOhO2q/hGQbhXa+XSrh9gTtmvaYEmMet6I/qpBCl54XTDZVWxMQulufsgpAjl jntcGkL51CUzcdg3cz+t8dbx6AVqqOXdnDUQzT+WTvJmcwy5/LF3/1NlgfTxkSPxkQlJ oFYRgY7BJoPUAAvl1awTWEsrZlxK5vF19RMiSkGL4ihxlnGtOIXmAjfTfMqFePDnUVox WRkQ5cI94Yj50wBLmfsOYquemHLf4TP51OcytEk7Ia2KWqjJdjfhcLhr8kBxtxDFhH9M YEuQ== X-Gm-Message-State: AG10YORy2Zm47y2GBqV647JvxLUvWgd73rZBKBpoc64T4Ek89meBFdoqgLDvxoqeMwOwag== X-Received: by 10.28.230.74 with SMTP id d71mr19099789wmh.97.1453750085552; Mon, 25 Jan 2016 11:28:05 -0800 (PST) Original-Received: from localhost (xdsl-87-79-231-187.netcologne.de. [87.79.231.187]) by smtp.gmail.com with ESMTPSA id u4sm20508806wjz.4.2016.01.25.11.28.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2016 11:28:04 -0800 (PST) In-Reply-To: <56A666FB.3080709@gmx.at> User-Agent: Notmuch/0.20.2+113~g6332e6e (http://notmuchmail.org) Emacs/25.0.50.6 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 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:198805 Archived-At: This is an important discussion, and unfortunately I currently have too little time left to follow the details. So feel free to ignore this message if it's besides the point. But anyway... On Mon, Jan 25 2016 19:18 (+0100), martin rudalics wrote: > > ------------ > > | O | X | > > | |------| > > | | | > > | | T | > > ------------ > This is no good layout for IDEs. Source/code windows like O and T > should always form a rectangle. Auxiliary windows like X should be > arranged around that rectangle. FWIW, I love the overall direction of extending Emacs' IDE-related facilities, *but* I do not think that it should strive to emulate all their behavior, particularly not in this respect. AFAICT, you have not given any argument for *why* these should be guidelines for a window layout, except that IDEs do it that way. I regularly curse at the braindead window management of any IDE I have had to work with so far. Emacs shines in the flexibility with which I can use all its features the way *I* want, and with the window layout I deem suitable. And for me, that's literally *never* a rectangular area for source files. In the above example, I find the displayed window layout not only acceptable, but perfectly fine, just like ------------ | T | X | | |------| | | | | | O | ------------ would be fine for me (not as a result of the described workflow, but as a layout resulting from any kind of workflow). I think that it would be more useful if the present elaborate window management would become more accessible (maybe it's only a matter of documentation and a few variable settings) to fix a certain layout (or layout-related guidelines like you described) *should the user want that*. Wouldn't this eliminate most of the need to code such decisions into very general features like xref? Ingo