From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: windmove and the minibuffer Date: Sat, 31 May 2003 20:10:05 -0400 (EDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87d6i5oas9.fsf@gnu.org> <200305282011.h4SKBdc17953@eel.dms.auburn.edu> <200305312316.h4VNGnB22169@eel.dms.auburn.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054426263 15011 80.91.224.249 (1 Jun 2003 00:11:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2003 00:11:03 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 01 02:10:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19MGR6-0003tN-00 for ; Sun, 01 Jun 2003 02:10:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19MGgy-00015x-00 for ; Sun, 01 Jun 2003 02:27:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MGT2-0006Vj-15 for emacs-devel@quimby.gnus.org; Sat, 31 May 2003 20:12:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19MGSZ-0005pZ-Fd for emacs-devel@gnu.org; Sat, 31 May 2003 20:12:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19MGS9-0004O7-Jr for emacs-devel@gnu.org; Sat, 31 May 2003 20:12:02 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MGRe-0003fm-Sy for emacs-devel@gnu.org; Sat, 31 May 2003 20:11:31 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Sat, 31 May 2003 20:10:05 -0400 (EDT) Original-To: emacs-devel@gnu.org In-reply-to: <200305312316.h4VNGnB22169@eel.dms.auburn.edu> (message from Luc Teirlinck on Sat, 31 May 2003 18:16:49 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14538 Luc Teirlinck asked about a bug concerning windmove and the minibuffer. I see the bug. I invoked Emacs like this: /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)' Then: M-x scroll-bar-mode M-x fringe-mode M-x tool-bar-mode M-x menu-bar-mode (coordinates-in-window-p '(0 . 0) (selected-window)) should not return nil. But it does, at least on GNU/Linux. RMS writes: It returned (0 . 0) when I tried it. Luc Teirlinck writes: Still returns nil for me in freshly updated CVS Emacs. And I got nil, too, in freshly updated CVS Emacs. Today's CVS snapshot, Sun, 2003 May 31 20:36 UTC GNU Emacs 21.3.50.68 (i686-pc-linux-gnu, X toolkit) with a Linux kernel started with: /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)' Luc Teirlinck asks: Can you reproduce Alex's original bug: Run emacs -q (require 'windmove) M-x windmove-default-keybindings (After loading windmove, of course.) C-x C-f (you should be in the minibuffer, now) S-up (you should be in *scratch*, now) S-down (I am still in *scratch*, even though I want to be in the minibuffer) Yes, I just reproduced that exactly. ... which return values do you get .... Here they are: (window-at 0 15)nil (window-at 1 (window-height))# (window-at 0 (window-height))nil (window-at 1 (1+ (window-height)))# (emacs-version)"GNU Emacs 21.3.50.68 (i686-pc-linux-gnu, X toolkit) of 2003-05-31 on benthic.rattlesnake.com" -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com