unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Side Windows
Date: Wed, 05 Oct 2016 13:35:17 +0300	[thread overview]
Message-ID: <83r37vkrru.fsf@gnu.org> (raw)
In-Reply-To: <57F4BC4A.1050009@gmx.at> (message from martin rudalics on Wed, 05 Oct 2016 10:39:38 +0200)

> Date: Wed, 05 Oct 2016 10:39:38 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: emacs-devel@gnu.org
> 
>  >> 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.

Thank you!

>  >> 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.

It could be similar or different, depending on the application.

> You could change the menubar layout whenever the selected
> (non-minibuffer) window or all windows on a frame show right-to-left
> text.

That causes an annoying direction switches.

When I worked on bidi, I decided to postpone changing the
directionality of the menu bar and tool bar until such time as we have
infrastructure to display their labels in languages other than
English.  IMO, having the menu/tool bar displayed R2L only makes sense
when the labels are in R2L script.

>  > 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.

Thanks, I will, but it might take some time until I get to that.  Too
many things on my plate right now.



  reply	other threads:[~2016-10-05 10:35 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22  9:07 Side Windows martin rudalics
2016-09-22 20:54 ` Juri Linkov
2016-09-24 19:05   ` martin rudalics
2016-09-23  8:38 ` Eli Zaretskii
2016-09-23  9:14   ` Eli Zaretskii
2016-09-24 19:06   ` martin rudalics
2016-09-24 19:27     ` Eli Zaretskii
2016-10-05  8:39       ` martin rudalics
2016-10-05 10:35         ` Eli Zaretskii [this message]
2016-10-05 13:13         ` Eli Zaretskii
2016-10-05 14:20           ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2016-10-05 10:26 Angelo Graziosi
2016-10-05 10:51 ` Eli Zaretskii
2016-10-05 11:01   ` Angelo Graziosi
2016-10-05 11:24     ` Kaushal Modi
2016-10-05 13:03     ` Eli Zaretskii
2016-10-05 10:25 Angelo Graziosi
2010-04-13 19:53 Gtk tabs in emacs, new branch grischka
2010-04-13 23:31 ` Side windows (was: Gtk tabs in emacs, new branch.) Juri Linkov
2010-04-14  3:18   ` Eli Zaretskii
2010-04-14 15:24     ` Side windows Jason Rumney
2010-04-14 16:52       ` Juri Linkov
2010-04-14 18:19         ` Eli Zaretskii
2010-04-14 23:54           ` Juri Linkov
2010-04-15  3:18             ` Eli Zaretskii
2010-04-15 23:46               ` Juri Linkov
2010-04-16  6:33                 ` Eli Zaretskii
2010-04-14  5:15   ` Jan Djärv
2010-04-16 14:03   ` grischka
2010-04-16 20:48     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r37vkrru.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).