From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#24804: 25.1; posn-at-point erroneously signals an error Date: Sat, 29 Oct 2016 16:26:47 +0200 Message-ID: <87r36zz0wo.fsf@hochschule-trier.de> References: <87k2cudhgg.fsf@hochschule-trier.de> <58123AFB.201@gmx.at> <83h97wsxi4.fsf@gnu.org> <83k2crqwqo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477751323 2810 195.159.176.226 (29 Oct 2016 14:28:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2016 14:28:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24804@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 29 16:28:36 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0UcL-0006Lg-D9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2016 16:28:17 +0200 Original-Received: from localhost ([::1]:54828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0UcN-0003V1-TO for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2016 10:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0UcB-0003Uj-67 for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2016 10:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0Uc6-0004Pb-AJ for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2016 10:28:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0Uc6-0004PU-6l for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2016 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c0Uc5-0000tp-VT for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2016 10:28:01 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 24804-submit@debbugs.gnu.org id=B24804.14777512273387 (code B ref 24804); Sat, 29 Oct 2016 14:28:01 +0000 Original-Received: (at 24804) by debbugs.gnu.org; 29 Oct 2016 14:27:07 +0000 Original-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 Original-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)] Original-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= In-Reply-To: <83k2crqwqo.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2016 13:23:59 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125111 Archived-At: 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 ?