[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Side Windows
From: |
martin rudalics |
Subject: |
Re: Side Windows |
Date: |
Wed, 05 Oct 2016 10:39:38 +0200 |
>> 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 ‘window-swap-states’ which could be of general use.
martin
- Re: Side Windows,
martin rudalics <=
- Re: Side Windows, Angelo Graziosi, 2016/10/05