From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 15:44:02 2016 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 15:50:02 2016 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 To: 24804@debbugs.gnu.org Subject: Re: bug#24804: Acknowledgement (25.1; posn-at-point erroneously signals an error) 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-Debbugs-Envelope-To: 24804 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 debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 13:36:07 2016 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 To: Andreas Politz , 24804@debbugs.gnu.org Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error 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-Debbugs-Envelope-To: 24804 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 debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 14:26:43 2016 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 To: martin rudalics Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error 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-Debbugs-Envelope-To: 24804 Cc: 24804@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: , 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 debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 04:12:25 2016 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 To: martin rudalics In-reply-to: <58123AFB.201@gmx.at> (message from martin rudalics on Thu, 27 Oct 2016 19:35:55 +0200) Subject: Re: bug#24804: 25.1; posn-at-point erroneously signals an error 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-Debbugs-Envelope-To: 24804 Cc: 24804@debbugs.gnu.org, politza@hochschule-trier.de 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 (------) > 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 06:24:02 2016 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 To: politza@hochschule-trier.de In-reply-to: <83h97wsxi4.fsf@gnu.org> (message from Eli Zaretskii on Fri, 28 Oct 2016 11:12:19 +0300) 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> 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 Cc: rudalics@gmx.at, 24804@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 (------) > 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 10:27:07 2016 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 To: Eli Zaretskii 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> 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-Debbugs-Envelope-To: 24804 Cc: rudalics@gmx.at, 24804@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: , 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 10:36:25 2016 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 To: Andreas Politz In-reply-to: <87r36zz0wo.fsf@hochschule-trier.de> (message from Andreas Politz on Sat, 29 Oct 2016 16:26:47 +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> 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 Cc: rudalics@gmx.at, 24804@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: 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 10:42:03 2016 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 To: politza@hochschule-trier.de In-reply-to: <83funfql21.fsf@gnu.org> (message from Eli Zaretskii on Sat, 29 Oct 2016 17:36:22 +0300) 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> 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 Cc: 24804@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 (------) > 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 16:33:21 2016 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 To: Eli Zaretskii 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> 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-Debbugs-Envelope-To: 24804 Cc: 24804@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: , 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 debbugs-submit-bounces@debbugs.gnu.org Sat Oct 29 18:03:19 2016 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. From unknown Sun Jun 22 17:11:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Nov 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator