Subject: Re: bug#32790: 27.0.50; point jumps unexpectedly after delete-window

From: Juri Linkov <[email-masked]>
Date: Sat, 10 Nov 2018 23:25:22 +0200

>>   If no window is at the desired location, an error is signaled
>>   unless `windmove-create-window' is non-nil that creates a new window."
>
> Maybe we should write "unless `windmove-create-window' is non-nil and
> a new window is created." here.  Also, in 'windmove-do-window-select'
> I'd write "If `windmove-create-window' is non-nil, try to create a new
> window in direction DIR instead." in the doc-string.

OK, I'll fix this in the next commit.

BTW, please note a nice feature that when `windmove-create-window'
is non-nil, then the Meta-modifier is not necessary, i.e.
these key sequences should provide the equivalent result:

M-S-right M-.
  S-right M-.

because S-right will create a new window in that direction
before M-. is invoked in that manually created window
(when S-right is bound to windmove-right, and M-S-right
to windmove-display-right).