From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20169: 25.0.50; doc of `posn-actual-col-row' Date: Sun, 22 Mar 2015 12:51:17 -0700 (PDT) Message-ID: <5b520826-b1f7-4725-be30-8566a9599f72@default> References: <<33a115b6-7d7f-4a2b-a0a2-7c4de0522f0a@default>> <<83a8z4sw89.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427053952 8032 80.91.229.3 (22 Mar 2015 19:52:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2015 19:52:32 +0000 (UTC) Cc: 20169@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 22 20:52: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 1YZluu-00066E-Pd for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Mar 2015 20:52:12 +0100 Original-Received: from localhost ([::1]:52175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZlut-0006UF-Rf for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Mar 2015 15:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZlup-0006U0-VY for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 15:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZluk-0004jX-VP for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 15:52:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZluk-0004jS-RW for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 15:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YZluk-0001gQ-HX for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2015 15:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Mar 2015 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20169-submit@debbugs.gnu.org id=B20169.14270538886422 (code B ref 20169); Sun, 22 Mar 2015 19:52:02 +0000 Original-Received: (at 20169) by debbugs.gnu.org; 22 Mar 2015 19:51:28 +0000 Original-Received: from localhost ([127.0.0.1]:60978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZluB-0001fW-GP for submit@debbugs.gnu.org; Sun, 22 Mar 2015 15:51:27 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:41097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZlu9-0001fG-79 for 20169@debbugs.gnu.org; Sun, 22 Mar 2015 15:51:25 -0400 Original-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 t2MJpGBY011547 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Mar 2015 19:51:17 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2MJpGBV013439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 22 Mar 2015 19:51:16 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t2MJpFav004337; Sun, 22 Mar 2015 19:51:15 GMT In-Reply-To: <<83a8z4sw89.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)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:100814 Archived-At: > > Please add the information that is in the doc string to (elisp) > > `Accessing Mouse'. This means both the reference information about wha= t > > happens if POSITION does not contain the actual position and the guide > > information about using `posn-col-row' in that case. >=20 > The first part is already there, isn't it? Do you mean this? The function returns `nil' if POSITION does not include actual position values. I meant that the manual should include the information that is in the last two paragraphs of the doc string: Return nil if POSITION does not contain the actual position; in that case `posn-col-row' can be used to get approximate values. POSITION should be a list of the form returned by the `event-start' and `event-end' functions. This function does not account for the width on display, like the number of visual columns taken by a TAB or image. If you need the coordinates of POSITION in character units, you should use `posn-col-row', not this function. This is a lot more (and more useful) information than just what is in its first line: Return nil if POSITION does not contain the actual position;