From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sylvain Rousseau Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] windmove.el: Fix windmove-reference-loc miscalculation Date: Fri, 20 Jan 2012 17:16:57 +0100 Message-ID: References: <87wr8ntkxb.fsf@Apollo.jerryland.fr> <4F193B95.5000808@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f2354d58c404b04b6f802f6 X-Trace: dough.gmane.org 1327076232 28882 80.91.229.12 (20 Jan 2012 16:17:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2012 16:17:12 +0000 (UTC) Cc: =?ISO-8859-1?Q?J=E9r=E9my_Compostella?= , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 17:17:08 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RoH9I-0003gO-6A for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 17:17:08 +0100 Original-Received: from localhost ([::1]:42678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoH9H-0006Ry-LN for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 11:17:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoH9A-0006QO-Ol for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:17:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoH99-00037V-Bh for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:17:00 -0500 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:43603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoH99-00037C-0K for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:16:59 -0500 Original-Received: by wgbdt11 with SMTP id dt11so1125683wgb.0 for ; Fri, 20 Jan 2012 08:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yWQe5wFhHeNq89TxlBtftDAwcOwrOnRXz22ZJj3VL34=; b=SqHi+MkV7Ms6nyhUt0wTAPBFv4r4/CsHUv1PaBCYapaKK6ltMdqBZXaHn2ZEQNhKdg CHhw/221CQX9xCs7T48HXWYh+4A/V9AUAexFnKSthZcV9BZ/o+WFhDzzfJxTj3zR4TWC 6yyjrrIIYwNgqTBc6EyDJqT5zVNwgt+FAgIS0= Original-Received: by 10.180.106.130 with SMTP id gu2mr52859553wib.6.1327076217732; Fri, 20 Jan 2012 08:16:57 -0800 (PST) Original-Received: by 10.223.1.73 with HTTP; Fri, 20 Jan 2012 08:16:57 -0800 (PST) In-Reply-To: <4F193B95.5000808@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147778 Archived-At: --e89a8f2354d58c404b04b6f802f6 Content-Type: text/plain; charset=ISO-8859-1 For example: emacs -Q --eval "(progn (toggle-truncate-lines 1) \ (split-window-right) \ (other-window 1) \ (split-window-below) \ (insert \"blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah\"))" Then try to windmove-down, it moves left! :/ window-in-direction seems to be doing fine anyway! Sylvain. --e89a8f2354d58c404b04b6f802f6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For example:

emacs -Q --eval "(progn (toggle-truncate-lines 1) = \
(split-window-right) \
(other-window 1) \
(split-window-below) \=
(insert \"blahblahblahblahblahblahblahblahblahblahblahblahblahblah= blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah\"))&q= uot;

Then try to windmove-down, it moves left! :/

window-in-direction= seems to be doing fine anyway!

Sylvain.
--e89a8f2354d58c404b04b6f802f6--