From unknown Fri Jun 20 07:10:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Mar 2015 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20168@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142704808124064 (code B ref -1); Sun, 22 Mar 2015 18:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Mar 2015 18:14:41 +0000 Received: from localhost ([127.0.0.1]:60903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkOW-0006G4-Ny for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48817) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkOU-0006Fn-J7 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZkOO-0001Ii-Gm for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:33 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkOO-0001Ie-E1 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkON-0004FE-K3 for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZkOK-0001I5-D0 for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:31 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:41478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkOK-0001I1-5y for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:28 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2MIER1e022624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Mar 2015 18:14:27 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIERF1022156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 22 Mar 2015 18:14:27 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIER5h008232 for ; Sun, 22 Mar 2015 18:14:27 GMT MIME-Version: 1.0 Message-ID: <11c136fa-59e2-47ed-8dac-4ce32aa91845@default> Date: Sun, 22 Mar 2015 11:14:28 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -4.0 (----) 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: -4.0 (----) The doc string is OK. The manual is misleading/incorrect, in this regard: it speaks about a case where "the POSITION is a buffer position". This is wrong, as a buffer position in Emacs means a natural number 1,2... (or a marker). Maybe what should be said in this case is that "POSITION represents a buffer position". Its value cannot be simply a buffer position, which is a number or a marker. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1' From unknown Fri Jun 20 07:10:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Mar 2015 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 20168@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20168-submit@debbugs.gnu.org id=B20168.142704840924764 (code B ref 20168); Sun, 22 Mar 2015 18:21:01 +0000 Received: (at 20168) by debbugs.gnu.org; 22 Mar 2015 18:20:09 +0000 Received: from localhost ([127.0.0.1]:60912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkTp-0006RM-2z for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:20:09 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:60006) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkTl-0006Qh-PA for 20168@debbugs.gnu.org; Sun, 22 Mar 2015 14:20:06 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NLM00I00LIER200@mtaout26.012.net.il> for 20168@debbugs.gnu.org; Sun, 22 Mar 2015 20:20:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLM00EVZLMT6940@mtaout26.012.net.il>; Sun, 22 Mar 2015 20:20:53 +0200 (IST) Date: Sun, 22 Mar 2015 20:19:43 +0200 From: Eli Zaretskii In-reply-to: <11c136fa-59e2-47ed-8dac-4ce32aa91845@default> X-012-Sender: halo1@inter.net.il Message-id: <83d240sxmo.fsf@gnu.org> References: <11c136fa-59e2-47ed-8dac-4ce32aa91845@default> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > Date: Sun, 22 Mar 2015 11:14:28 -0700 (PDT) > From: Drew Adams > > The doc string is OK. The manual is misleading/incorrect, in this > regard: it speaks about a case where "the POSITION is a buffer > position". This is wrong, as a buffer position in Emacs means a natural > number 1,2... (or a marker). Why is it wrong? > Maybe what should be said in this case is > that "POSITION represents a buffer position". Its value cannot be > simply a buffer position, which is a number or a marker. Why not? And what's the difference between the current text and your suggestion? Or maybe you could provide an example where the docs are wrong. From unknown Fri Jun 20 07:10:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Mar 2015 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 20168@debbugs.gnu.org Received: via spool by 20168-submit@debbugs.gnu.org id=B20168.142705005727457 (code B ref 20168); Sun, 22 Mar 2015 18:48:01 +0000 Received: (at 20168) by debbugs.gnu.org; 22 Mar 2015 18:47:37 +0000 Received: from localhost ([127.0.0.1]:60944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkuP-00078n-Ei for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:47:37 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:32391) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkuN-00078a-31 for 20168@debbugs.gnu.org; Sun, 22 Mar 2015 14:47:35 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2MIlRdo010849 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Mar 2015 18:47:28 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIlRRQ000416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 22 Mar 2015 18:47:27 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIlQeT022382; Sun, 22 Mar 2015 18:47:26 GMT MIME-Version: 1.0 Message-ID: <3d0b2930-70ed-4201-a451-1813a255658b@default> Date: Sun, 22 Mar 2015 11:47:28 -0700 (PDT) From: Drew Adams References: <<11c136fa-59e2-47ed-8dac-4ce32aa91845@default>> <<83d240sxmo.fsf@gnu.org>> In-Reply-To: <<83d240sxmo.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) 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: -2.3 (--) > > The doc string is OK. The manual is misleading/incorrect, in this > > regard: it speaks about a case where "the POSITION is a buffer > > position". This is wrong, as a buffer position in Emacs means a natura= l > > number 1,2... (or a marker). >=20 > Why is it wrong? It is wrong to say that the value is a buffer position, because a buffer position is a number, not a position object (which is a cons). > > Maybe what should be said in this case is > > that "POSITION represents a buffer position". Its value cannot be > > simply a buffer position, which is a number or a marker. >=20 > Why not? And what's the difference between the current text and your > suggestion? The difference is the difference between "is" and "represents". The value *is* not a buffer position (which is a number). It *is* a position object (which is a cons). It represents a buffer position in this case. It's a minor point, but it was enough to confuse me into trying to pass an actual buffer position. Nothing in the current description says that POSITION must be a position object (i.e., something for which `posnp' returns non-nil). From unknown Fri Jun 20 07:10:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Drew Adams Subject: bug#20168: closed (Re: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y') Message-ID: References: <83pp7zr7if.fsf@gnu.org> <11c136fa-59e2-47ed-8dac-4ce32aa91845@default> X-Gnu-PR-Message: they-closed 20168 X-Gnu-PR-Package: emacs Reply-To: 20168@debbugs.gnu.org Date: Mon, 23 Mar 2015 16:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1427128922-15647-1" This is a multi-part message in MIME format... ------------=_1427128922-15647-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' 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 20168@debbugs.gnu.org. --=20 20168: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20168 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1427128922-15647-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20168-done) by debbugs.gnu.org; 23 Mar 2015 16:41:50 +0000 Received: from localhost ([127.0.0.1]:34047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya5QE-000440-6r for submit@debbugs.gnu.org; Mon, 23 Mar 2015 12:41:50 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:62929) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya5QB-00043n-Sj for 20168-done@debbugs.gnu.org; Mon, 23 Mar 2015 12:41:48 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NLO00J00BHX8A00@a-mtaout23.012.net.il> for 20168-done@debbugs.gnu.org; Mon, 23 Mar 2015 18:41:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLO00J4MBPH4C70@a-mtaout23.012.net.il>; Mon, 23 Mar 2015 18:41:42 +0200 (IST) Date: Mon, 23 Mar 2015 18:41:28 +0200 From: Eli Zaretskii Subject: Re: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' In-reply-to: <3d0b2930-70ed-4201-a451-1813a255658b@default> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83pp7zr7if.fsf@gnu.org> References: <3d0b2930-70ed-4201-a451-1813a255658b@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20168-done Cc: 20168-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 22 Mar 2015 11:47:28 -0700 (PDT) > From: Drew Adams > Cc: 20168@debbugs.gnu.org > > > > The doc string is OK. The manual is misleading/incorrect, in this > > > regard: it speaks about a case where "the POSITION is a buffer > > > position". This is wrong, as a buffer position in Emacs means a natural > > > number 1,2... (or a marker). > > > > Why is it wrong? > > It is wrong to say that the value is a buffer position, because a > buffer position is a number, not a position object (which is a cons). > > > > Maybe what should be said in this case is > > > that "POSITION represents a buffer position". Its value cannot be > > > simply a buffer position, which is a number or a marker. > > > > Why not? And what's the difference between the current text and your > > suggestion? > > The difference is the difference between "is" and "represents". > The value *is* not a buffer position (which is a number). It *is* > a position object (which is a cons). It represents a buffer position > in this case. > > It's a minor point, but it was enough to confuse me into trying > to pass an actual buffer position. Nothing in the current > description says that POSITION must be a position object (i.e., > something for which `posnp' returns non-nil). OK, fixed. Thanks. ------------=_1427128922-15647-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Mar 2015 18:14:41 +0000 Received: from localhost ([127.0.0.1]:60903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkOW-0006G4-Ny for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48817) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZkOU-0006Fn-J7 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZkOO-0001Ii-Gm for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:33 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkOO-0001Ie-E1 for submit@debbugs.gnu.org; Sun, 22 Mar 2015 14:14:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkON-0004FE-K3 for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZkOK-0001I5-D0 for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:31 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:41478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZkOK-0001I1-5y for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 14:14:28 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2MIER1e022624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Mar 2015 18:14:27 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIERF1022156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 22 Mar 2015 18:14:27 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t2MIER5h008232 for ; Sun, 22 Mar 2015 18:14:27 GMT MIME-Version: 1.0 Message-ID: <11c136fa-59e2-47ed-8dac-4ce32aa91845@default> Date: Sun, 22 Mar 2015 11:14:28 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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: -4.0 (----) 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: -4.0 (----) The doc string is OK. The manual is misleading/incorrect, in this regard: it speaks about a case where "the POSITION is a buffer position". This is wrong, as a buffer position in Emacs means a natural number 1,2... (or a marker). Maybe what should be said in this case is that "POSITION represents a buffer position". Its value cannot be simply a buffer position, which is a number or a marker. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1' ------------=_1427128922-15647-1--