From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24804@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147751104225420 (code B ref -1); Wed, 26 Oct 2016 19:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2016 19:44:02 +0000 Received: from localhost ([127.0.0.1]:57901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzU7F-0006bm-Ix for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:44:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzU7C-0006bM-UQ for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzU74-0007Kk-J6 for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzU74-0007KT-GB for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzU6z-00007j-VF for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzU6v-0007D8-S0 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:46 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:41521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzU6v-0007BP-IU for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:41 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 857FE17992B9 for ; Wed, 26 Oct 2016 21:43:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477511007; bh=xjfq3bp9gsHDqzcwR+0novXBkj0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qR7/3YSMsPtT6QAvtBJjq6uaNz+99X2LkY6N9Uj77Lsvz+hijpw0UvCkLW/4cNxqq qb1DkhGd1QLbEVgt7n5zNn5WtzT+Pjyc/HnTyaoPRigv9qri0gYlgHcxIAIgHX7K3U UOZCYQ7R1lhB++JpFvDkJBauyUc7Ncn2YwBfdEL0= From: Andreas Politz Date: Wed, 26 Oct 2016 21:43:27 +0200 Message-ID: <87k2cudhgg.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain The documentation of the function posn-at-point states "Return nil if position is not visible in window.", but it may also signal an error in this case. This happens, if Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) and at least Y is negative (which indicates, that pos is not visible IIUC). The error is then signaled by Fposn_at_x_y, which only accpets non-negative numbers (neglecting the exceptional case of -1 for X). I think this function should include a similar test for y, as is already in place for x, returning nil if it is negative (see below). --=-=-= Content-Type: text/x-diff Content-Disposition: inline Content-Description: posn_at_point.diff diff --git a/src/keyboard.c b/src/keyboard.c index bb411e7..215fcb9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10791,9 +10791,10 @@ The `posn-' functions access elements of such lists. */) Lisp_Object x = XCAR (tem); Lisp_Object y = XCAR (XCDR (tem)); - /* Point invisible due to hscrolling? X can be -1 when a - newline in a R2L line overflows into the left fringe. */ - if (XINT (x) < -1) + /* Point invisible due to hscrolling or vscrolling? X can be -1 + when a newline in a R2L line overflows into the left + fringe. */ + if (XINT (x) < -1 || XINT (y) < 0) return Qnil; tem = Fposn_at_x_y (x, y, window, Qnil); } --=-=-= Content-Type: text/plain -- Reproducing this state may be a little bit tricky, anyway evaluate the following lines, starting with `emacs -Q'. (defvar img "foo.png");; The image should be taller then the window ;; it's displayed in. (setq debug-on-error t) (find-file img) (redisplay t) ;; If in batch mode. (image-scroll-up 999) ;; The image should be scrolled to the bottom now, while point equals 1. (posn-at-point (point-max) (selected-window)) -- Note, that this bug may make switching buffers difficult in certain situations, as was reported here: https://github.com/politza/pdf-tools/issues/200 -ap --=-=-=-- From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: Acknowledgement (25.1; posn-at-point erroneously signals an error) Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24804@debbugs.gnu.org Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.147751140225978 (code B ref 24804); Wed, 26 Oct 2016 19:51:02 +0000 Received: (at 24804) by debbugs.gnu.org; 26 Oct 2016 19:50:02 +0000 Received: from localhost ([127.0.0.1]:57906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzUD4-0006kv-Eg for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:50:02 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:41709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzUD2-0006kN-Hg for 24804@debbugs.gnu.org; Wed, 26 Oct 2016 15:50:00 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 6033417996B0 for <24804@debbugs.gnu.org>; Wed, 26 Oct 2016 21:49:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477511383; bh=NZFmcSV4fkYmSX35ej/QEHYnUGo=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=gxvzdb7diHVGqF4SjngFhKsHPHR67NSlvWyEL2hV5xuLuejGudEZd4UqDN5I9rVBi e0CIjmCDoCp9ps9aYW2bJMWHRSLHG6H2BXbSokPE9TzV+CF86nPw7g7uyEf6CSRAHm 9iRmookdx1d8hmt/EJLK/OOO0IX3QVad2ZiDEJ+I= From: Andreas Politz References: <87k2cudhgg.fsf@hochschule-trier.de> Date: Wed, 26 Oct 2016 21:49:42 +0200 In-Reply-To: (GNU bug Tracking System's message of "Wed, 26 Oct 2016 19:45:02 +0000") Message-ID: <87funidh61.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Duplicate of #23809 and #21732 -- should have checked first. -ap From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 18:12:06 2016 Received: (at control) by debbugs.gnu.org; 26 Oct 2016 22:12:06 +0000 Received: from localhost ([127.0.0.1]:57958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzWQY-0001W2-Ct for submit@debbugs.gnu.org; Wed, 26 Oct 2016 18:12:06 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:32909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzWQV-0001VY-M0 for control@debbugs.gnu.org; Wed, 26 Oct 2016 18:12:04 -0400 Received: by mail-oi0-f49.google.com with SMTP id y2so14906592oie.0 for ; Wed, 26 Oct 2016 15:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=jl4hR9ExhtDdwocEv5FzfmV2EXIGmTC5owbtPGwrUj0=; b=dtA3i1bP5Dshj+C+Hb8v+zlW2vYPBa5RevJ2G5rx+1g6oI0df+yHUOFnxywfkYsEuM wKI+/a+iBuGVXwMs3Ou56gXOcGryG7Nhmt3NxfPmBBXJ8N4p3Xu5Di1tYFuYBhTiLcYp LXURr06+QEFTjrbOWz7k2Hjefh0FxvQRx3ZhLiVrh3ChHLIRQ9LJyp5a45BK0pbMMyXO y9TxZPYEQCdirLarUTLa0fOJdJJvpLuoy2nt22BL+Pc0t/fNy2pQzPqrtfBo28FtnCZX lfyBP6AuUQZ5saW07MZhQ2JwzF9d7eGUsPyKnrg3lXmR4OgkzZEzpZ+LbidOqvQkOtPQ GdfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=jl4hR9ExhtDdwocEv5FzfmV2EXIGmTC5owbtPGwrUj0=; b=AU4P86GqixgDSjH495k5JB44R4H0zZU3Zjt0+ff6mjfplc3AAA0Qxh1NrRl2QAVGvh mbqzytxXnhI9209oRWqRov7vTmWo4eQGxq8mZsMNmDMS/hikWpGBPg+CKPdLEIV7VCJO rjOc4e4rP5wspuEiemtyHVDHj3jnPcES1BH2jpl+BDoagXOQBVn8rfOcVSM+QipvGSer PdxetxsGN9cmNCrKCKIhZG9sSb0OHgDqJhetSUz394gFJ0VgUEtPgInatyetTtuhdI8C IpGn+oDGCFCWtR1XH3xzChblRaT2zzACKKX7q6nzsIt55dMCSLC85A1Bbd/9pZj7Z9ZW 0tEw== X-Gm-Message-State: ABUngvca2EViuOYowyNnHjCIUuPa3/vNbfvhEfWBWgvRDIteFrggKqqkzJvpcZTUeT2TjV000NZoAxneZcyawg== X-Received: by 10.157.54.5 with SMTP id w5mr3295639otb.211.1477519917841; Wed, 26 Oct 2016 15:11:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.239 with HTTP; Wed, 26 Oct 2016 15:11:57 -0700 (PDT) In-Reply-To: <87funidh61.fsf@hochschule-trier.de> References: <87k2cudhgg.fsf@hochschule-trier.de> <87funidh61.fsf@hochschule-trier.de> From: Noam Postavsky Date: Wed, 26 Oct 2016 18:11:57 -0400 X-Google-Sender-Auth: 8R3VBaG7Pj_ndOVOWAS5rYSfu-U Message-ID: Subject: Re: bug#24804: Acknowledgement (25.1; posn-at-point erroneously signals an error) To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) merge 24804 23809 21732 quit On Wed, Oct 26, 2016 at 3:49 PM, Andreas Politz wrote: > > Duplicate of #23809 and #21732 -- should have checked first. > > -ap > > > From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2016 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Politz , 24804@debbugs.gnu.org Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.14775897675872 (code B ref 24804); Thu, 27 Oct 2016 17:37:01 +0000 Received: (at 24804) by debbugs.gnu.org; 27 Oct 2016 17:36:07 +0000 Received: from localhost ([127.0.0.1]:32781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzob1-0001We-Cj for submit@debbugs.gnu.org; Thu, 27 Oct 2016 13:36:07 -0400 Received: from mout.gmx.net ([212.227.17.22]:54826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzoaz-0001W4-Px for 24804@debbugs.gnu.org; Thu, 27 Oct 2016 13:36:06 -0400 Received: from [192.168.1.100] ([212.95.7.14]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LlHsg-1cZhZi2MHW-00b4TA; Thu, 27 Oct 2016 19:35:56 +0200 Message-ID: <58123AFB.201@gmx.at> Date: Thu, 27 Oct 2016 19:35:55 +0200 From: martin rudalics MIME-Version: 1.0 References: <87k2cudhgg.fsf@hochschule-trier.de> In-Reply-To: <87k2cudhgg.fsf@hochschule-trier.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:omwSmEKCdsTAtaPbsXgxzmUBN8sYp5lkur9GYCRcPVv01VQzK/i omtxBgKeh0WRfpIy3GOW5cXVov7G7q3jH7fe6/kKxo/vGPmSUHGCNig8X1zGHCvydoryLfF JqCp8YdwADRl5jeXrQ6//I4GbQiuhODlDVOeY0C9zpyj6RfkGBijcbpqoonB6PoiCCqnhDl tQb/dIHxTSTaORPasVBuQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9jnLupNcHaw=:tlQguerN7/UFnhcXtw/Trt ff9jYE67C2EcPlIzBfvIm8R1M+J9CgzGymYTTccJaptG6gpbydHJVVHThoDUMK6exVN/sbb7m EW8Clrgk2EsLxL7PAZ1c44H4nP+/6lB1cX+F9GtKJXZeVzL9ogsPtV2ZwLJB1R5pQkVVVolwN y+naANK6ufbxRPhucNCrLdzLzAmmgGwp3YktNTrFSd/AqQKWOiNpUgHDCSojxOsW8EgKBcwmN /oPDZMbp9rHr4ZlhCKuAdihRlWnVX1WiDkJ0Pi19HfTNldpmBaXYnCDXaFnYRA9V27rVYvPxE MUmlKCersAZuS4/RbnQ7EEiW63HtR4UE2gLgD2uDiRtk0TPV2eBaQBCjxPN3N5JTkWByT4fsz C4GSNdzANFaV5/zBDYLFsnKdGIG3l/QpdhR2lq7XdEJN2704gOipQJhW6QHpDzhGnRCyDvQBm COwLePohHRveLT21gK7ZOjKmkrK9+kvYLILJApYd6L55Pby6BJvcCvMcnApoRp7rbw/zYGicK lrnMl1g65/wb2thqb4stWkdA6I2xsJx8FvXlahpTanGoKLPIeee17WVruPupAxswl5fE6fnvq +CrqKJflJfOUK0V05T171pqBtVVVoVhcwzxMwThee8txtB4P+FCZOFafiYvaWMhj1ZtImo6PK tobxiO5K52o6VxnyFKxqgNATC0g9ipnrFn26d/6eespQ/kjf1frd4IRwzqKJSn77rfn7lWTpj fb6fM5KIb5CPVNSqC/Lf6Lw5YGnHiC90iy2QD15/PXHhYVWIZPAPmM0c5VWU5fSJtQUZNeN/I wPCKl2fcKo9feNo4cq5YoLoaRYiZw== X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The documentation of the function posn-at-point states > > "Return nil if position is not visible in window.", > > but it may also signal an error in this case. This happens, if > Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) > and at least Y is negative (which indicates, that pos is not visible > IIUC). The error is then signaled by Fposn_at_x_y, which only accpets > non-negative numbers (neglecting the exceptional case of -1 for X). > > I think this function should include a similar test for y, as is already > in place for x, returning nil if it is negative (see below). [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.3 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [212.95.7.14 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The documentation of the function posn-at-point states > > "Return nil if position is not visible in window.", > > but it may also signal an error in this case. This happens, if > Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) > and at least Y is negative (which indicates, that pos is not visible > IIUC). The error is then signaled by Fposn_at_x_y, which only accpets > non-negative numbers (neglecting the exceptional case of -1 for X). > > I think this function should include a similar test for y, as is already > in place for x, returning nil if it is negative (see below). [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.3 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [212.95.7.14 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record > The documentation of the function posn-at-point states > > "Return nil if position is not visible in window.", > > but it may also signal an error in this case. This happens, if > Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) > and at least Y is negative (which indicates, that pos is not visible > IIUC). The error is then signaled by Fposn_at_x_y, which only accpets > non-negative numbers (neglecting the exceptional case of -1 for X). > > I think this function should include a similar test for y, as is already > in place for x, returning nil if it is negative (see below). Thanks. But according to Eli the problem is in Fpos_visible_in_window_p which should never return a negative y in the first place. > Reproducing this state may be a little bit tricky, anyway evaluate the > following lines, starting with `emacs -Q'. > > (defvar img "foo.png");; The image should be taller then the window > ;; it's displayed in. > (setq debug-on-error t) > (find-file img) > (redisplay t) ;; If in batch mode. > (image-scroll-up 999) > ;; The image should be scrolled to the bottom now, while point equals 1. > (posn-at-point (point-max) (selected-window)) That's a valuable information. I indeed can reproduce the problem with this scenario (but only on another machine where I can display images and the Emacs there must be repaired). Could you try answering the question Eli asked for bug#23809 namely: . 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? Thanks again, martin From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2016 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 24804@debbugs.gnu.org Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.147759280316590 (code B ref 24804); Thu, 27 Oct 2016 18:27:01 +0000 Received: (at 24804) by debbugs.gnu.org; 27 Oct 2016 18:26:43 +0000 Received: from localhost ([127.0.0.1]:32817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzpNz-0004JW-H3 for submit@debbugs.gnu.org; Thu, 27 Oct 2016 14:26:43 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:49071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzpNx-0004JH-KH for 24804@debbugs.gnu.org; Thu, 27 Oct 2016 14:26:42 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id C35BA17996DE; Thu, 27 Oct 2016 20:26:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477592783; bh=REP92ijC4EecLvBLVLVMdZo3ALg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=MqQMYrOqZNpxoB+yL/T46qFKcXguItiQ0pUdKIj5GZR3r3OfI50I1iKnsl21XFrzz d8bVTUQuE61APCyUtD+CoeYVmyFGu6rJo8F1ri38cN9e7Qd+Wi/kI9hp6iCTP4qB7H s3cLNHnFTheo72rjys1kU5kw3M+NNSHX9Nmm6mGA= From: Andreas Politz References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> Date: Thu, 27 Oct 2016 20:26:22 +0200 In-Reply-To: <58123AFB.201@gmx.at> (martin rudalics's message of "Thu, 27 Oct 2016 19:35:55 +0200") Message-ID: <87wpgtbqcx.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) martin rudalics writes: > Thanks. But according to Eli the problem is in Fpos_visible_in_window_p > which should never return a negative y in the first place. Ok, that's different. > . 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? Result for the mentioned setup: (747 -36 36 6 925 0) -ap From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Oct 2016 08:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: martin rudalics Cc: 24804@debbugs.gnu.org, politza@hochschule-trier.de Reply-To: Eli Zaretskii Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.147764234532766 (code B ref 24804); Fri, 28 Oct 2016 08:13:01 +0000 Received: (at 24804) by debbugs.gnu.org; 28 Oct 2016 08:12:25 +0000 Received: from localhost ([127.0.0.1]:33148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c02H2-0008WQ-PU for submit@debbugs.gnu.org; Fri, 28 Oct 2016 04:12:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c02H1-0008WB-AS for 24804@debbugs.gnu.org; Fri, 28 Oct 2016 04:12:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c02Gs-0004Rf-Kq for 24804@debbugs.gnu.org; Fri, 28 Oct 2016 04:12:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c02Gs-0004Ra-HQ; Fri, 28 Oct 2016 04:12:14 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3729 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c02Gr-0005tr-Or; Fri, 28 Oct 2016 04:12:14 -0400 Date: Fri, 28 Oct 2016 11:12:19 +0300 Message-Id: <83h97wsxi4.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <58123AFB.201@gmx.at> (message from martin rudalics on Thu, 27 Oct 2016 19:35:55 +0200) References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Thu, 27 Oct 2016 19:35:55 +0200 > From: martin rudalics > > > The documentation of the function posn-at-point states > > > > "Return nil if position is not visible in window.", > > > > but it may also signal an error in this case. This happens, if > > Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) > > and at least Y is negative (which indicates, that pos is not visible > > IIUC). The error is then signaled by Fposn_at_x_y, which only accpets > > non-negative numbers (neglecting the exceptional case of -1 for X). > > > > I think this function should include a similar test for y, as is already > > in place for x, returning nil if it is negative (see below). > > Thanks. But according to Eli the problem is in Fpos_visible_in_window_p > which should never return a negative y in the first place. Maybe it could, when an image is vscrolled? In any case, the proposed patch is IMO incorrect: when point is at a large image (or even a character glyph that's very tall relative to its window's height), this patch will pretend that point is invisible, whereas in fact it's partially visible (as is clear from the use case discussed here). The key to understanding why the patch is wrong is to remember that the Y coordinate of a glyph on display is the coordinate of the top of the glyph. For a large glyph, its top can be off-screen, but most of it could still be visible. This is evident in the value returned by pos-visible-in-window-p in this case: (747 -36 36 6 925 0). It exactly means that the image starts 36 pixels above the window top (and ends 6 pixels below its bottom). Perhaps if RTOP is non-nil, we should pass Y + RTOP to posn-at-x-y. From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2016 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: politza@hochschule-trier.de Cc: rudalics@gmx.at, 24804@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.147773664228173 (code B ref 24804); Sat, 29 Oct 2016 10:25:02 +0000 Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 10:24:02 +0000 Received: from localhost ([127.0.0.1]:35783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0Qny-0007KC-7o for submit@debbugs.gnu.org; Sat, 29 Oct 2016 06:24:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0Qnx-0007Jp-Lx for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 06:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0Qno-0004Nq-Iw for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 06:23:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0Qno-0004Nh-G3; Sat, 29 Oct 2016 06:23:52 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1189 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0Qnn-0007CH-Hs; Sat, 29 Oct 2016 06:23:51 -0400 Date: Sat, 29 Oct 2016 13:23:59 +0300 Message-Id: <83k2crqwqo.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83h97wsxi4.fsf@gnu.org> (message from Eli Zaretskii on Fri, 28 Oct 2016 11:12:19 +0300) References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Fri, 28 Oct 2016 11:12:19 +0300 > From: Eli Zaretskii > Cc: 24804@debbugs.gnu.org, politza@hochschule-trier.de > > > Thanks. But according to Eli the problem is in Fpos_visible_in_window_p > > which should never return a negative y in the first place. > > Maybe it could, when an image is vscrolled? > > In any case, the proposed patch is IMO incorrect: when point is at a > large image (or even a character glyph that's very tall relative to > its window's height), this patch will pretend that point is invisible, > whereas in fact it's partially visible (as is clear from the use case > discussed here). > > The key to understanding why the patch is wrong is to remember that > the Y coordinate of a glyph on display is the coordinate of the top of > the glyph. For a large glyph, its top can be off-screen, but most of > it could still be visible. This is evident in the value returned by > pos-visible-in-window-p in this case: (747 -36 36 6 925 0). It > exactly means that the image starts 36 pixels above the window top > (and ends 6 pixels below its bottom). > > Perhaps if RTOP is non-nil, we should pass Y + RTOP to posn-at-x-y. Andreas, can you try the patch below? Thanks. diff --git a/src/keyboard.c b/src/keyboard.c index bb411e7..65938a5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10790,11 +10790,19 @@ The `posn-' functions access elements of such lists. */) { Lisp_Object x = XCAR (tem); Lisp_Object y = XCAR (XCDR (tem)); + Lisp_Object aux_info = XCDR (XCDR (tem)); + int y_coord = XINT (y); /* Point invisible due to hscrolling? X can be -1 when a newline in a R2L line overflows into the left fringe. */ if (XINT (x) < -1) return Qnil; + if (!NILP (aux_info) && y_coord < 0) + { + int rtop = XINT (XCAR (aux_info)); + + y = make_number (y_coord + rtop); + } tem = Fposn_at_x_y (x, y, window, Qnil); } From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2016 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: rudalics@gmx.at, 24804@debbugs.gnu.org Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.14777512273387 (code B ref 24804); Sat, 29 Oct 2016 14:28:01 +0000 Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 14:27:07 +0000 Received: from localhost ([127.0.0.1]:36677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0UbC-0000sZ-Rm for submit@debbugs.gnu.org; Sat, 29 Oct 2016 10:27:07 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:34390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0UbB-0000s5-6z for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 10:27:05 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id EE251179950D; Sat, 29 Oct 2016 16:26:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477751208; bh=PlCc44SaKLy1raaAc0ruCBqcm0E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=bdTWe7KhacheY80j789WtBfDnNNq1IKM130p5CoaHgZyHf4e6uJcib8dPH8KrsqFJ MOnkUJLuCDCwer4xfd76xh7GvzQRO/NhfZGUcYPAfYhjZ5kVHPYgpUl4JsM18mbIcr 7inRghVvMt6xGNcJHJc7alp8oFGKRoENa7Mqp5rs= From: Andreas Politz References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> Date: Sat, 29 Oct 2016 16:26:47 +0200 In-Reply-To: <83k2crqwqo.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2016 13:23:59 +0300") Message-ID: <87r36zz0wo.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Eli Zaretskii writes: > Andreas, can you try the patch below? Thanks. I can confirm, that the error regarding above recpie goes away. Though I'm pretty confused about what this function should actually return in this case. E.g. in the scenario above, evaluating (posn-x-y (posn-at-point x)) with x=point-min, resp. x=point-max, returns (0 . 0), resp. (747 . 0), where 747 is the width of the image. Does that sound right ? From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2016 14:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Politz Cc: rudalics@gmx.at, 24804@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.14777517854310 (code B ref 24804); Sat, 29 Oct 2016 14:37:02 +0000 Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 14:36:25 +0000 Received: from localhost ([127.0.0.1]:36716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0UkD-00017S-3N for submit@debbugs.gnu.org; Sat, 29 Oct 2016 10:36:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0UkB-00017F-Dk for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 10:36:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0Uk2-0008Pj-8u for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 10:36:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0Uk2-0008PY-5P; Sat, 29 Oct 2016 10:36:14 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1606 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0Uk1-0008Np-AY; Sat, 29 Oct 2016 10:36:13 -0400 Date: Sat, 29 Oct 2016 17:36:22 +0300 Message-Id: <83funfql21.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87r36zz0wo.fsf@hochschule-trier.de> (message from Andreas Politz on Sat, 29 Oct 2016 16:26:47 +0200) References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Andreas Politz > Cc: rudalics@gmx.at, 24804@debbugs.gnu.org > Date: Sat, 29 Oct 2016 16:26:47 +0200 > > Eli Zaretskii writes: > > > Andreas, can you try the patch below? Thanks. > > I can confirm, that the error regarding above recpie goes away. Great, I will push it to master soon. > Though I'm pretty confused about what this function should actually > return in this case. E.g. in the scenario above, evaluating (posn-x-y > (posn-at-point x)) with x=point-min, resp. x=point-max, returns (0 . 0), > resp. (747 . 0), where 747 is the width of the image. Does that sound > right ? It sounds right to me: the first position is at the image, the second is after the image, so its X coordinate should be the image width. Does that make sense? From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2016 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: politza@hochschule-trier.de Cc: 24804@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.14777521234831 (code B ref 24804); Sat, 29 Oct 2016 14:43:01 +0000 Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 14:42:03 +0000 Received: from localhost ([127.0.0.1]:36733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0Upe-0001Fr-RC for submit@debbugs.gnu.org; Sat, 29 Oct 2016 10:42:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0Upd-0001FN-4m for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 10:42:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0UpT-0003OM-VQ for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 10:41:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0UpT-0003OI-S3; Sat, 29 Oct 2016 10:41:51 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1633 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0UpT-0006f3-3r; Sat, 29 Oct 2016 10:41:51 -0400 Date: Sat, 29 Oct 2016 17:42:00 +0300 Message-Id: <83eg2zqksn.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83funfql21.fsf@gnu.org> (message from Eli Zaretskii on Sat, 29 Oct 2016 17:36:22 +0300) References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> <83funfql21.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Sat, 29 Oct 2016 17:36:22 +0300 > From: Eli Zaretskii > Cc: 24804@debbugs.gnu.org > > > From: Andreas Politz > > Cc: rudalics@gmx.at, 24804@debbugs.gnu.org > > Date: Sat, 29 Oct 2016 16:26:47 +0200 > > > > Eli Zaretskii writes: > > > > > Andreas, can you try the patch below? Thanks. > > > > I can confirm, that the error regarding above recpie goes away. > > Great, I will push it to master soon. Done. Let me know if something else should be done before closing this bug. Thanks. From unknown Sun Jun 22 17:12:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2016 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 24804@debbugs.gnu.org Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.147777320111683 (code B ref 24804); Sat, 29 Oct 2016 20:34:02 +0000 Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 20:33:21 +0000 Received: from localhost ([127.0.0.1]:36842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0aJd-00032N-3b for submit@debbugs.gnu.org; Sat, 29 Oct 2016 16:33:21 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:40815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0aJa-000328-J7 for 24804@debbugs.gnu.org; Sat, 29 Oct 2016 16:33:19 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 8013217991CF; Sat, 29 Oct 2016 22:33:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477773180; bh=r5xklJpOGOd4k6fi1DNJePCKr3I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=ZXKsmMR7korAOm3CsVAIjOPZzS+hhnz3s5wkgZ9qHRieHLDRklDzbSSIZ37o9MZTc Z/j19cifMAGVMojioMSvfzNH9sfa3hXHE+1+C5ANk3d4LonIFxbBepyxVyESfGe3nh 3gp+cHyKZBTb9wnXGOpCcXs2x/5d7XUHK0GqihBQ= From: Andreas Politz References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> <83funfql21.fsf@gnu.org> <83eg2zqksn.fsf@gnu.org> Date: Sat, 29 Oct 2016 22:33:00 +0200 In-Reply-To: <83eg2zqksn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2016 17:42:00 +0300") Message-ID: <87oa22yjyb.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Eli Zaretskii writes: > Done. Let me know if something else should be done before closing > this bug. Nothing. I'm not clear about the general semantics of this function, but we don't need to discuss this right now. Thanks, -ap From unknown Sun Jun 22 17:12:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andreas Politz Subject: bug#24804: closed (Re: bug#24804: 25.1; posn-at-point erroneously signals an error) Message-ID: References: <831syyrexm.fsf@gnu.org> <87k2cudhgg.fsf@hochschule-trier.de> X-Gnu-PR-Message: they-closed 24804 X-Gnu-PR-Package: emacs Reply-To: 24804@debbugs.gnu.org Date: Sat, 29 Oct 2016 22:04:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1477778642-20627-1" This is a multi-part message in MIME format... ------------=_1477778642-20627-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24804: 25.1; posn-at-point erroneously signals an error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24804@debbugs.gnu.org. --=20 24804: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24804 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1477778642-20627-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24804-done) by debbugs.gnu.org; 29 Oct 2016 22:03:19 +0000 Received: from localhost ([127.0.0.1]:36855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0bih-0005Lg-Ab for submit@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0big-0005LS-EU for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0biW-0005Ad-Hk for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0biW-0005AZ-EQ; Sat, 29 Oct 2016 18:03:08 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0biV-0007NX-QQ; Sat, 29 Oct 2016 18:03:08 -0400 Date: Sun, 30 Oct 2016 01:03:17 +0300 Message-Id: <831syyrexm.fsf@gnu.org> From: Eli Zaretskii To: Andreas Politz In-reply-to: <87oa22yjyb.fsf@hochschule-trier.de> (message from Andreas Politz on Sat, 29 Oct 2016 22:33:00 +0200) Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> <83funfql21.fsf@gnu.org> <83eg2zqksn.fsf@gnu.org> <87oa22yjyb.fsf@hochschule-trier.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 24804-done Cc: 24804-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Andreas Politz > Cc: 24804@debbugs.gnu.org > Date: Sat, 29 Oct 2016 22:33:00 +0200 > > Eli Zaretskii writes: > > > Done. Let me know if something else should be done before closing > > this bug. > > Nothing. I'm not clear about the general semantics of this function, > but we don't need to discuss this right now. OK, I'm therefore closing the bug (and the two merged with it). People who think there are still leftovers are welcome to reopen with details. As for your questions about the semantics, I suggest to start a discussion on emacs-devel. Thanks. ------------=_1477778642-20627-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Oct 2016 19:44:02 +0000 Received: from localhost ([127.0.0.1]:57901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzU7F-0006bm-Ix for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:44:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzU7C-0006bM-UQ for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzU74-0007Kk-J6 for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzU74-0007KT-GB for submit@debbugs.gnu.org; Wed, 26 Oct 2016 15:43:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzU6z-00007j-VF for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzU6v-0007D8-S0 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:46 -0400 Received: from gateway-a.fh-trier.de ([143.93.54.181]:41521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzU6v-0007BP-IU for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 15:43:41 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Received: from localhost (ip5f5bdf6a.dynamic.kabel-deutschland.de [95.91.223.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 857FE17992B9 for ; Wed, 26 Oct 2016 21:43:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1477511007; bh=xjfq3bp9gsHDqzcwR+0novXBkj0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qR7/3YSMsPtT6QAvtBJjq6uaNz+99X2LkY6N9Uj77Lsvz+hijpw0UvCkLW/4cNxqq qb1DkhGd1QLbEVgt7n5zNn5WtzT+Pjyc/HnTyaoPRigv9qri0gYlgHcxIAIgHX7K3U UOZCYQ7R1lhB++JpFvDkJBauyUc7Ncn2YwBfdEL0= From: Andreas Politz To: bug-gnu-emacs@gnu.org Subject: 25.1; posn-at-point erroneously signals an error Date: Wed, 26 Oct 2016 21:43:27 +0200 Message-ID: <87k2cudhgg.fsf@hochschule-trier.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain The documentation of the function posn-at-point states "Return nil if position is not visible in window.", but it may also signal an error in this case. This happens, if Fpos_visible_in_window_p returns a list of (X Y RTOP RBOT ROWH VPOS) and at least Y is negative (which indicates, that pos is not visible IIUC). The error is then signaled by Fposn_at_x_y, which only accpets non-negative numbers (neglecting the exceptional case of -1 for X). I think this function should include a similar test for y, as is already in place for x, returning nil if it is negative (see below). --=-=-= Content-Type: text/x-diff Content-Disposition: inline Content-Description: posn_at_point.diff diff --git a/src/keyboard.c b/src/keyboard.c index bb411e7..215fcb9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10791,9 +10791,10 @@ The `posn-' functions access elements of such lists. */) Lisp_Object x = XCAR (tem); Lisp_Object y = XCAR (XCDR (tem)); - /* Point invisible due to hscrolling? X can be -1 when a - newline in a R2L line overflows into the left fringe. */ - if (XINT (x) < -1) + /* Point invisible due to hscrolling or vscrolling? X can be -1 + when a newline in a R2L line overflows into the left + fringe. */ + if (XINT (x) < -1 || XINT (y) < 0) return Qnil; tem = Fposn_at_x_y (x, y, window, Qnil); } --=-=-= Content-Type: text/plain -- Reproducing this state may be a little bit tricky, anyway evaluate the following lines, starting with `emacs -Q'. (defvar img "foo.png");; The image should be taller then the window ;; it's displayed in. (setq debug-on-error t) (find-file img) (redisplay t) ;; If in batch mode. (image-scroll-up 999) ;; The image should be scrolled to the bottom now, while point equals 1. (posn-at-point (point-max) (selected-window)) -- Note, that this bug may make switching buffers difficult in certain situations, as was reported here: https://github.com/politza/pdf-tools/issues/200 -ap --=-=-=-- ------------=_1477778642-20627-1-- From unknown Sun Jun 22 17:12:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Daniel McClanahan Subject: bug#21732: closed (Re: bug#24804: 25.1; posn-at-point erroneously signals an error) Message-ID: References: <831syyrexm.fsf@gnu.org> X-Gnu-PR-Message: they-closed 21732 X-Gnu-PR-Package: emacs Reply-To: 21732@debbugs.gnu.org Date: Sat, 29 Oct 2016 22:04:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1477778642-20627-3" This is a multi-part message in MIME format... ------------=_1477778642-20627-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24804: 25.0.50; intermittent failure using windmove when in doc-view buffer which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21732@debbugs.gnu.org. --=20 24804: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24804 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1477778642-20627-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24804-done) by debbugs.gnu.org; 29 Oct 2016 22:03:19 +0000 Received: from localhost ([127.0.0.1]:36855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0bih-0005Lg-Ab for submit@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0big-0005LS-EU for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0biW-0005Ad-Hk for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0biW-0005AZ-EQ; Sat, 29 Oct 2016 18:03:08 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0biV-0007NX-QQ; Sat, 29 Oct 2016 18:03:08 -0400 Date: Sun, 30 Oct 2016 01:03:17 +0300 Message-Id: <831syyrexm.fsf@gnu.org> From: Eli Zaretskii To: Andreas Politz In-reply-to: <87oa22yjyb.fsf@hochschule-trier.de> (message from Andreas Politz on Sat, 29 Oct 2016 22:33:00 +0200) Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> <83funfql21.fsf@gnu.org> <83eg2zqksn.fsf@gnu.org> <87oa22yjyb.fsf@hochschule-trier.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 24804-done Cc: 24804-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Andreas Politz > Cc: 24804@debbugs.gnu.org > Date: Sat, 29 Oct 2016 22:33:00 +0200 > > Eli Zaretskii writes: > > > Done. Let me know if something else should be done before closing > > this bug. > > Nothing. I'm not clear about the general semantics of this function, > but we don't need to discuss this right now. OK, I'm therefore closing the bug (and the two merged with it). People who think there are still leftovers are welcome to reopen with details. As for your questions about the semantics, I suggest to start a discussion on emacs-devel. Thanks. ------------=_1477778642-20627-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Oct 2015 07:12:49 +0000 Received: from localhost ([127.0.0.1]:60198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpA3M-0003IW-NK for submit@debbugs.gnu.org; Thu, 22 Oct 2015 03:12:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55372) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpA32-0003I7-FK for submit@debbugs.gnu.org; Thu, 22 Oct 2015 03:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpA31-0003k5-EG for submit@debbugs.gnu.org; Thu, 22 Oct 2015 03:12:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HK_RANDOM_ENVFROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpA31-0003jz-BH for submit@debbugs.gnu.org; Thu, 22 Oct 2015 03:12:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpA30-0007bY-9c for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 03:12:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpA2z-0003jU-F9 for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 03:12:26 -0400 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:37465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpA2z-0003jP-BS for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 03:12:25 -0400 Received: by igbhv6 with SMTP id hv6so54216936igb.0 for ; Thu, 22 Oct 2015 00:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=9JdZGQmtPT8aTUgoVT0HU+Xdh2di9tN5E+eLWc3UabQ=; b=qDfGoABVtE3hC4C12mBigCWDKkLOsbaSrSjPrAzh0KIzeGwjXNmFxuIoI3y55hhkkP 55ZNGVylk/kvV9BLCxEx37kP+L6X584ThgG4Urn2ewi+vOWQl4pw1W60MoIVO+U7ACvd AUemO/HdCfUSWpsJNPXWZFFIXN4R1PeBuNvpODinW++ScCNikSZi8iL8kCuwqDhpMgLH WjDKFB3mk2U7AfpX3tVh6XlL7uVB+sA28KAKQysCvFu0F/A0x6tPl5KMpj/SfUK4f82D oSxM9PW73rsGe+Ua+F8AzFg7MO4SBrB86v5B88oO95fzI4U8/8ti4ceoPpGXsWwNWu89 /9/g== X-Received: by 10.50.103.35 with SMTP id ft3mr34388310igb.57.1445497944560; Thu, 22 Oct 2015 00:12:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.136.212 with HTTP; Thu, 22 Oct 2015 00:12:05 -0700 (PDT) From: Daniel McClanahan Date: Thu, 22 Oct 2015 02:12:05 -0500 Message-ID: Subject: 25.0.50; intermittent failure using windmove when in doc-view buffer To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) I've been experiencing this issue at least for months, I don't think I remember a time when it wasn't happening (I've only used emacs for a year or so). Occasionally, when viewing a file in doc-view-mode, I've noticed that using windmove (which I use for all my window movements) left, right, up, or down occasionally fails, throwing the error "Wrong type argument: wholenump, -", for some number num. I've attached gdb and found that this is because "cursor.y" of the window being chosen is negative, which I found after attaching a breakpoint to "posn-at-point," which was throwing the error, and following it down a few calls to "pos_visible_p", and checking the value of "w" in there. I don't know what "w->cursor.y" represents (I know it's cursor position, but I don't know how that maps to the cursor's lisp representation), and although I've delved into xdisp.c to see why that would be negative (but only sometimes) in doc-view buffers, I haven't been able to see where the cursor position is updated, and I've spent a few hours checking it out but am finding it difficult to follow a lot of the xdisp.c code. Is this something that has been seen before? I encounter it relatively often when working with a text buffer open in one window and a pdf open in doc-view-mode in an adjacent window. Steps to reproduce: kind of hard, since it's very intermittent. Basically, just switch window focus between a pdf and another buffer a few times over a period of editing time, and it should show up (typically within 30 minutes for me). I've also noticed that when this "wholenump" error occurs, the line number in the mode line is set to (1- the number of lines in the document), when the line number in the mode line for doc-view-mode is usually set to 1. I don't recall when this is changed. Also, after this situation occurs (the wholenump error appears), I cannot zoom in or out or change pages. Sorry for the poor report, I wish I had more information but wanted to know if this was a known problem already. ------------=_1477778642-20627-3-- From unknown Sun Jun 22 17:12:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Llu=C3=ADs?= Vilanova Subject: bug#23809: closed (Re: bug#24804: 25.1; posn-at-point erroneously signals an error) Message-ID: References: <831syyrexm.fsf@gnu.org> <87k2hjn7pg.fsf@fimbulvetr.bsc.es> X-Gnu-PR-Message: they-closed 23809 X-Gnu-PR-Package: emacs Reply-To: 23809@debbugs.gnu.org Date: Sat, 29 Oct 2016 22:04:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1477778643-20627-5" This is a multi-part message in MIME format... ------------=_1477778643-20627-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24804: 24.5; Positive argument to 'posn-at-point' throws erros as being ne= gative which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23809@debbugs.gnu.org. --=20 24804: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24804 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1477778643-20627-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24804-done) by debbugs.gnu.org; 29 Oct 2016 22:03:19 +0000 Received: from localhost ([127.0.0.1]:36855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0bih-0005Lg-Ab for submit@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0big-0005LS-EU for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0biW-0005Ad-Hk for 24804-done@debbugs.gnu.org; Sat, 29 Oct 2016 18:03:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0biW-0005AZ-EQ; Sat, 29 Oct 2016 18:03:08 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c0biV-0007NX-QQ; Sat, 29 Oct 2016 18:03:08 -0400 Date: Sun, 30 Oct 2016 01:03:17 +0300 Message-Id: <831syyrexm.fsf@gnu.org> From: Eli Zaretskii To: Andreas Politz In-reply-to: <87oa22yjyb.fsf@hochschule-trier.de> (message from Andreas Politz on Sat, 29 Oct 2016 22:33:00 +0200) Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> <87r36zz0wo.fsf@hochschule-trier.de> <83funfql21.fsf@gnu.org> <83eg2zqksn.fsf@gnu.org> <87oa22yjyb.fsf@hochschule-trier.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 24804-done Cc: 24804-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Andreas Politz > Cc: 24804@debbugs.gnu.org > Date: Sat, 29 Oct 2016 22:33:00 +0200 > > Eli Zaretskii writes: > > > Done. Let me know if something else should be done before closing > > this bug. > > Nothing. I'm not clear about the general semantics of this function, > but we don't need to discuss this right now. OK, I'm therefore closing the bug (and the two merged with it). People who think there are still leftovers are welcome to reopen with details. As for your questions about the semantics, I suggest to start a discussion on emacs-devel. Thanks. ------------=_1477778643-20627-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jun 2016 16:31:17 +0000 Received: from localhost ([127.0.0.1]:47949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF26W-0005Pd-Gv for submit@debbugs.gnu.org; Mon, 20 Jun 2016 12:31:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF26S-0005PP-NS for submit@debbugs.gnu.org; Mon, 20 Jun 2016 12:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF26K-0005LW-BJ for submit@debbugs.gnu.org; Mon, 20 Jun 2016 12:31:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF26K-0005LG-8r for submit@debbugs.gnu.org; Mon, 20 Jun 2016 12:31:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF26G-0007Oo-73 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 12:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF26B-0005KF-OK for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 12:30:59 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:40505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF26B-0005JH-2L for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 12:30:55 -0400 Received: from gw-2.ac.upc.es (gw-2.ac.upc.es [147.83.30.8]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id u5KGUpfA007034 for ; Mon, 20 Jun 2016 18:30:51 +0200 Received: from localhost (unknown [84.88.51.85]) by gw-2.ac.upc.es (Postfix) with ESMTPSA id 5687A326 for ; Mon, 20 Jun 2016 18:30:51 +0200 (CEST) From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= To: bug-gnu-emacs@gnu.org Subject: 24.5; Positive argument to 'posn-at-point' throws erros as being negative Date: Mon, 20 Jun 2016 18:30:51 +0200 Message-ID: <87k2hjn7pg.fsf@fimbulvetr.bsc.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) To reproduce: * Open a PDF on a separate window on the same frame using pdf-tools. * Select that window. * Scroll a bit down the first page of the PDF. * Use windmove to move from the pdf-view-mode buffer to the first one. With these steps, I get this backtrace: Debugger entered--Lisp error: (wrong-type-argument wholenump -14) posn-at-point(619194 #) (nth 2 (posn-at-point (window-point window) window)) (let ((posn-cons (nth 2 (posn-at-point (window-point window) window))))= (if hor (+ (or (cdr posn-cons) 1) (window-pixel-top window)) (+ (or (car p= osn-cons) 1) (window-pixel-left window)))) (cond ((and (numberp sign) (< sign 0)) (if hor (1- (+ (window-pixel-top= window) (window-pixel-height window))) (1- (+ (window-pixel-left window) (= window-pixel-width window))))) ((and (numberp sign) (> sign 0)) (if hor (wi= ndow-pixel-top window) (window-pixel-left window))) ((let ((posn-cons (nth = 2 (posn-at-point (window-point window) window)))) (if hor (+ (or (cdr posn-= cons) 1) (window-pixel-top window)) (+ (or (car posn-cons) 1) (window-pixel= -left window)))))) (let* ((frame (window-frame window)) (hor (memq direction (quote (left = right)))) (first (if hor (window-pixel-left window) (window-pixel-top windo= w))) (last (+ first (window-size window hor t))) (posn (cond ((and (numberp= sign) (< sign 0)) (if hor (1- (+ ... ...)) (1- (+ ... ...)))) ((and (numbe= rp sign) (> sign 0)) (if hor (window-pixel-top window) (window-pixel-left w= indow))) ((let ((posn-cons ...)) (if hor (+ ... ...) (+ ... ...)))))) (best= -edge (cond ((eq direction (quote below)) (frame-pixel-height frame)) ((eq = direction (quote right)) (frame-pixel-width frame)) (t -1))) (best-edge-2 b= est-edge) (best-diff-2 (if hor (frame-pixel-height frame) (frame-pixel-widt= h frame))) best best-2 best-diff-2-new) (walk-window-tree (function (lambda= (w) (let* ((w-top (window-pixel-top w)) (w-left (window-pixel-left w))) (c= ond ((or ... ...)) (hor (cond ... ...)) ((and ... ...) (if ... ...)) ((and = ... ... ...) (setq best-edge-2 w-top) (setq best-diff-2 best-diff-2-new) (s= etq best-2 w)))))) frame nil (and mini t)) (or best best-2)) window-in-direction(left nil nil nil nil t) windmove-find-other-window(left nil nil) windmove-do-window-select(left nil) windmove-left(nil) #(windmove-left nil nil) ad-Advice-call-interactively(# windmove-left nil nil) apply(ad-Advice-call-interactively # (windmove-left nil nil)) call-interactively(windmove-left nil nil) command-execute(windmove-left) Note how the argument to posn-at-point (returned by window-point) is actual= ly positive (619194), but the error raised by Emacs complains about the number being negative (-14). Thanks, Lluis Auto-gathered information: In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-08 on binet, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11803000 System Description: Debian GNU/Linux testing (stretch) Configured using: `configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/va= r/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/= info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-li= sp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/= info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-li= sp:/usr/share/emacs/site-lisp --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS= =3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Important settings: value of $LANG: ca_ES.UTF-8 locale-coding-system: utf-8 Major mode: Debugger Minor modes in effect: pdf-occur-global-minor-mode: t TeX-PDF-mode: 1 diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t recentf-mode: t ogc:--org-gnome-calendar-mode: t global-org-gnome-calendar-mode: t change-cursor-mode: t which-key-mode: t global-flycheck-mode: t global-semantic-idle-breadcrumbs-mode: t global-ede-mode: t shell-dirtrack-mode: t savehist-mode: t desktop-save-mode: t icomplete-mode: t flx-ido-mode: t ido-ubiquitous-mode: t global-undo-tree-mode: t undo-tree-mode: t global-hungry-delete-mode: t hungry-delete-mode: t global-auto-revert-mode: t global-anzu-mode: t anzu-mode: t show-smartparens-global-mode: t smartparens-global-mode: t cua-mode: t delete-selection-mode: t winner-mode: t ido-everywhere: t display-time-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Guessed variable 'css-indent-offset' (2) Ispell process killed Starting new Ispell process aspell with default dictionary... Winner undo (1 / 7) 1238378 (#o4562552, #x12e56a) Type "q" in help window to restore its previous buffer. Mark set [2 times] Quit (# 1 (0 . 0) 0 nil 1 (0 . 0) nil (0 . 0) (8 . 14= )) nil [3 times] Load-path shadows: /home/lluis/.cache/emacs/elpa/dash-20160510.1127/dash hides /home/lluis/.ca= che/emacs/el-get/dash/dash /home/lluis/.cache/emacs/elpa/s-20160508.2357/s hides /home/lluis/.cache/em= acs/el-get/s/s /home/lluis/.cache/emacs/elpa/avy-20160512.2252/avy hides /home/lluis/.cach= e/emacs/el-get/avy/avy /home/lluis/.cache/emacs/el-get/hydra/lv hides /home/lluis/.cache/emacs/el-= get/lv/lv /home/lluis/.cache/emacs/elpa/diminish-20151215.915/diminish hides /usr/sha= re/emacs24/site-lisp/emacs-goodies-el/diminish /home/lluis/.cache/emacs/elpa/dedicated-20090428.1231/dedicated hides /usr/= share/emacs24/site-lisp/emacs-goodies-el/dedicated /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup /home/lluis/.config/emacs/loaddefs hides /usr/share/emacs/24.5/lisp/loaddefs /home/lluis/.config/emacs/custom hides /usr/share/emacs/24.5/lisp/custom /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emac= s/24.5/lisp/language/thai-word Features: (shadow emacsbug pdf-sync pdf-annot pdf-outline pdf-links pdf-history pdf-o= ccur tablist tablist-filter semantic/wisent/comp pdf-isearch pdf-misc pdf-tools pdf-view bookmark pdf-cache pdf-info tq pdf-util doc-view image-mode texmat= hp preview prv-emacs tex-buf font-latex latex tex-style tex smartparens-latex tex-mode latexenc tabify imenu man debug asm-mode eww mm-url log-view cua-r= ect pylint semantic/wisent/python semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent smartparens-python python gnus-dup vc-bzr vc-sccs vc= -svn vc-cvs vc-rcs god-mode xterm supercite regi tramp-cache sh-script smie executable dedicated wgrep find-dired grep ede/project-am ede/autoconf-edit autoconf autoconf-mode ede/makefile-edit make-mode flow-fill dired-filter f= s ucs-normalize dired-hacks-utils dired-aux ede/dired dired-x gnutls url-queue two-column iso-transl ibuf-ext semantic/db-file data-debug cedet-files ede/locate semantic/tag-file semantic/edit narrow-or-widen-dwim fancy-narrow iedit help-macro iedit-lib multiple-cursors-core rect aggressive-indent elisp-slime-nav etags tar-mode url-handlers misearch multi-isearch highlight-symbol auto-dictionary em-smart em-unix em-term em-script em-prom= pt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups es= hell esh-module esh-mode esh-util ffap copyright magit-stgit linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh vc vc-dispatcher semantic/bovine/c semantic/decorate/include hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze semantic/scope semantic/analyze/fcn macrostep-c cmacexp macrostep fic-ext-mode cpp disaster doc-mode xcscope outshine outshine-org-= cmds outorg highlight-parentheses guess-style filladapt cc-langs recentf tree-wi= dget windmove shr-color bbdb-hooks sort url-http url-gw url-auth gnus-cite smiley gnus-gravatar gravatar url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars s= hr browse-url mm-archive gnus-bcklg qp gnus-async gnus-ml ede/linux ede/make ede/cpp-root ede/emacs vc-git gnus-topic gnus-mlspl nndraft nnmh utf-7 network-stream starttls nnimap parse-time tls utf7 netrc nnfolder bbdb-gnus bbdb-snarf mail-extr bbdb-com warnings nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-cache gnus-demon nntp nnir gnus-notifica= tions gnus-fun gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum nnoo gnus-group gnus-undo nnmail mail-source notifications gnus-start gnus-= spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win org-gnome-calendar dbus hl-line+ hl-line ace-link avy x= ml cursor-chg smart-mode-line-powerline-theme powerline powerline-separators c= olor powerline-themes smart-mode-line rich-minority which-key server flycheck de= rived json rx subr-x seq seq-24 pcase jka-compr compile let-alist info tex-site my-personal my-bindings hydra lv my-mail bbdb timezone my-org ob-screen ob-R ob-python ob-perl ob-octave ob-latex ob-gnuplot ob-dot ob-ditaa ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-= defs my-programming ede/generic ede/shell eieio-opt semantic/sb semantic/sort inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/mru-bookmark semantic/db-mode semantic/db semantic/idle semantic/format semantic/ctxt semantic/decorate/mode semantic/tag-ls semantic/find semantic/decorate pulse semantic/util-modes semantic/util semantic semantic/tag semantic/lex semant= ic/fw mode-local my-writing my-writing-latex flyspell ispell my-ide ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-base eieio-speedbar speedb= ar sb-image ezimage dframe eieio-custom cedet my-behaviour ediff-merg ediff-wi= nd ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff fuzzy cssh tra= mp tramp-compat auth-source eieio eieio-core password-cache tramp-loaddefs tra= mpver shell term disp-table ehelp ibuffer savehist desktop frameset time-stamp browse-kill-ring icomplete flx-ido flx ido-ubiquitous ido-completing-read+ cus-edit cus-start cus-load key-chord gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit org org-macro org-footnote org-pcomp= lete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs undo-tree diff hungry-delete autorevert filenotify whitespace anzu mule-util saveplace smartparens-config smartparens thingatpt dash cua-base delsel winner ring s= mex ido byte-opt my-appearance time time-date my-theme my-cmdline my-misc edmac= ro kmacro cl-macs my-package use-package diminish bind-key finder-inf .loaddefs advice el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacs= wiki el-get-http el-get-notify help-mode easymenu el-get-emacsmirror el-get-gith= ub el-get-git el-get-elpa package epg-config el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload help-fns lisp-mnt bytecomp byte-compile cl-extra cconv cl gv cl-loaddefs cl-lib dired debian-el debian-el-loaddefs emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs bbdb-autoloads tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode regis= ter page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietname= se tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook= help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp fi= les text-properties overlay sha1 md5 base64 format env code-pages mule custom w= idget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 2406107 245774) (symbols 48 81875 64) (miscs 40 30275 9176) (strings 32 289550 44816) (string-bytes 1 17523205) (vectors 16 229225) (vector-slots 8 6260146 165024) (floats 8 41178 7977) (intervals 56 93999 1175) (buffers 960 489) (heap 1024 198499 22150)) ------------=_1477778643-20627-5--