From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21732: 25.0.50; intermittent failure using windmove when in doc-view buffer Date: Sat, 24 Oct 2015 11:21:32 +0200 Message-ID: <562B4D9C.8050103@gmx.at> References: <83lhavt0ic.fsf@gnu.org> <874mhiw34z.fsf@gnu.org> <562B3A2D.9060705@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445678544 4641 80.91.229.3 (24 Oct 2015 09:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 09:22:24 +0000 (UTC) Cc: 21732@debbugs.gnu.org To: Daniel McClanahan , Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 11:22:14 2015 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 1Zpv1f-0003i7-0D for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 11:22:11 +0200 Original-Received: from localhost ([::1]:43576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpv1e-00086k-9o for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 05:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpv1a-00086W-3j for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 05:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpv1W-0002hI-W8 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 05:22:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpv1W-0002hD-Ss for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 05:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zpv1W-0008FG-Ex for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 05:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Oct 2015 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21732 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21732-submit@debbugs.gnu.org id=B21732.144567850531654 (code B ref 21732); Sat, 24 Oct 2015 09:22:02 +0000 Original-Received: (at 21732) by debbugs.gnu.org; 24 Oct 2015 09:21:45 +0000 Original-Received: from localhost ([127.0.0.1]:35576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zpv1E-0008EU-T8 for submit@debbugs.gnu.org; Sat, 24 Oct 2015 05:21:45 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:50041) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zpv1D-0008EL-CP for 21732@debbugs.gnu.org; Sat, 24 Oct 2015 05:21:43 -0400 Original-Received: from [93.82.10.53] ([93.82.10.53]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lp3x6-1aUlYA0lvA-00eqAi; Sat, 24 Oct 2015 11:21:42 +0200 In-Reply-To: <562B3A2D.9060705@gmx.at> X-Provags-ID: V03:K0:dGUgROKZwfuj6N2HZ5j2q4cL5EfXU5BPaEjumKbO039nTpkCFrX uepFLa2AOUW9nogZ2GJ7BFWT6+gBRlnMPKDZTmKoeLAheIp+MWG+DZQ41OQggQ4od8P72L5 UvjOc3wD+9diGe9Uzq97myk3FmcWIRgJBdvYMVwDN0Z1euLZrkPsqQi63shTdS5UEzE9f2c SrKdbAZILP/quxqqpF1Sw== X-UI-Out-Filterresults: notjunk:1;V01:K0:K98MnMzblx0=:CUC4aunvMXKFB0VBeq76G2 XYOs/1CMdwT3yp3oYGgSL4/EljmxUVPv0Gc8xptOT1mDobqb7x/FtUFfZ8hB9/s9cJi2WRDWr sT0VWTdQA6wOs9jU5DAJnkrJ9np0+2EUtb6hRPwTAjUflkCFr0Mj8/MBCt5A64WLxZufu7hgT whIYNtrRk/4GT7iLl5pR1kcnaDRb4XHrDqcpmG2NkrOudm+VNYBXYlqTPsUxstw9YTyQ5Y8lb C9oWYe5zsZHhs36u3H0DkADXFUBsywLROBZvmP0NVUlihKu9WciZueMehe16/f/TIR2Tq8zcY qwv4AL80Mvbv4v133u7xBIif/S9+My76QsY2a//v0c/+kfp8cMIdsrHk+5vNfOC0DuGcbHV6x NRmVzAMxaNc8soLHR2rskYgnTKSlcwLcMJb2YLj2YtvIfVsKGbVtzQ8NtEJh5dv1WSEhGYazY a79qqrDxsXOBnUeAY2nyB1cLoIPlvknPniiW4d1I8V4oUDZ7A+pi6s5u4DYB9WIAINlasFKAU d3AvNb1X9TP9qpj3NvdVtdFGiDMY5US5lbouPq3vDSgAJ7EI8/wXXGheGLW0Gs96OEHO5Jd4Q Kllt8NXsO7k7k8XZyBrirBFupQs6EWtoo7x2wKgwYNrfQIDD6I8I5pH0uWjCfMWpXA/RNQwbJ LwHmpTdWh427bYHdvNlwKhmaWbMd1FUbxvDWvqHz+w9QDyWAXbNmJRl0Q62FEEssT45BTe5BY Qt4MltdyiVyJmNcECb5rAjvSCE9OUkQY2e5SeLIyPXj6yTgbJ9NwY2K/zFV5QxZlAwRt/jdt 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: 208.118.235.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:107974 Archived-At: > There replace the line > > ((let ((posn-cons (nth 2 (posn-at-point (window-point window) window)))) > > by a form like Better use ((let ((posn-cons (nth 2 (posn-at-point (window-point window) window)))) (let ((my-value (if hor (cdr posn-cons) (car posn-cons)))) (when (or (not my-value) (< my-value 0)) (setq my-variable (cons (format "window: %s direction : %s sign: %s wrap: %s mini: %s posn-cons: %s" window direction sign wrap mini posn-cons) my-variable)))) instead so we won't confuse horizontal and vertical selections. martin