From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23809: 24.5; Positive argument to 'posn-at-point' throws erros as being negative Date: Mon, 11 Jul 2016 17:51:06 +0300 Message-ID: <83poqkcjol.fsf@gnu.org> References: <87k2hjn7pg.fsf@fimbulvetr.bsc.es> <83shw77h79.fsf@gnu.org> <87oa6uk7et.fsf@fimbulvetr.bsc.es> <83bn27ghnw.fsf@gnu.org> <87h9bwscbw.fsf@fimbulvetr.bsc.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1468248750 10175 80.91.229.3 (11 Jul 2016 14:52:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2016 14:52:30 +0000 (UTC) Cc: 23809@debbugs.gnu.org To: =?UTF-8?Q?Llu=C3=ADs?= Vilanova Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 16:52:20 2016 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 1bMcZD-00032R-NI for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 16:52:15 +0200 Original-Received: from localhost ([::1]:34128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcZC-0005IU-Vs for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2016 10:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcZ5-0005HE-3N for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 10:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMcZ0-0002Nt-UK for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 10:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcZ0-0002Nn-Qg for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 10:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMcZ0-00040X-Ja for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2016 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2016 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23809-submit@debbugs.gnu.org id=B23809.146824869415364 (code B ref 23809); Mon, 11 Jul 2016 14:52:02 +0000 Original-Received: (at 23809) by debbugs.gnu.org; 11 Jul 2016 14:51:34 +0000 Original-Received: from localhost ([127.0.0.1]:46976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMcYY-0003zk-Hv for submit@debbugs.gnu.org; Mon, 11 Jul 2016 10:51:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMcYX-0003zY-0f for 23809@debbugs.gnu.org; Mon, 11 Jul 2016 10:51:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMcYQ-0002JD-SM for 23809@debbugs.gnu.org; Mon, 11 Jul 2016 10:51:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcYQ-0002J3-Os; Mon, 11 Jul 2016 10:51:26 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3822 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMcYO-0006vL-Jm; Mon, 11 Jul 2016 10:51:25 -0400 In-reply-to: <87h9bwscbw.fsf@fimbulvetr.bsc.es> (message from =?UTF-8?Q?Llu=C3=ADs?= Vilanova on Mon, 11 Jul 2016 12:23:15 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:120850 Archived-At: > From: LluĂ­s Vilanova > Cc: 23809@debbugs.gnu.org > Date: Mon, 11 Jul 2016 12:23:15 +0200 > > > . Can you show the entire value returned by Fpos_visible_in_window_p > > when its call from Fposn_at_point returns, when this problem is > > reproduced? If you load the file .gdbinit that is located in the > > Emacs src directory, then displaying the return value is simple: > > type "pp tem" at the GDB prompt, after Fpos_visible_in_window_p > > returns. > > Sorry, but strangely enough, I'm unable to reproduce the problem now. And I'm > not aware of having updated emacs nor the packages it uses. I'll reply with the > information if it happens again. Strange indeed. Thanks in advance. > > . You say "pdf-tools (and doc-view) let you scroll the buffer, but > > never move point" -- can you point me to code in pdf-tools that > > does this? > > I'm actually not sure about it. It's just an intuition based on the fact that > the keys used to move point actually scroll the window, and there is no visible > point in it. That sounds like the normal image scrolling feature of Emacs. The reason I asked is that I tried to reproduce the problem by scrolling through a very large image, but couldn't. So there's some other factor at work here that I cannot grasp.