From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Side Windows Date: Wed, 05 Oct 2016 10:39:38 +0200 Message-ID: <57F4BC4A.1050009@gmx.at> References: <57E39F4C.7010208@gmx.at> <83wpi3c8op.fsf@gnu.org> <57E6CE9F.603@gmx.at> <83k2e1ayk0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475656847 11534 195.159.176.226 (5 Oct 2016 08:40:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 08:40:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 10:40:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brhkb-0000mH-04 for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 10:40:29 +0200 Original-Received: from localhost ([::1]:47188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brhkZ-0003Uf-FP for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2016 04:40:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brhk2-0003UP-Qv for emacs-devel@gnu.org; Wed, 05 Oct 2016 04:39:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brhjy-00006p-MC for emacs-devel@gnu.org; Wed, 05 Oct 2016 04:39:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:60466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brhjy-00006h-C1; Wed, 05 Oct 2016 04:39:50 -0400 Original-Received: from [192.168.1.100] ([212.95.7.43]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LomuB-1bGyLP04y3-00gsrO; Wed, 05 Oct 2016 10:39:48 +0200 In-Reply-To: <83k2e1ayk0.fsf@gnu.org> X-Provags-ID: V03:K0:wCxajCkhRfyWWUtoju2UZuWP6P5mLHN5FPMCFwSSeDyO41w79q3 ACa/vj++OMmQMMX50upl4i0/YiIBoSxU1H6yWgmz7aHE+nU82nzILvOpAsHOPIydP19F7k8 GdEYtKmE+KcGJdMapoRFMNbfXFzAlGY3QQc9qIs+bmzZ+AadOAeFukVf4xeX/F8FdaWl7X1 Y6tObp6B2p04EIv5beZtg== X-UI-Out-Filterresults: notjunk:1;V01:K0:aASsFej5BGc=:MZlXGK2QEgD70dL0YAFC6b 6EsJon9tQsWvzjMiNKlGqnR/4IXuU47w5GVHexGvUKEpenXnnLvxRKNyeXJhP276CZO///k4A lNEefWtYfbTByAl1u9r+6c4MQmTRTsSFIV4DzLR40mUTD/qtV6HiVDO8HE8b3LRAEhr1SjU/c rcxNbHgD6TWAqos8QN5d+EWd12+/9odL47Jy0SShh0pFUrWqmoB6NjDKDz+KDoFaTEeWy6auJ VLuBwG9IIAiqWRy6O49C3v+pWR0xteUqwqfoEe9CA+dDeKUOO/cUhX2C54q/ZZ1ps5BFRigOL 2sQhnyERZSEX4kurmHswzaegBvM7PNszrPfcqSerSrmYyNMCms5zE0JfFAZlKTkfpweaBXJp2 OwV4s28RoXsTDbGM0HYKc/oyFqeQf2EngqaJkehYgqK/hAHZvdKW2e2CplTwsyY3b4sTvanvg zkrvwUn1CX72+Az3nYkw4xd2WM0rN5q+stGRYSRBEKHx6kof+WtBlae71q0ssnrSMzZkZlfYc BksgwyvPgMOxRjtdhAIblXZvuK2B48ircLwHdXKRKnoDp2KBoXtdMSL8XQRt+67SWU4/95zab mgSAvhsxmlfTgoztt30gomQwbEvNoKq4Lr9YuYsqXWpwM23PutBPlgcxDiybIMIKGpbCPcL6f jSj39dkZVeCENKaZNOG2FKznCN9o7P1LueIVeGsTpsKBVGnL9GYBxeyN/q7I01YpdhXSe1uc4 UxAjeb1pqp5S9qo7VxAf3Oar8yvyZioNNR9R60/dWK2NKlPZa5YL5ZKVMzIl9xm4b11aD9wN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:207994 Archived-At: >> Personally, I think that such layout decisions should be made before = the >> first side window is created. > > That might be impossible in the general case, because the same window > arrangement could be used for displaying buffers of different > directions. One example is an email client that shows messages in the= > main window. I now committed my changes. The option to change the direction of side windows is called `window-sides-reversed' and allows to change the direction permanently or have it depend on the frame's main window. >> I doubt that you change the menubar layout whenever you switch >> `bidi-paragraph-direction'. > > Some applications out there actually do that. Emacs doesn't, but only= > because I deliberately decided it wasn't TRT (there's a FIXME comment > about that in the sources). Menu bars are different, because they are= > not really associated with any particular window, they are associated > with a frame. Well, the situation with side windows is not that much different. You could change the menubar layout whenever the selected (non-minibuffer) window or all windows on a frame show right-to-left text. > I think we should at least allow for such a behavior as an option. Please test the new option. As a side effect I also added a completely new command =E2=80=98window-swap-states=E2=80=99 which could be of genera= l use. martin