From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my_Compostella?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] windmove.el: Fix windmove-reference-loc miscalculation Date: Fri, 20 Jan 2012 17:55:00 +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=14dae9399ac1d6a62204b6f88b7a X-Trace: dough.gmane.org 1327078542 5043 80.91.229.12 (20 Jan 2012 16:55:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2012 16:55:42 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Sylvain Rousseau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 17:55:38 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 1RoHkU-0003iN-KV for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 17:55:34 +0100 Original-Received: from localhost ([::1]:52436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoHkU-0000ft-8k for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2012 11:55:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoHkN-0000fm-DZ for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:55:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoHkH-0000sF-NA for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:55:27 -0500 Original-Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:35002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoHkH-0000s9-Ik for emacs-devel@gnu.org; Fri, 20 Jan 2012 11:55:21 -0500 Original-Received: by obbta7 with SMTP id ta7so1214053obb.0 for ; Fri, 20 Jan 2012 08:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9TxOZ4dNzQXteeYx2QAclZ2VK9ZGePU9jfp3h3L0BGY=; b=BGkatRMI/27uG0ffcoLFZ170+mw26E3sSWtyDX4lNhK/PR9S7sfh5/spiOWw2DGXL8 I8VEmeDprvPPYf6AifnzFEMeJgqP7EV7DkrIJiuvbHDJPw1NdHth5E44hn+04jDngLZh ppY3ti2io969d5KHRJq54dT+f1J80orb0Necs= Original-Received: by 10.182.116.38 with SMTP id jt6mr27421555obb.52.1327078521087; Fri, 20 Jan 2012 08:55:21 -0800 (PST) Original-Received: by 10.60.49.103 with HTTP; Fri, 20 Jan 2012 08:55:00 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:147781 Archived-At: --14dae9399ac1d6a62204b6f88b7a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sylvain, thanks saving my time :) Effectively the issue is only windmove.el related. 2012/1/20 Sylvain Rousseau > For example: > > emacs -Q --eval "(progn (toggle-truncate-lines 1) \ > (split-window-right) \ > (other-window 1) \ > (split-window-below) \ > (insert > \"blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahbla= hblahblahblahblahblahblahblahblahblahblahblahblah\"))" > > Then try to windmove-down, it moves left! :/ > > window-in-direction seems to be doing fine anyway! > > Sylvain. > --=20 =AB Si debugger, c'est supprimer des bugs, alors programmer ne peut =EAtre = que les ajouter =BB - Edsger Dijkstra --14dae9399ac1d6a62204b6f88b7a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sylvain, thanks saving my time :)

Effectively the issue = is only windmove.el related.

2012/1/20 Sy= lvain Rousseau <t= hisirs@gmail.com>
For example:

emacs -Q --eval "(p= rogn (toggle-truncate-lines 1) \
(split-window-right) \
(other-window= 1) \
(split-window-below) \
(insert \"blahblahblahblahblahblahblahblahbl= ahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahb= lahblahblah\"))"

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

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

Sylvain.



-- =AB Si debugger, c'est supprimer des bugs, alors programmer ne peut = =EAtre que les ajouter =BB - Edsger Dijkstra
--14dae9399ac1d6a62204b6f88b7a--