all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>
Cc: occitan@esperanto.org, 12419@debbugs.gnu.org
Subject: bug#12419: Mouse click changes layout
Date: Fri, 14 Sep 2012 09:18:04 -0700	[thread overview]
Message-ID: <A164333AA4FC467AA8955A90212564E1@us.oracle.com> (raw)
In-Reply-To: <5053485E.70801@gmx.at>

>  >> When dragging a divider, windows are resized asymmetrically,
>  >> that is we enlarge only the window we drag away from and
>  >> shrink the windows on the other side.
>  >
>  > That sounds normal, but what is the alternative - how 
>  > could it be otherwise?
> 
> That all windows on the other side get resized proportionally.

How is that different from "shrink the windows on the other side"?  I'm guessing
that shrink them, but not proportionately?

>  >> Asymmetric resizing is not reversible, that is, dragging the
>  >> divider back by the same amount will not necessarily reproduce the
>  >> inital configuration.
>  >
>  > I don't think that is what I see.  But I guess I don't 
>  > understand what you're saying.  Can you give an example,
>  > and contrast what happens in earlier Emacs releases?
> 
> Try with three windows above each other and drag one
> modeline until both windows in the direction you drag to
> are at their minimum height.  Then drag the divider back.
> The outermost window is not sized back.

I see.  In previous releases when you drag one mode line, only the adjacent
window shrinks.  And that corresponds exactly (AFAICT) to the opposite action of
dragging the mode line back again.  So previously the opposite drag action was
symmetric to the initial drag action.  Now it is not.

Can we (and then should we) make this change in behavior optional (for the
user)?

> Now set `resize-mini-windows' to nil and drag the bottom modeline.  
> All windows get resized proportionally in both directions.

Not with a standalone minibuffer frame.  At least I see no change in behavior,
whatever the value of `resize-mini-windows'.

> In Emacs 23.3 automatically resizing the minibuffer resizes the lowest
> window first.  That's what people want.  But IIRC this 
> doesn't work with `resize-mini-windows' t and `resize-mini-windows'
> nil doesn't work when the lowest window is at its minimum height.

OK, thanks for the explanation.

Consider proposing something for emacs-devel to discuss.  Was the change in
behavior from Emacs 23 to 24 (the change made so far) ever discussed?

Personally I don't care much, since I don't split windows that much.  But this
sounds like something that affects lots of users, and perhaps there should be
some discussion about it.






  reply	other threads:[~2012-09-14 16:18 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 22:04 bug#12419: Mouse click changes layout Daniel Pfeiffer
2012-09-12  2:59 ` Eli Zaretskii
2012-09-12  8:09 ` martin rudalics
2012-09-13 20:41   ` Daniel Pfeiffer
2012-09-14  9:00     ` martin rudalics
2012-09-14 10:36       ` Eli Zaretskii
2012-09-14 13:38         ` martin rudalics
2012-09-14 14:10           ` Drew Adams
2012-09-14 15:08             ` martin rudalics
2012-09-14 16:18               ` Drew Adams [this message]
2012-09-14 19:14                 ` martin rudalics
2012-09-14 19:40                   ` Drew Adams
2012-09-15  9:51                     ` martin rudalics
2012-09-15 10:31                       ` martin rudalics
2012-09-14 14:53           ` Eli Zaretskii
2012-09-14 15:16             ` martin rudalics
2012-09-14 16:20               ` Drew Adams
2012-09-14 19:14                 ` martin rudalics
2012-09-14 16:56               ` Eli Zaretskii
2012-09-14 19:15                 ` martin rudalics
2012-09-14 20:16                   ` Eli Zaretskii
2012-09-15  9:54                     ` martin rudalics
2012-09-15 10:23                       ` Eli Zaretskii
2012-09-15 10:39                         ` martin rudalics
2012-09-15 11:14                           ` Eli Zaretskii
2012-09-15 12:44                             ` martin rudalics
2012-09-15 13:35                               ` Eli Zaretskii
2012-09-15 14:34                                 ` martin rudalics
2012-09-14 15:45             ` Stefan Monnier
2012-09-14 19:14               ` martin rudalics
2012-09-14 19:56                 ` Stefan Monnier
2012-09-15  9:51                   ` martin rudalics
     [not found]       ` <5055D769.1060804@t-online.de>
2012-09-16 17:45         ` martin rudalics
2012-09-22 20:29           ` Daniel Pfeiffer
2012-09-23  9:21             ` martin rudalics
2012-09-23 21:56               ` Daniel Pfeiffer
2012-09-24  8:17                 ` martin rudalics
2012-09-24 14:33                   ` Eli Zaretskii
2012-09-25  9:58                     ` martin rudalics
2012-09-25 12:09                       ` Eli Zaretskii
2012-09-25 14:12                         ` martin rudalics
2012-09-26  8:22                           ` Eli Zaretskii
2012-09-26 11:03                             ` martin rudalics
2012-09-26 11:55                               ` Eli Zaretskii
2012-09-26 12:43                                 ` martin rudalics
2012-09-26 13:17                                   ` Eli Zaretskii
2012-09-26 13:44                                     ` martin rudalics
2012-09-26 13:57                                       ` Eli Zaretskii
2012-09-24 22:20                   ` Daniel Pfeiffer
2012-09-25  6:32                     ` Eli Zaretskii
2012-09-25  9:58                     ` martin rudalics
2020-09-13 17:06               ` Lars Ingebrigtsen
2020-12-07 16:43                 ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=A164333AA4FC467AA8955A90212564E1@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=12419@debbugs.gnu.org \
    --cc=occitan@esperanto.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.