From: Dmitry Gutov <dgutov@yandex.ru>
To: martin rudalics <rudalics@gmx.at>
Cc: 16017@debbugs.gnu.org
Subject: bug#16017: 24.3.50; windmove is broken
Date: Wed, 04 Dec 2013 02:58:24 +0200 [thread overview]
Message-ID: <529E7E30.3080400@yandex.ru> (raw)
In-Reply-To: <529DC417.1080806@gmx.at>
On 03.12.2013 13:44, martin rudalics wrote:
> IIUC the bug happens only in a window whose subwindow does not have an
> integral number of lines like in a maximized frame. Is that correct?
Seems so. On my machine, the problem is there when the window is
maximized (and the frame has non-integral number of lines), but
disappears when Emacs is in fullscreen mode, without window borders and
everything (then the frame height looks evenly divisible by line height).
> In the long run I'd like to use `window-in-direction' here because it
> doesn't suffer this problem. Meanwhile I can offer the attached patch
> (although I'm not sure whether it is really better than customizing
> `windmove-window-distance-delta').
The patch works, except it doesn't let me move to the minibuffer window
when it's active, and doesn't say so when the minibuffer is inactive
(and it should, according to `windmove-do-window-select'). Changing the
value of `windmove-window-distance-delta' doesn't help with it either,
so looks like the patch is indeed equivalent to that.
> BTW: If you want to test `window-in-direction' directly you can try the
> following instead:
Thank you, this is better. The minibuffer is selectable this way, and
other cases of window navigation work, too.
The "no window there" feedback is non-existent (error "Wrong type
argument: window-live-p, nil"), but that's to be expected, I guess.
next prev parent reply other threads:[~2013-12-04 0:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-01 1:52 bug#16017: 24.3.50; windmove is broken Dmitry Gutov
2013-12-02 7:38 ` martin rudalics
2013-12-02 10:29 ` Dmitry Gutov
2013-12-02 14:38 ` Stefan Monnier
2013-12-02 18:16 ` martin rudalics
2013-12-02 18:16 ` martin rudalics
2013-12-02 19:05 ` Dmitry Gutov
2013-12-03 11:44 ` martin rudalics
2013-12-04 0:58 ` Dmitry Gutov [this message]
2013-12-04 14:31 ` martin rudalics
2013-12-04 22:13 ` Dmitry Gutov
2013-12-05 6:59 ` martin rudalics
2013-12-05 10:53 ` Dmitry Gutov
2013-12-13 17:23 ` martin rudalics
2013-12-15 13:49 ` Dmitry Gutov
2013-12-16 10:13 ` martin rudalics
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=529E7E30.3080400@yandex.ru \
--to=dgutov@yandex.ru \
--cc=16017@debbugs.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 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.