From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#23809: 24.5; Positive argument to 'posn-at-point' throws erros as being negative Date: Tue, 21 Jun 2016 15:07:57 +0200 Message-ID: <57693C2D.60000@gmx.at> References: <87k2hjn7pg.fsf@fimbulvetr.bsc.es> <83shw77h79.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090606030701010002080503" X-Trace: ger.gmane.org 1466516095 4637 80.91.229.3 (21 Jun 2016 13:34:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 13:34:55 +0000 (UTC) Cc: 23809@debbugs.gnu.org To: Eli Zaretskii , =?UTF-8?Q?Llu=C3=ADs?= Vilanova Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 15:34:43 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bFLpA-00043H-2f for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 15:34:40 +0200 Original-Received: from localhost ([::1]:51802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLp9-0000iI-Ao for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 09:34:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLQT-0005TI-6z for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:09:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFLQM-0000Yd-HJ for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:09:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLQM-0000YZ-Dj for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFLQM-00032S-AT for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2016 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23809-submit@debbugs.gnu.org id=B23809.146651449811630 (code B ref 23809); Tue, 21 Jun 2016 13:09:02 +0000 Original-Received: (at 23809) by debbugs.gnu.org; 21 Jun 2016 13:08:18 +0000 Original-Received: from localhost ([127.0.0.1]:48767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFLPe-00031W-0k for submit@debbugs.gnu.org; Tue, 21 Jun 2016 09:08:18 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:53887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFLPc-00031G-AE for 23809@debbugs.gnu.org; Tue, 21 Jun 2016 09:08:16 -0400 Original-Received: from [192.168.1.100] ([212.95.7.94]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LyEJp-1bTWKZ0H6z-015XzZ; Tue, 21 Jun 2016 15:08:06 +0200 In-Reply-To: <83shw77h79.fsf@gnu.org> X-Provags-ID: V03:K0:rIFDKzjhooEFVY5j9VbId0TizN5dweEQZNsBi/Xn8SAc6SyMjbp 5t9tvbXkaInGUHlLSWUEHWTbqY3ZhP7Gg4WpDpmHCi+sUafhZB1FUBsNvRLOcI0nlaL+FAc m+hYfwiGNZVYc0bq+5/EI+qAbid4Zt6BmLPzy/rICCPn1Nb2eT7e+f8dQwCKPARgBNdT2AT ehwN0poV8qMUJf32uCDrg== X-UI-Out-Filterresults: notjunk:1;V01:K0:3dnJCUc6e1I=:YExAqrMA6ihhqCDop0kXoa Hf504ienRh+vmczbeAATHWvMt7NOPryUhNNYGGOE+G+jwfZHwTlDe54YgzdTgWwgzti6F8Yeq Uh4xaA17AHWBKbI4W7ESc1wwN2THOl5JLOZqMgNsXC0m8kXhkJ/GpW9cfWAHlJaeIyDlhGW43 THlq1Z75+fuB/KQdSFQZfVoKsFGMkA1sfbflb6zMEUpU3n8wjSV+6xWdpE6ana4J+a1qBIDWk F/VuMltrh5vrGF28wmEw1OPcZietMh0tvEAHPMUygfoi4gbT77pfvcEtBbO8EnYJ6eS4gz3Ex e25G+955xwnzOE848Hikikzqa3sI6KiKouygn4I+0/r13s/bOtiG2LuOe67K77AeU2+MfNNNn bK+V6ZwMAm6ayADS6ZrHvAIUGwGm+VdFVN90SMZTJqryb7ION/S3SYP2Eki66eLtSmfYFRiL/ XEAvTVczoFaMN35mO+ogNxXKgVSZayk8HL2AhKA53kWhDQilHg82ctOVNJ2vDnFTkj8oXCpSC uoeuiHor97Nb0B21k7PDnFL+uI+9nv1RdzHEvEYawb0A3lTQKqworbgHX6eWFOkSUOGO5mXxX lObj1OL/YjWiEwpvUMb87HN4KVZb/y8ks7lSoj3pLa1EUGIdA/zoMHrH7gwFUZ5IcivB/oKtr 8+unbOmyD3iiGnZbAtjzbn/7dxlHdm2GRn9ibyPv229BE7TYS1VHFT+4LOlJAsvaxHfv0tmE4 l1lODdi3c39FRlTBfed7XFp+exDNdgOl59OGlXOh3kJh6JknNE0ABCsTtfIZ8oHoezAgA0z3 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:119875 Archived-At: This is a multi-part message in MIME format. --------------090606030701010002080503 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Sounds like a duplicate of bug #21732. > >> With these steps, I get this backtrace: >> >> Debugger entered--Lisp error: (wrong-type-argument wholenump -14) >> posn-at-point(619194 #) Without further forensics we could "fix" both bugs using the attached patch. WDYT? martin --------------090606030701010002080503 Content-Type: text/plain; charset=windows-1252; name="window.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="window.diff" ZGlmZiAtLWdpdCBhL2xpc3Avd2luZG93LmVsIGIvbGlzcC93aW5kb3cuZWwKaW5kZXggZjdh NTQ3Yi4uYTA2ZjMzNCAxMDA2NDQKLS0tIGEvbGlzcC93aW5kb3cuZWwKKysrIGIvbGlzcC93 aW5kb3cuZWwKQEAgLTIwNjgsNyArMjA2OCw5IEBAIHdpbmRvdy1pbi1kaXJlY3Rpb24KIAkg ICAgKGlmIGhvcgogCQkod2luZG93LXBpeGVsLXRvcCB3aW5kb3cpCiAJICAgICAgKHdpbmRv dy1waXhlbC1sZWZ0IHdpbmRvdykpKQotCSAgICgobGV0ICgocG9zbi1jb25zIChudGggMiAo cG9zbi1hdC1wb2ludCAod2luZG93LXBvaW50IHdpbmRvdykgd2luZG93KSkpKQorCSAgICgo bGV0ICgocG9zbi1jb25zIChjb25kaXRpb24tY2FzZSBuaWwKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChudGggMiAocG9zbi1hdC1wb2ludCAod2luZG93LXBvaW50IHdp bmRvdykgd2luZG93KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZXJyb3Ig bmlsKSkpKQogCSAgICAgIChpZiBob3IKIAkJICAoKyAob3IgKGNkciBwb3NuLWNvbnMpIDEp ICh3aW5kb3ctcGl4ZWwtdG9wIHdpbmRvdykpCiAJCSgrIChvciAoY2FyIHBvc24tY29ucykg MSkgKHdpbmRvdy1waXhlbC1sZWZ0IHdpbmRvdykpKSkpKSkKCg== --------------090606030701010002080503--