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 09:58:37 +0200 Message-ID: <562B3A2D.9060705@gmx.at> References: <83lhavt0ic.fsf@gnu.org> <874mhiw34z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445673636 2071 80.91.229.3 (24 Oct 2015 08:00:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 08:00:36 +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 10:00:16 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 1ZptkL-00056t-6a for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 10:00:13 +0200 Original-Received: from localhost ([::1]:43369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZptkK-00067q-Uw for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2015 04:00:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZptkG-00065T-TY for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 04:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZptkD-00087R-N7 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 04:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZptkD-000873-Kj for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 04:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZptkC-0006G4-Mz for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2015 04:00:04 -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 08:00:04 +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.144567354923966 (code B ref 21732); Sat, 24 Oct 2015 08:00:04 +0000 Original-Received: (at 21732) by debbugs.gnu.org; 24 Oct 2015 07:59:09 +0000 Original-Received: from localhost ([127.0.0.1]:35464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZptjJ-0006ET-6U for submit@debbugs.gnu.org; Sat, 24 Oct 2015 03:59:09 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57232) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zptiz-0006Dj-4t for 21732@debbugs.gnu.org; Sat, 24 Oct 2015 03:59:07 -0400 Original-Received: from [93.82.10.53] ([93.82.10.53]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M6AbC-1aiWVg3nkA-00yACM; Sat, 24 Oct 2015 09:58:47 +0200 In-Reply-To: X-Provags-ID: V03:K0:l7jOZmlsXBj+4Ak3uZCoOLLMXEQlNSCh1mjj0frEC6jL8V7n+o8 MDwAj4WX31XkhyVXN1mjursjGwxzARAiK2K/lydlvm9v+33YHXp/3cQ21xMYcfp79YcwKQ0 /mAjU7ZXvnW2MwjQNfanr1Rma+StC05YIsGuJpHGpTPV9ra7tuuL6CazRPWBe5DupmX0+dl piLGW6zEtdr12e3I3Bd+A== X-UI-Out-Filterresults: notjunk:1;V01:K0:gakmnMWEdP4=:Fz1NSSGczJHKOFNx65/XmY vDAqtMArlPC97Ul9T/+MVYdp2lMUum/7H1S4tnQE5w/LHwSoCQSbfG6TD5gWxbc5FgbGd5w/Z vZydtlB6VAWdrSaH7EfeMalw4A7rnWT9KZxs7VsKMhFLM0HLaGM2ZR5fqPsoBLLJ0IVRmRbas zRWOtukmkEzwPzDZSuluKSmkTqQp1eYFzrJP1Z2V2ZFehnEFRmxJyYyDKqshC+XWAZQVGla6k f02+++4eMccYivjUgs0bC+O38BOKt8dJ9sJW68vn52I4dzw5zP9VMZXp+FQv9+Cx0CGKLKjR/ CiMluCS6qj9/lhaE01A/JxKb/xl/2ZwIFWzXMn+3e1F5ktlq7tQ72IBgM3ylvcpG4hKkeqECE uTrb+Fm1jGGMQGNQZKiJTTy6CfKDcU+sN8ZXZOArtJ4gWUtVZoCTUWB+VAXyokxf0E+kne1IL xeOvd21qTtm1QZ379GtR6xWUq2G2YkZKZdydNl4bWWuk6i/uF2UKf3tGofgixk8EEyS5Ds0qt XdM0v86TyXUjeG9zxCbAT7hF4JZY9on8GwDOVaaDfVZtwElDEg6fIcOXKasNArdiamFoSwzyo Kwvkw1uTAN1PATkV7sigkfD2yAd8jcdx6ct0WUik5bytrfRSnc4bfs8Yhpj53v8yvjIIMyfFb f2iICJjKy9FqaKQ/mwD+BxRBKLgRN0cCiDK8XMX/3qf1ZYOhMjuboe5+PvmWILVHs/TOtMA+1 wDovBpnyLV7pyPKuYFmMaJsw2PYxLaKLgPSS3+1a7Vgnnlsia6lSRX++VH/3JwE6ipwM5KDP 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:107959 Archived-At: > Sorry for the confusion. I do have `windmove-wrap-around' set to t, an= d this is > with the frame split; i.e. when there is a different window to wrap ar= ound > to. In that case (sorry for not being specific), other windows on the = right side > of the frame were wrapping around correctly, but the window viewing th= e doc-view > buffer was not. Again, an intermittent error, so I'll try to provide a= backtrace > when it happens again. Alternatively, you could try to add the function =E2=80=98window-in-direc= tion=E2=80=99 (in window.el) temporarily to your .emacs. There replace the line ((let ((posn-cons (nth 2 (posn-at-point (window-point window) window)= ))) by a form like ((let ((posn-cons (nth 2 (posn-at-point (window-point window) window)= ))) (let ((my-value (cdr posn-cons))) (when (or (not my-value) (< my-value 0)) (setq my-variable (cons (format "window: %s direction : %s sign: %s wra= p: %s mini: %s posn-cons: %s" window direction sign wrap mini posn-co= ns) my-variable)))) and also add a definition like (defvar my-variable nil) to your .emacs. When now a "No window right from selected window" error triggers, look at the value of =E2=80=98my-variable=E2=80=99. If it's no= n-nil, we might have a clue. Obviously you can make the above mentioned change also in-place, i.e. in window.el, but don't forget to remake the emacs executable afterwards. martin