From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20168: 25.0.50; (elisp) `Accessing Mouse', for `posn-object-x-y' Date: Mon, 23 Mar 2015 18:41:28 +0200 Message-ID: <83pp7zr7if.fsf@gnu.org> References: <3d0b2930-70ed-4201-a451-1813a255658b@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427128948 7643 80.91.229.3 (23 Mar 2015 16:42:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 16:42:28 +0000 (UTC) Cc: 20168-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 17:42:15 2015 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 1Ya5Qc-0000nk-97 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 17:42:14 +0100 Original-Received: from localhost ([::1]:57057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5Qb-0000T2-NU for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 12:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5QV-0000Jm-0L for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:42:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya5QQ-0006lH-Hx for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:42:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya5QQ-0006l3-Fi for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ya5QQ-00044U-BX for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 12:42:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Mar 2015 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20168@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 20168-done@debbugs.gnu.org id=D20168.142712891015628 (code D ref 20168); Mon, 23 Mar 2015 16:42:01 +0000 Original-Received: (at 20168-done) by debbugs.gnu.org; 23 Mar 2015 16:41:50 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: <3d0b2930-70ed-4201-a451-1813a255658b@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100845 Archived-At: > 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.