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: Sat, 24 Sep 2016 21:06:07 +0200 Message-ID: <57E6CE9F.603@gmx.at> References: <57E39F4C.7010208@gmx.at> <83wpi3c8op.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 1474744029 3866 195.159.176.226 (24 Sep 2016 19:07:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 19:07:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 24 21:07:05 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 1bnsHq-00084k-43 for ged-emacs-devel@m.gmane.org; Sat, 24 Sep 2016 21:06:58 +0200 Original-Received: from localhost ([::1]:35252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsHq-0001M5-0Q for ged-emacs-devel@m.gmane.org; Sat, 24 Sep 2016 15:06:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsHB-0000p8-SJ for emacs-devel@gnu.org; Sat, 24 Sep 2016 15:06:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnsH7-0005mV-KM for emacs-devel@gnu.org; Sat, 24 Sep 2016 15:06:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:60233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnsH7-0005mE-A6; Sat, 24 Sep 2016 15:06:13 -0400 Original-Received: from [192.168.1.100] ([212.95.7.65]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M9NIY-1bfe022NOI-00Cg9S; Sat, 24 Sep 2016 21:06:12 +0200 In-Reply-To: <83wpi3c8op.fsf@gnu.org> X-Provags-ID: V03:K0:tCxph6LwBebeEoAwgLDCfpxzNtEq3YJUurvxaUZSqFFP0JebHPS xKgbdu/7lgk2HNTqmchFOeZd08lUtuIpboayV8SA4rvA/uTuIDX3FWml8iBPeuYbHw432Zh StQBhYH9hiU8ubNk37zbTznyCdVj+1b2gDb1K94rVHbN/X7CHhoXN7XrA3tWait9znS5cG0 dj9CJuDuQE8Gs8e7GNaSA== X-UI-Out-Filterresults: notjunk:1;V01:K0:vLiZ9Jku2hs=:PiE1RBYGglTzsndUgYrMrO c/3c2gVI0AC/YjIpJjXiQ4MMxQ0iyqPEMJFv0YTk5TTsl7MlFisk+f8Ca1zngmA4kaO97f4wK CgJVFO1Kvd/bCbv62WUKJUZ8kaRlf0Tppzd8cVbzQ9uwpbIXJv2COOiMh0O3SQTcLIyGeMkpu 2htVZDUo/RG8vTiPCGk5hfBTbpwWA3Kzz7AdW5IglIgIi4zld4upEAeJjDv5P0nDVNUaWyyU4 nH5+L7Tt78gSRbKCjFFs9hf5ZfSzzV5Hf59RDzSfDve1uKGXfZzEfPnEOdD7M1jfH5x59UiB0 tMsr2GvjJvb+SX8HQSdYcyx3i8X/j0jw0PxqEX/bfatbsbH2PaglGiusG2UUrRzXz8+VPhF3Z fSJMJ+l5uCU+L9Mpiw3lGfyOEY4GhI8PeWp6Wita31MrfKLLoYRfMGBwPWQGdzIxkp7JSATwC WoeHmfh2O7jjO7+iGmzEStEBYGS0MUAcFH+bXt1VtYuuCgeWXvRY45cj66WUyJ6pQFGiv311v MFl/y0eJDF4FVwj6dCAwXfEH7VD073M17W8szP8e2mbpSGsDtUHsd7zuP5CAeaaaxmZXChyKM 8P6JSubKBp38MjaULrUtoL7fBpOpxEAQD64HW95PUkEfYOLIc/vermO5hlCyus+X3AeU11ezj 4gwIAJ5M66ZVKr7HNV5Bs9Uh13/PPT0Spe9l2McvTGPRZ1BMPNRNMFCRy4vYtFbIt9125ptJ9 gkzGMP1eEfdPTE+MVg5MvAVrYV/clUbOQEiuzuBP3tj9u/DHoJ6Ex2ibE/sSPPsD+i0KMwRQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 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:207759 Archived-At: > A question: would it make sense to invert the meaning of the 'slot' > parameter when the main window shows a buffer whose > bidi-paragraph-direction is right-to-left? The idea is that when the > main window shows R2L text, the entire geometry of the window > arrangement should switch direction, at least optionally, otherwise > applications that want that will have to include tedious code to > recompute the slots on the fly. Suppose the main window shows a left-to-right buffer and we have two bottom side windows. Switching to a right-to-left buffer in the main window would now mean to exchange the buffers shown in the side windows. We would also have to renumber these windows, resize them maybe, exchange their parameters and some of those properties stored in window configurations. And we would have to adjust all overlays with a `window' property in those windows. It's certainly possible to do all that but it's not entirely trivial. Personally, I think that such layout decisions should be made before the first side window is created. I doubt that you change the menubar layout whenever you switch `bidi-paragraph-direction'. So some variable =E2=80=98bidi-default-direction=E2=80=99 would be much simpler to handle = (with the obvious deficiency that you can't change the layout on-the-fly when you set that variable). But in practice I never work with bidirectional text so I can't really tell. martin