unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 3949@emacsbugs.donarmstrong.com
Subject: bug#3949: 23.1.50; C-x 0 should go to a sister window if possible
Date: Mon, 27 Jul 2009 20:49:03 +0200	[thread overview]
Message-ID: <e01d8a50907271149u41879082s8d24952dfa3284d3@mail.gmail.com> (raw)
In-Reply-To: <4A6DEC54.9070406@gmx.at>

On Mon, Jul 27, 2009 at 8:05 PM, martin rudalics<rudalics@gmx.at> wrote:
>> I can't think of any situation where I do not want that.
>
> I suppose you refer to configurations like
>
>  -------
> | 1 | 2 |
> |-------|
> |   3   |
>  -------
>
> and you do C-x 0 in 1 ending up in 3

This is the case I that I find surprising. And I can't figure out what
the algorithm is - it does not go to the previous window. At least not
after

   C-x 1
   C-x 3
   windmove-right
   C-x 2
   windmove-down
   C-x 0

For me it stops in the left window, not the right as I expect.


> or in 3 ending up in 2.

In this case the current default (which I suppose is going to the
previous window ...) should be fine.


> It happens because `delete-window' selects the previous window of the
> selected one which is usually also the one that gets enlarged.  You'd
> probably prefer C-x 0 in 1 end up in 2 and when in 3 end up in 1.  This
> could be done but I'm not sure whether this was a great annoyance over
> the years in order to warrant such a change.
>
> martin
>





  reply	other threads:[~2009-07-27 18:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27 16:42 bug#3949: 23.1.50; C-x 0 should go to a sister window if possible Lennart Borgman
2009-07-27 18:05 ` martin rudalics
2009-07-27 18:49   ` Lennart Borgman [this message]
2009-07-28  7:39     ` martin rudalics
2009-08-01 13:12       ` martin rudalics
2011-09-05  8:38 ` martin rudalics
2011-09-05 12:36   ` Lennart Borgman

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=e01d8a50907271149u41879082s8d24952dfa3284d3@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=3949@emacsbugs.donarmstrong.com \
    --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).