From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#16017: 24.3.50; windmove is broken Date: Wed, 04 Dec 2013 02:58:24 +0200 Message-ID: <529E7E30.3080400@yandex.ru> References: <87bo1172xf.fsf@yandex.ru> <529C38E4.1020305@gmx.at> <529C60FE.9030903@yandex.ru> <529CCE6A.90908@gmx.at> <529CD9F0.3000403@yandex.ru> <529DC417.1080806@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386118761 5354 80.91.229.3 (4 Dec 2013 00:59:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2013 00:59:21 +0000 (UTC) Cc: 16017@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 04 01:59:26 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vo0oH-0007Cp-CC for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 01:59:25 +0100 Original-Received: from localhost ([::1]:45703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo0oH-0006g4-1r for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 19:59:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo0o2-0006QE-FZ for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 19:59:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vo0nv-0005hj-4p for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 19:59:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo0nv-0005hf-0b for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 19:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vo0nu-0001hV-Fa for bug-gnu-emacs@gnu.org; Tue, 03 Dec 2013 19:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2013 00:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16017-submit@debbugs.gnu.org id=B16017.13861187126494 (code B ref 16017); Wed, 04 Dec 2013 00:59:02 +0000 Original-Received: (at 16017) by debbugs.gnu.org; 4 Dec 2013 00:58:32 +0000 Original-Received: from localhost ([127.0.0.1]:57008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vo0nP-0001gf-V6 for submit@debbugs.gnu.org; Tue, 03 Dec 2013 19:58:32 -0500 Original-Received: from mail-wg0-f52.google.com ([74.125.82.52]:34912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vo0nM-0001gW-Qt for 16017@debbugs.gnu.org; Tue, 03 Dec 2013 19:58:29 -0500 Original-Received: by mail-wg0-f52.google.com with SMTP id x13so14329118wgg.31 for <16017@debbugs.gnu.org>; Tue, 03 Dec 2013 16:58:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OFpsRhrAi9cTWCvGCOj+EMVsBOEHzFcAfXGrPOhoOlw=; b=ZWqASlOsPho3oMev2kfV73XkOcwDTK/JoakXqeOhSleFX1n92r3QhNd+PLnhU/a5uN mxSiB8ESvdIwqk6S50/HgnqQEfCK/rhOuB4T/EwLN05279Du4NnBsmLSI2F7aFX443hs K3TytBbZ89e/+051ujvUORpmkxZS0Zhs43UriIlUoVcRTeMlZ4QYYsoIa6qjfqBlpj3c Wl9g4ov79h4zxUOeRYdmxOcBGi+MQDqT4thqr2GY2pUtsyT12bcle7vivcnn1i8pI8QV HxWVenML7tfrWahtJb5VgUXmyiPnPDkR3mQaRuyynRPiZshBegMbQfZuFnYQqQuA4GHm ojSQ== X-Received: by 10.180.93.8 with SMTP id cq8mr4986912wib.38.1386118707769; Tue, 03 Dec 2013 16:58:27 -0800 (PST) Original-Received: from [192.168.10.2] ([62.228.136.233]) by mx.google.com with ESMTPSA id e10sm1922323wiy.7.2013.12.03.16.58.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 16:58:26 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <529DC417.1080806@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81342 Archived-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.