From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: windmove and the minibuffer Date: Sun, 1 Jun 2003 08:36:22 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200306011336.h51DaMk22696@eel.dms.auburn.edu> References: <87d6i5oas9.fsf@gnu.org> <200305281927.h4SJRZo17911@eel.dms.auburn.edu> <200305282011.h4SKBdc17953@eel.dms.auburn.edu> <87u1bab30b.fsf@gnu.org> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054474628 10407 80.91.224.249 (1 Jun 2003 13:37:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2003 13:37:08 +0000 (UTC) Cc: jmbarranquero@laley.wke.es Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 01 15:37:06 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 19MT1G-0002hj-00 for ; Sun, 01 Jun 2003 15:37:06 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19MTHO-0002C0-00 for ; Sun, 01 Jun 2003 15:53:47 +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 19MT2A-0000br-Pe for emacs-devel@quimby.gnus.org; Sun, 01 Jun 2003 09:38:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19MT0d-0006oX-FC for emacs-devel@gnu.org; Sun, 01 Jun 2003 09:36:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19MT0b-0006jl-9a for emacs-devel@gnu.org; Sun, 01 Jun 2003 09:36:26 -0400 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MT0V-0006HI-ML; Sun, 01 Jun 2003 09:36:19 -0400 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h51DaGoc003859; Sun, 1 Jun 2003 08:36:16 -0500 (CDT) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.11.6+Sun/8.11.6) id h51DaMk22696; Sun, 1 Jun 2003 08:36:22 -0500 (CDT) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: alex@gnu.org In-reply-to: <87u1bab30b.fsf@gnu.org> (message from Alex Schroeder on Sun, 01 Jun 2003 10:44:52 +0200) Original-cc: rms@gnu.org Original-cc: emacs-devel@gnu.org 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:14549 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14549 So depending on "something" we actually can get not two, but three different window-at behaviors. It might be difficult to figure out what the "something" is without studying the C code. I know C, but, at present, I am not really familiar at all with Emacs' C code, just with its Elisp code. S-down still does not go back to the minibuffer. Hm. I do understand that, given: > (window-at 0 (window-height)) # With point at the beginning of the scratch buffer, these are the coordinates that `windmove-find-other-window' passes to window-at. Hence, you stay in *scratch* (without error message). On my system, the expression returns nil, so I get an error message (and also stay in scratch). For Juanma the expression returns: # So he goes to the minibiuffer. If one could fix the window-at problem, the windmove problem would automatically disappear. This is not a bug in windmove.el. Sincerely, Luc.